Skip to content

Commit a54b0de

Browse files
emostovgrishasobol
authored andcommitted
staking: Expose MaxUnlockingChunks in metadata as a const (paritytech#10958)
1 parent 002e9bd commit a54b0de

File tree

1 file changed

+1
-0
lines changed
  • frame/staking/src/pallet

1 file changed

+1
-0
lines changed

frame/staking/src/pallet/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ pub mod pallet {
158158

159159
/// The maximum number of `unlocking` chunks a [`StakingLedger`] can have. Effectively
160160
/// determines how many unique eras a staker may be unbonding in.
161+
#[pallet::constant]
161162
type MaxUnlockingChunks: Get<u32>;
162163

163164
/// Some parameters of the benchmarking.

0 commit comments

Comments
 (0)