New sub-trait to mock staking miner (#11350)
* new separate config trait for staking miner
* fix some docs and stuff
* relax trait bounds
* some cleanup
* Update frame/election-provider-multi-phase/src/unsigned.rs
* add comment
* self review and fix build
* fix docs
Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
Showing
- substrate/bin/node/runtime/src/lib.rs 24 additions, 5 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/election-provider-multi-phase/src/benchmarking.rs 24 additions, 23 deletions...e/frame/election-provider-multi-phase/src/benchmarking.rs
- substrate/frame/election-provider-multi-phase/src/helpers.rs 31 additions, 17 deletionssubstrate/frame/election-provider-multi-phase/src/helpers.rs
- substrate/frame/election-provider-multi-phase/src/lib.rs 37 additions, 49 deletionssubstrate/frame/election-provider-multi-phase/src/lib.rs
- substrate/frame/election-provider-multi-phase/src/mock.rs 30 additions, 86 deletionssubstrate/frame/election-provider-multi-phase/src/mock.rs
- substrate/frame/election-provider-multi-phase/src/signed.rs 19 additions, 17 deletionssubstrate/frame/election-provider-multi-phase/src/signed.rs
- substrate/frame/election-provider-multi-phase/src/unsigned.rs 313 additions, 267 deletions...trate/frame/election-provider-multi-phase/src/unsigned.rs
Please register or sign in to comment