From bf14910ffcf0c0f37b591a611e96323aeb0e240a Mon Sep 17 00:00:00 2001 From: Szegoo Date: Wed, 7 Aug 2024 21:19:35 +0200 Subject: [PATCH] fix other tests --- pallets/market/src/mock.rs | 2 ++ pallets/processor/src/mock.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pallets/market/src/mock.rs b/pallets/market/src/mock.rs index 2e9c359..cb9fe79 100644 --- a/pallets/market/src/mock.rs +++ b/pallets/market/src/mock.rs @@ -129,6 +129,7 @@ impl IsmpDispatcher for MockDispatcher { parameter_types! { pub const CoretimeChain: StateMachine = StateMachine::Kusama(1005); // coretime-kusama + pub const RegionsUnsignedPriority: TransactionPriority = TransactionPriority::max_value(); } impl pallet_regions::Config for Test { @@ -138,6 +139,7 @@ impl pallet_regions::Config for Test { type IsmpDispatcher = MockDispatcher; type StateMachineHeightProvider = MockStateMachineHeightProvider; type Timeout = ConstU64<1000>; + type UnsignedPriority = RegionsUnsignedPriority; type WeightInfo = (); } diff --git a/pallets/processor/src/mock.rs b/pallets/processor/src/mock.rs index 9d70207..a860e78 100644 --- a/pallets/processor/src/mock.rs +++ b/pallets/processor/src/mock.rs @@ -164,6 +164,7 @@ impl IsmpDispatcher for MockDispatcher { parameter_types! { pub const CoretimeChainStateMachine: StateMachine = StateMachine::Kusama(1005); // coretime-kusama + pub const RegionsUnsignedPriority: TransactionPriority = TransactionPriority::max_value(); } impl pallet_regions::Config for Test { @@ -173,6 +174,7 @@ impl pallet_regions::Config for Test { type IsmpDispatcher = MockDispatcher; type StateMachineHeightProvider = MockStateMachineHeightProvider; type Timeout = ConstU64<1000>; + type UnsignedPriority = RegionsUnsignedPriority; type WeightInfo = (); }