From 540bf6a2da218d17fb42940752104ab5bee0d2cd Mon Sep 17 00:00:00 2001 From: Marian Vanderka Date: Thu, 28 Nov 2024 18:18:37 +0100 Subject: [PATCH] fixes bench feature flag runtime configs --- rollup/runtime/src/runtime_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup/runtime/src/runtime_config.rs b/rollup/runtime/src/runtime_config.rs index 1da529f07..5ca4611b5 100644 --- a/rollup/runtime/src/runtime_config.rs +++ b/rollup/runtime/src/runtime_config.rs @@ -50,12 +50,12 @@ pub mod tokens { #[cfg(any(feature = "unlocked", feature = "runtime-benchmarks"))] pub type NontransferableTokens = Nothing; - #[cfg(not(feature = "unlocked"))] + #[cfg(not(any(feature = "unlocked", feature = "runtime-benchmarks")))] pub type NontransferableTokens = Equals>; #[cfg(any(feature = "unlocked", feature = "runtime-benchmarks"))] pub type ArbitrageBot = Nothing; - #[cfg(not(feature = "unlocked"))] + #[cfg(not(any(feature = "unlocked", feature = "runtime-benchmarks")))] pub type ArbitrageBot = Equals; parameter_types! {