Skip to content

Commit

Permalink
fixes bench feature flag runtime configs
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderian committed Nov 28, 2024
1 parent be6189b commit 540bf6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup/runtime/src/runtime_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConstU32<RX_TOKEN_ID>>;

#[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<ArbitrageBotAddr>;

parameter_types! {
Expand Down

0 comments on commit 540bf6a

Please sign in to comment.