From be9a7cc50462b7d019571b5f2bea9e12bbc9b895 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Wed, 5 Jun 2024 15:21:58 +0200 Subject: [PATCH] Fix benchmarks compilation for 1.11 (#341) - [X] Does not require a CHANGELOG entry --- relay/kusama/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 16c1e7d270..338dc471c4 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -1559,6 +1559,8 @@ impl pallet_nis::Config for Runtime { type MaxIntakeWeight = MaxIntakeWeight; type ThawThrottle = ThawThrottle; type RuntimeHoldReason = RuntimeHoldReason; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkSetup = (); } parameter_types! {