diff --git a/frame/staking/src/pallet/mod.rs b/frame/staking/src/pallet/mod.rs index 2be75752f101d..f53e6b50d7a39 100644 --- a/frame/staking/src/pallet/mod.rs +++ b/frame/staking/src/pallet/mod.rs @@ -96,6 +96,7 @@ pub mod pallet { >; /// Maximum number of nominations per nominator. + #[pallet::constant] type MaxNominations: Get; /// Tokens have been minted and are unused for validator-reward.