From 648eddeec89fed6c1e005aaf63dc3aa3cbb58897 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 21 Mar 2024 15:18:46 +0100 Subject: [PATCH] Set PriceAdapter for benchmarks --- system-parachains/coretime/coretime-kusama/src/coretime.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system-parachains/coretime/coretime-kusama/src/coretime.rs b/system-parachains/coretime/coretime-kusama/src/coretime.rs index 42edb3c047..52af41990a 100644 --- a/system-parachains/coretime/coretime-kusama/src/coretime.rs +++ b/system-parachains/coretime/coretime-kusama/src/coretime.rs @@ -245,5 +245,8 @@ impl pallet_broker::Config for Runtime { type WeightInfo = weights::pallet_broker::WeightInfo; type PalletId = BrokerPalletId; type AdminOrigin = EnsureRoot; + #[cfg(feature = "runtime-benchmarks")] + type PriceAdapter = pallet_broker::Linear; + #[cfg(not(feature = "runtime-benchmarks"))] type PriceAdapter = PriceAdapter; }