Staking: store last `min-active-bond` on-chain (#12889)
* Staking: store last min-active-bond on-chain Storing the `min-active-bond` onchain helps the UIs with minimal on-chain costs. Closes https://github.com/paritytech/substrate/issues/12746 * Avoid relying on sorting to set the * Addresses PR comments
Showing
- substrate/frame/staking/src/pallet/impls.rs 13 additions, 1 deletionsubstrate/frame/staking/src/pallet/impls.rs
- substrate/frame/staking/src/pallet/mod.rs 4 additions, 0 deletionssubstrate/frame/staking/src/pallet/mod.rs
- substrate/frame/staking/src/tests.rs 26 additions, 0 deletionssubstrate/frame/staking/src/tests.rs
Please register or sign in to comment