diff --git a/substrate/frame/parameters/src/lib.rs b/substrate/frame/parameters/src/lib.rs index b073773d0712..eb35c3e447ce 100644 --- a/substrate/frame/parameters/src/lib.rs +++ b/substrate/frame/parameters/src/lib.rs @@ -193,7 +193,12 @@ pub mod pallet { } /// Stored parameters. + /// + /// ## Storage Whitelist + /// Since we account for all parameters read weight for each block, + /// don't double count it in other pallet benchmarks #[pallet::storage] + #[pallet::whitelist_storage] pub type Parameters = StorageMap<_, Blake2_128Concat, KeyOf, ValueOf, OptionQuery>;