From f1eaeb7f22a7a0463b4b6e9ae644d008780a5782 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Fri, 19 Jan 2024 15:20:45 +0200 Subject: [PATCH] fix fork versions in runtime --- .../runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs index ca2c35aa4a58..f69c7c681d00 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs @@ -590,7 +590,7 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime { type Channels = EthereumSystem; } -#[cfg(feature = "fast-runtime")] +#[cfg(any(feature = "fast-runtime", feature = "runtime-benchmarks"))] parameter_types! { pub const ChainForkVersions: ForkVersions = ForkVersions { genesis: Fork { @@ -616,7 +616,7 @@ parameter_types! { }; } -#[cfg(not(feature = "fast-runtime"))] +#[cfg(all(not(feature = "fast-runtime"), not(feature = "runtime-benchmarks")))] parameter_types! { pub const ChainForkVersions: ForkVersions = ForkVersions { genesis: Fork {