babe: fix report_equivocation weight (#6936)
* babe: fix report_equivocation weight * node: bump spec_version * babe: fix floor in report_equivocation weight calculation Co-authored-by:Gavin Wood <gavin@parity.io> * grandpa: fix floor in report_equivocation weight calculation * babe, grandpa: add test for weight_for::report_equivocation Co-authored-by:
Gavin Wood <gavin@parity.io>
parent
314d9486
Showing
- substrate/frame/babe/src/lib.rs 20 additions, 9 deletionssubstrate/frame/babe/src/lib.rs
- substrate/frame/babe/src/tests.rs 23 additions, 0 deletionssubstrate/frame/babe/src/tests.rs
- substrate/frame/grandpa/src/lib.rs 1 addition, 1 deletionsubstrate/frame/grandpa/src/lib.rs
- substrate/frame/grandpa/src/tests.rs 23 additions, 0 deletionssubstrate/frame/grandpa/src/tests.rs
Please register or sign in to comment