diff --git a/cumulus/pallets/parachain-system/src/tests.rs b/cumulus/pallets/parachain-system/src/tests.rs index 24ee3fbe1dd89df9607bfe312c2eabf54081b01c..7b4e13570de913b8dacba676e7b49ccef28b0adc 100755 --- a/cumulus/pallets/parachain-system/src/tests.rs +++ b/cumulus/pallets/parachain-system/src/tests.rs @@ -49,7 +49,7 @@ frame_support::construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Config, Storage, Event<T>}, - ParachainSystem: parachain_system::{Pallet, Call, Storage, Event<T>, ValidateUnsigned}, + ParachainSystem: parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned}, } ); diff --git a/cumulus/pallets/xcmp-queue/src/mock.rs b/cumulus/pallets/xcmp-queue/src/mock.rs index 1c62a66c29c0279b87fd345ab9b5b7bbd0e150cd..783e3a69f39d538b59e4f18db5724fac0dc82591 100644 --- a/cumulus/pallets/xcmp-queue/src/mock.rs +++ b/cumulus/pallets/xcmp-queue/src/mock.rs @@ -38,7 +38,9 @@ frame_support::construct_runtime!( { System: frame_system::{Pallet, Call, Config, Storage, Event<T>}, Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>}, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + }, XcmpQueue: xcmp_queue::{Pallet, Call, Storage, Event<T>}, } ); diff --git a/cumulus/polkadot-parachains/rococo/src/lib.rs b/cumulus/polkadot-parachains/rococo/src/lib.rs index ab8977059f33dc9e78df3a34908c19785974daae..94e638031b1a1128321b41e1fe529f1e82a1a5ff 100644 --- a/cumulus/polkadot-parachains/rococo/src/lib.rs +++ b/cumulus/polkadot-parachains/rococo/src/lib.rs @@ -441,7 +441,9 @@ construct_runtime! { RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage}, TransactionPayment: pallet_transaction_payment::{Pallet, Storage}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>} = 20, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + } = 20, ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21, Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30, diff --git a/cumulus/polkadot-parachains/shell/src/lib.rs b/cumulus/polkadot-parachains/shell/src/lib.rs index fe88fc76bcc8b17172a2cd23f9717bb90071ba17..cb282c1344ea414c8fabc8997134c089ec5a3f68 100644 --- a/cumulus/polkadot-parachains/shell/src/lib.rs +++ b/cumulus/polkadot-parachains/shell/src/lib.rs @@ -226,7 +226,9 @@ construct_runtime! { UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Config, Event<T>}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>}, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + }, ParachainInfo: parachain_info::{Pallet, Storage, Config}, // DMP handler. diff --git a/cumulus/polkadot-parachains/statemine/src/lib.rs b/cumulus/polkadot-parachains/statemine/src/lib.rs index 091962c0cd4d88405f84bf1fcc9593a11859f7bb..9015aeaf527cbb9a295727ef77ee5db5c5a77719 100644 --- a/cumulus/polkadot-parachains/statemine/src/lib.rs +++ b/cumulus/polkadot-parachains/statemine/src/lib.rs @@ -673,7 +673,9 @@ construct_runtime!( { // System support stuff. System: frame_system::{Pallet, Call, Config, Storage, Event<T>} = 0, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>} = 1, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + } = 1, RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, ParachainInfo: parachain_info::{Pallet, Storage, Config} = 4, diff --git a/cumulus/polkadot-parachains/statemint/src/lib.rs b/cumulus/polkadot-parachains/statemint/src/lib.rs index d15b0527a91dd175073ea4eb7ee9869f3dd8bbef..051eff5c41b6226b7c1d2a9574023ce890872139 100644 --- a/cumulus/polkadot-parachains/statemint/src/lib.rs +++ b/cumulus/polkadot-parachains/statemint/src/lib.rs @@ -612,7 +612,9 @@ construct_runtime!( { // System support stuff. System: frame_system::{Pallet, Call, Config, Storage, Event<T>} = 0, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>} = 1, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + } = 1, RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, ParachainInfo: parachain_info::{Pallet, Storage, Config} = 4, diff --git a/cumulus/polkadot-parachains/westmint/src/lib.rs b/cumulus/polkadot-parachains/westmint/src/lib.rs index d38e57172ab8be6768318818d13a3a372cfb7383..97bde2dd0c125ade447fc0d6ad8b1f28b06af03f 100644 --- a/cumulus/polkadot-parachains/westmint/src/lib.rs +++ b/cumulus/polkadot-parachains/westmint/src/lib.rs @@ -602,7 +602,9 @@ construct_runtime!( { // System support stuff; System: frame_system::{Pallet, Call, Config, Storage, Event<T>}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>}, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + }, RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, ParachainInfo: parachain_info::{Pallet, Storage, Config}, diff --git a/cumulus/test/runtime/src/lib.rs b/cumulus/test/runtime/src/lib.rs index 17353c5aff06ddfd04915cdb39c5336de46ac531..f51aba1695408191bc7d9e18cbaa3db5766eb3c2 100644 --- a/cumulus/test/runtime/src/lib.rs +++ b/cumulus/test/runtime/src/lib.rs @@ -262,7 +262,9 @@ construct_runtime! { UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Config, Event<T>}, - ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Storage, Inherent, Event<T>, Config}, + ParachainSystem: cumulus_pallet_parachain_system::{ + Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned, + }, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>}, Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>},