Skip to content

Commit

Permalink
fix other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 7, 2024
1 parent 634a089 commit bf14910
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/market/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ impl<T: crate::Config> IsmpDispatcher for MockDispatcher<T> {

parameter_types! {
pub const CoretimeChain: StateMachine = StateMachine::Kusama(1005); // coretime-kusama
pub const RegionsUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
}

impl pallet_regions::Config for Test {
Expand All @@ -138,6 +139,7 @@ impl pallet_regions::Config for Test {
type IsmpDispatcher = MockDispatcher<Self>;
type StateMachineHeightProvider = MockStateMachineHeightProvider;
type Timeout = ConstU64<1000>;
type UnsignedPriority = RegionsUnsignedPriority;
type WeightInfo = ();
}

Expand Down
2 changes: 2 additions & 0 deletions pallets/processor/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ impl<T: crate::Config> IsmpDispatcher for MockDispatcher<T> {

parameter_types! {
pub const CoretimeChainStateMachine: StateMachine = StateMachine::Kusama(1005); // coretime-kusama
pub const RegionsUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
}

impl pallet_regions::Config for Test {
Expand All @@ -173,6 +174,7 @@ impl pallet_regions::Config for Test {
type IsmpDispatcher = MockDispatcher<Self>;
type StateMachineHeightProvider = MockStateMachineHeightProvider;
type Timeout = ConstU64<1000>;
type UnsignedPriority = RegionsUnsignedPriority;
type WeightInfo = ();
}

Expand Down

0 comments on commit bf14910

Please sign in to comment.