Skip to content

Commit

Permalink
Fix: runtime-benchmarks MessageProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
Anny0nn committed Jul 24, 2024
1 parent 2ee9c0c commit cef4055
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tinkernet/runtime/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,9 @@ impl pallet_message_queue::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightInfo = pallet_message_queue::weights::SubstrateWeight<Self>;
#[cfg(feature = "runtime-benchmarks")]
type MessageProcessor =
pallet_message_queue::mock_helpers::NoopMessageProcessor<AggregateMessageOrigin>;
type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor<
CustomAggregateMessageOrigin<AggregateMessageOrigin>,
>;
#[cfg(not(feature = "runtime-benchmarks"))]
type MessageProcessor = CustomMessageProcessor<
CustomAggregateMessageOrigin<AggregateMessageOrigin>,
Expand Down

0 comments on commit cef4055

Please sign in to comment.