Skip to content

Commit

Permalink
Set PriceAdapter for benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Mar 21, 2024
1 parent 547f018 commit 648edde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system-parachains/coretime/coretime-kusama/src/coretime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,8 @@ impl pallet_broker::Config for Runtime {
type WeightInfo = weights::pallet_broker::WeightInfo<Runtime>;
type PalletId = BrokerPalletId;
type AdminOrigin = EnsureRoot<AccountId>;
#[cfg(feature = "runtime-benchmarks")]
type PriceAdapter = pallet_broker::Linear;
#[cfg(not(feature = "runtime-benchmarks"))]
type PriceAdapter = PriceAdapter;
}

0 comments on commit 648edde

Please sign in to comment.