add generated weight info for pallet-collective (#6789)
* add benchmark for disapprove_proposal * use generated WeightInfo for pallet-collective weights * order collective benchmark params alphabetically to get a consistent ordering * address review comments * remove default impl of WeightInfo for () * remove comments about weight changes * add default weights * Apply suggestions from code review Co-authored-by:Guillaume Thiolliere <gui.thiolliere@gmail.com> * whitelist voter account in benchmark * update weights * MaxMembers configurable * remove base weight comment * add weight to technical collective * another DB whitelist optimization Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
parent
37d0e00d
Showing
- substrate/bin/node/runtime/src/lib.rs 8 additions, 4 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/bin/node/runtime/src/weights/mod.rs 1 addition, 0 deletionssubstrate/bin/node/runtime/src/weights/mod.rs
- substrate/bin/node/runtime/src/weights/pallet_collective.rs 97 additions, 0 deletionssubstrate/bin/node/runtime/src/weights/pallet_collective.rs
- substrate/frame/collective/src/benchmarking.rs 90 additions, 29 deletionssubstrate/frame/collective/src/benchmarking.rs
- substrate/frame/collective/src/default_weight.rs 97 additions, 0 deletionssubstrate/frame/collective/src/default_weight.rs
- substrate/frame/collective/src/lib.rs 107 additions, 242 deletionssubstrate/frame/collective/src/lib.rs
Please register or sign in to comment