Benchmark Offences Pallet (#5411)
* Add initial report_ofence bench. * Remove unused imports * Style nit * Add nominators * Remove logs. * Nits. * Add nominators param. * Reorg, comment. * Remove whitespaces. * Apply review suggestion: move benchmark to own crate. * Remove import. * Remove line. * Add feature flag. * Pass can_report. * Cleaning up. * More cleaning
Showing
- substrate/Cargo.lock 210 additions, 194 deletionssubstrate/Cargo.lock
- substrate/bin/node/runtime/Cargo.toml 2 additions, 0 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 6 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/im-online/src/lib.rs 3 additions, 3 deletionssubstrate/frame/im-online/src/lib.rs
- substrate/frame/offences/Cargo.toml 1 addition, 0 deletionssubstrate/frame/offences/Cargo.toml
- substrate/frame/offences/benchmarking/Cargo.toml 43 additions, 0 deletionssubstrate/frame/offences/benchmarking/Cargo.toml
- substrate/frame/offences/benchmarking/src/lib.rs 175 additions, 0 deletionssubstrate/frame/offences/benchmarking/src/lib.rs
- substrate/frame/offences/src/lib.rs 6 additions, 1 deletionsubstrate/frame/offences/src/lib.rs
- substrate/frame/scored-pool/src/lib.rs 2 additions, 2 deletionssubstrate/frame/scored-pool/src/lib.rs
- substrate/frame/staking/src/lib.rs 15 additions, 5 deletionssubstrate/frame/staking/src/lib.rs
Please register or sign in to comment