Ankan
Ankan
Re add the migration pre and post checks that was removed for PR https://github.com/paritytech/substrate/pull/12230. With @ruseinov's fix for sequential execution of migrate functions https://github.com/paritytech/substrate/pull/12319, we do not need to do...
PR https://github.com/paritytech/substrate/pull/12230 introduced HistoryDepth as a config value in staking pallet which bounds several storage item in the pallet. In order to lower this value for a runtime once it...
StakingLedger in the `pallet-staking` is using a hardcoded value of [MaxUnlockingChunks](https://github.com/paritytech/substrate/blob/master/frame/staking/src/lib.rs#L353). Pallet-staking also has a [MaxUnlockingChunks in the configuration](https://github.com/paritytech/substrate/blob/master/frame/staking/src/pallet/mod.rs#L192) which is not used anywhere. I discussed this with @kianenigma, we...
This PR will bound `pallet-staking`with `MaxActiveValidators`. It is part of an ongoing effort towards bounding all `pallet-staking` storage items. https://github.com/paritytech/substrate/issues/12187. - Add `BoundedSupports`. - Introduce `MaxWinners` to `ElectionProvider` that bounds...
Related to https://github.com/paritytech/substrate/issues/12847 ### Changes - `ErasStakersClipped` is phased out. Instead we split `Exposure` into multiple pages of Exposure with each page capped to the same size as `ErasStakersClipped`. -...
This should improve try state running time. We already check that `VoterList::count == Nominators::count + Validators::count` in `fn check_count()` which should give us sufficient safety as well as speed. Should...
When changes in https://github.com/paritytech/substrate/pull/13023 gets released, we will be relying on `StakingLedger.claimed_rewards` for preventing double claims for older eras (before the release). This code can be cleaned up after 84...
We currently clear state for eras older than `HistoryDepth` by using the fn `map.remove_prefix` which is deprecated. Use `map.clear_prefix` that can be paged. This is how we clear old era...
Companion to https://github.com/paritytech/substrate/pull/13498. Sets maximum page count to 1 for Polkadot and Kusama runtimes. This will mean the new behaviour should stay the same as today. ## TODO - [...
* **I'm submitting a ...** - [x] Bug report - [ ] Feature request - [ ] Support request - [ ] Other * **What is the current behavior and...