diff --git a/bridges/snowbridge/parachain/pallets/ethereum-beacon-client/src/mock.rs b/bridges/snowbridge/parachain/pallets/ethereum-beacon-client/src/mock.rs index d7143c878f38..eb82e4fbb6d0 100644 --- a/bridges/snowbridge/parachain/pallets/ethereum-beacon-client/src/mock.rs +++ b/bridges/snowbridge/parachain/pallets/ethereum-beacon-client/src/mock.rs @@ -7,7 +7,7 @@ use primitives::{Fork, ForkVersions}; use sp_core::H256; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -#[cfg(feature = "beacon-spec-minimal")] +#[cfg(all(feature = "beacon-spec-minimal", not(feature = "runtime-benchmarks")))] pub mod minimal { use super::*; @@ -182,7 +182,7 @@ pub mod minimal { } } -#[cfg(not(feature = "beacon-spec-minimal"))] +#[cfg(any(not(feature = "beacon-spec-minimal"), feature = "runtime-benchmarks"))] pub mod mainnet { use super::*;