Whitelist 'intrablock_entropy' (#14489)

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-07-02 16:18:10 +02:00
committed by GitHub
parent 4137aa687d
commit 234ceca1cc
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -1060,6 +1060,11 @@ macro_rules! impl_benchmark {
$crate::well_known_keys::EXTRINSIC_INDEX.into()
);
whitelist.push(extrinsic_index);
// Whitelist the `:intrablock_entropy`.
let intrablock_entropy = $crate::TrackedStorageKey::new(
$crate::well_known_keys::INTRABLOCK_ENTROPY.into()
);
whitelist.push(intrablock_entropy);
$crate::benchmarking::set_whitelist(whitelist.clone());