Skip to content

Commit

Permalink
Pools: Add MaxUnbonding to metadata (#2397)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat authored Nov 20, 2023
1 parent b585893 commit aa5705b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions substrate/frame/nomination-pools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,10 @@ pub mod pallet {
#[pallet::constant]
type MaxPointsToBalance: Get<u8>;

/// The maximum number of simultaneous unbonding chunks that can exist per member.
#[pallet::constant]
type MaxUnbonding: Get<u32>;

/// Infallible method for converting `Currency::Balance` to `U256`.
type BalanceToU256: Convert<BalanceOf<Self>, U256>;

Expand All @@ -1644,9 +1648,6 @@ pub mod pallet {

/// The maximum length, in bytes, that a pools metadata maybe.
type MaxMetadataLen: Get<u32>;

/// The maximum number of simultaneous unbonding chunks that can exist per member.
type MaxUnbonding: Get<u32>;
}

/// The sum of funds across all pools.
Expand Down

0 comments on commit aa5705b

Please sign in to comment.