Trait frame_support::traits::WhitelistedStorageKeys
source · pub trait WhitelistedStorageKeys {
// Required method
fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>;
}
Expand description
Allows a pallet to specify storage keys to whitelist during benchmarking. This means those keys will be excluded from the benchmarking performance calculation.
Required Methods§
sourcefn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.