Skip to content
Snippets Groups Projects
Commit 5620ee33 authored by bgallois's avatar bgallois Committed by Hugo Trentesaux
Browse files

fix tests with runtime-benchmark feature

parent 2b37de11
No related branches found
No related tags found
1 merge request!197Eliminate all Instances of `Weight::zero()`
......@@ -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>;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment