Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Companion for paritytech/cumulus#1280
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Jul 9, 2022
1 parent 7878005 commit 40ce48a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/crab-parachain/src/pallets/parachain_system.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// --- paritytech ---
use cumulus_pallet_parachain_system::Config;
use cumulus_pallet_parachain_system::{Config, RelayNumberStrictlyIncreases};
use frame_support::weights::Weight;
use parachain_info::Pallet as ParachainInfoPallet;
// --- darwinia-network ---
Expand All @@ -19,4 +19,5 @@ impl Config for Runtime {
type ReservedXcmpWeight = ReservedXcmpWeight;
type SelfParaId = ParachainInfoPallet<Runtime>;
type XcmpMessageHandler = XcmpQueue;
type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases;
}
3 changes: 2 additions & 1 deletion runtime/darwinia-parachain/src/pallets/parachain_system.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// --- paritytech ---
use cumulus_pallet_parachain_system::Config;
use cumulus_pallet_parachain_system::{Config, RelayNumberStrictlyIncreases};
use frame_support::weights::Weight;
use parachain_info::Pallet as ParachainInfoPallet;
// --- darwinia-network ---
Expand All @@ -19,4 +19,5 @@ impl Config for Runtime {
type ReservedXcmpWeight = ReservedXcmpWeight;
type SelfParaId = ParachainInfoPallet<Runtime>;
type XcmpMessageHandler = XcmpQueue;
type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases;
}
3 changes: 2 additions & 1 deletion runtime/pangolin-parachain/src/pallets/parachain_system.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// --- paritytech ---
use cumulus_pallet_parachain_system::Config;
use cumulus_pallet_parachain_system::{Config, RelayNumberStrictlyIncreases};
use frame_support::weights::Weight;
use parachain_info::Pallet as ParachainInfoPallet;
// --- darwinia-network ---
Expand All @@ -19,4 +19,5 @@ impl Config for Runtime {
type ReservedXcmpWeight = ReservedXcmpWeight;
type SelfParaId = ParachainInfoPallet<Runtime>;
type XcmpMessageHandler = XcmpQueue;
type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases;
}

0 comments on commit 40ce48a

Please sign in to comment.