Skip to content

Commit

Permalink
add MaxUnbonding to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Nov 19, 2023
1 parent b85c64a commit 08fc102
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 08fc102

Please sign in to comment.