staking: Expose MaxUnlockingChunks in metadata as a const (#10958)

This commit is contained in:
Zeke Mostov
2022-03-01 21:49:23 -08:00
committed by GitHub
parent 3f5e0baf4a
commit 5a0b12bb5d
@@ -158,6 +158,7 @@ pub mod pallet {
/// The maximum number of `unlocking` chunks a [`StakingLedger`] can have. Effectively
/// determines how many unique eras a staker may be unbonding in.
#[pallet::constant]
type MaxUnlockingChunks: Get<u32>;
/// Some parameters of the benchmarking.