The maximum number of unlocking chunks a [StakingLedger] can
have. Effectively determines how many unique eras a staker may be
unbonding in.
Note: MaxUnlockingChunks is used as the upper bound for the
BoundedVec item StakingLedger.unlocking. Setting this value
lower than the existing value can lead to inconsistencies in the
StakingLedger and will need to be handled properly in a runtime
migration. The test reducing_max_unlocking_chunks_abrupt shows
this effect.
The maximum number of
unlockingchunks a [StakingLedger] can have. Effectively determines how many unique eras a staker may be unbonding in.Note:
MaxUnlockingChunksis used as the upper bound for theBoundedVecitemStakingLedger.unlocking. Setting this value lower than the existing value can lead to inconsistencies in theStakingLedgerand will need to be handled properly in a runtime migration. The testreducing_max_unlocking_chunks_abruptshows this effect.