Don't use fixed nominator count for report_equivocation weight calculation (#14471)
* babe: fix report_equivocation weight calculation * grandpa: fix report_equivocation weight calculation * beefy: fix report_equivocation weight calculation * runtime: add missing MaxNominators constant
Showing
- substrate/bin/node-template/runtime/src/lib.rs 1 addition, 0 deletionssubstrate/bin/node-template/runtime/src/lib.rs
- substrate/bin/node/runtime/src/lib.rs 2 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/babe/src/default_weights.rs 4 additions, 8 deletionssubstrate/frame/babe/src/default_weights.rs
- substrate/frame/babe/src/lib.rs 7 additions, 1 deletionsubstrate/frame/babe/src/lib.rs
- substrate/frame/babe/src/mock.rs 1 addition, 0 deletionssubstrate/frame/babe/src/mock.rs
- substrate/frame/babe/src/tests.rs 2 additions, 2 deletionssubstrate/frame/babe/src/tests.rs
- substrate/frame/beefy-mmr/src/mock.rs 1 addition, 0 deletionssubstrate/frame/beefy-mmr/src/mock.rs
- substrate/frame/beefy/src/default_weights.rs 4 additions, 7 deletionssubstrate/frame/beefy/src/default_weights.rs
- substrate/frame/beefy/src/lib.rs 13 additions, 3 deletionssubstrate/frame/beefy/src/lib.rs
- substrate/frame/beefy/src/mock.rs 1 addition, 0 deletionssubstrate/frame/beefy/src/mock.rs
- substrate/frame/beefy/src/tests.rs 2 additions, 2 deletionssubstrate/frame/beefy/src/tests.rs
- substrate/frame/grandpa/src/default_weights.rs 4 additions, 8 deletionssubstrate/frame/grandpa/src/default_weights.rs
- substrate/frame/grandpa/src/lib.rs 13 additions, 3 deletionssubstrate/frame/grandpa/src/lib.rs
- substrate/frame/grandpa/src/mock.rs 1 addition, 0 deletionssubstrate/frame/grandpa/src/mock.rs
- substrate/frame/grandpa/src/tests.rs 2 additions, 2 deletionssubstrate/frame/grandpa/src/tests.rs
- substrate/test-utils/runtime/src/lib.rs 1 addition, 0 deletionssubstrate/test-utils/runtime/src/lib.rs
Please register or sign in to comment