diff --git a/substrate/frame/staking/src/pallet/mod.rs b/substrate/frame/staking/src/pallet/mod.rs
index 9d3b438daebb45821e3da368c941f807a1c5e233..eb8dab7ce6bb6414596e8e423544166cbb9d48e9 100644
--- a/substrate/frame/staking/src/pallet/mod.rs
+++ b/substrate/frame/staking/src/pallet/mod.rs
@@ -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.