diff --git a/runtime/common/src/pallets_config.rs b/runtime/common/src/pallets_config.rs index c5595a9a223c64c7660310c61f42c900b5cda99c..bf101f98f3cd54d0e00227e9be9ade08b1cf59b1 100644 --- a/runtime/common/src/pallets_config.rs +++ b/runtime/common/src/pallets_config.rs @@ -214,10 +214,7 @@ macro_rules! pallets_config { // does a filter on the call type OnChargeTransaction = OneshotAccount; type OperationalFeeMultiplier = frame_support::traits::ConstU8<5>; - #[cfg(not(feature = "runtime-benchmarks"))] type WeightToFee = common_runtime::fees::WeightToFeeImpl<Balance>; - #[cfg(feature = "runtime-benchmarks")] - type WeightToFee = frame_support::weights::ConstantMultiplier::<u64, sp_core::ConstU64<0u64>>; type LengthToFee = common_runtime::fees::LengthToFeeImpl<Balance>; type FeeMultiplierUpdate = pallet_transaction_payment::ConstFeeMultiplier<FeeMultiplier>; }