From 7189b8e9927785081ef8166d31b79a5f54b1368f Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 3 Sep 2024 12:57:35 +0200 Subject: [PATCH] fix native runtime benchmarking build --- runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 77ecdfc8..ac91bbcf 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -504,6 +504,8 @@ impl pallet_treasury::Config for Runtime { type Paymaster = PayFromAccount; type BalanceConverter = NoConversion; type PayoutPeriod = PayoutSpendPeriod; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } impl pallet_encointer_reputation_commitments::Config for Runtime {