diff --git a/frame/dapps-staking/Cargo.toml b/frame/dapps-staking/Cargo.toml index be6aa15c..eff97d05 100644 --- a/frame/dapps-staking/Cargo.toml +++ b/frame/dapps-staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-dapps-staking" -version = "3.7.0" +version = "3.8.0" authors = ["Stake Technologies "] edition = "2021" homepage = "https://astar.network/" diff --git a/frame/dapps-staking/src/pallet/mod.rs b/frame/dapps-staking/src/pallet/mod.rs index 0d2f4012..3dbae58a 100644 --- a/frame/dapps-staking/src/pallet/mod.rs +++ b/frame/dapps-staking/src/pallet/mod.rs @@ -103,6 +103,7 @@ pub mod pallet { /// Denotes whether pallet is disabled (in maintenance mode) or not #[pallet::storage] + #[pallet::whitelist_storage] #[pallet::getter(fn pallet_disabled)] pub type PalletDisabled = StorageValue<_, bool, ValueQuery>; @@ -114,6 +115,7 @@ pub mod pallet { /// The current era index. #[pallet::storage] + #[pallet::whitelist_storage] #[pallet::getter(fn current_era)] pub type CurrentEra = StorageValue<_, EraIndex, ValueQuery>; @@ -129,11 +131,13 @@ pub mod pallet { /// Mode of era forcing. #[pallet::storage] + #[pallet::whitelist_storage] #[pallet::getter(fn force_era)] pub type ForceEra = StorageValue<_, Forcing, ValueQuery, ForceEraOnEmpty>; /// Stores the block number of when the next era starts #[pallet::storage] + #[pallet::whitelist_storage] #[pallet::getter(fn next_era_starting_block)] pub type NextEraStartingBlock = StorageValue<_, T::BlockNumber, ValueQuery>;