Pools: Add MaxUnbonding to metadata (#2397)

This commit is contained in:
Ross Bulat
2023-11-20 09:19:34 +00:00
committed by GitHub
parent b5858936e1
commit aa5705bff9
+4 -3
View File
@@ -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>;
@@ -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.