Skip to content

Commit

Permalink
staking: Expose MaxUnlockingChunks in metadata as a const (parityte…
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov authored and grishasobol committed Mar 28, 2022
1 parent 41af277 commit f768a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frame/staking/src/pallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f768a16

Please sign in to comment.