diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 502c9dbf7217..84c6e767f0ea 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -558,6 +558,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi registrar: westend_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID, }, + xcm_pallet: westend_runtime::XcmPalletConfig { safe_xcm_version: Some(2) }, } } @@ -755,6 +756,7 @@ fn kusama_staging_testnet_config_genesis(wasm_binary: &[u8]) -> kusama::GenesisC }, gilt: Default::default(), paras: Default::default(), + xcm_pallet: kusama::XcmPalletConfig { safe_xcm_version: Some(2) }, } } @@ -1054,6 +1056,7 @@ fn rococo_staging_testnet_config_genesis(wasm_binary: &[u8]) -> rococo_runtime:: registrar: rococo_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID, }, + xcm_pallet: rococo_runtime::XcmPalletConfig { safe_xcm_version: Some(2) }, // bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig { // owner: Some(endowed_accounts[0].clone()), // ..Default::default() @@ -1411,6 +1414,7 @@ pub fn kusama_testnet_genesis( }, gilt: Default::default(), paras: Default::default(), + xcm_pallet: kusama::XcmPalletConfig { safe_xcm_version: Some(2) }, } } @@ -1492,6 +1496,7 @@ pub fn westend_testnet_genesis( registrar: westend_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID, }, + xcm_pallet: westend_runtime::XcmPalletConfig { safe_xcm_version: Some(2) }, } } @@ -1568,6 +1573,7 @@ pub fn rococo_testnet_genesis( registrar: rococo_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID, }, + xcm_pallet: rococo_runtime::XcmPalletConfig { safe_xcm_version: Some(2) }, // bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig { // owner: Some(root_key.clone()), // ..Default::default() diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index c0aa9ce9c9d1..3c6c6b56b028 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -49,9 +49,7 @@ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_support::{ construct_runtime, parameter_types, - traits::{ - Contains, Everything, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, Nothing, - }, + traits::{Contains, Everything, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, Nothing}, weights::Weight, PalletId, RuntimeDebug, }; @@ -1523,7 +1521,7 @@ construct_runtime! { Crowdloan: crowdloan::{Pallet, Call, Storage, Event} = 73, // Pallet for sending XCM. - XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin} = 99, + XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 99, } } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index d0a0c4dbda73..1dd8cc57dd0b 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -255,7 +255,7 @@ construct_runtime! { Multisig: pallet_multisig::{Pallet, Call, Storage, Event}, // Pallet for sending XCM. - XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin} = 99, + XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 99, } } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index c19d16030539..e4c1d5e15efe 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1101,7 +1101,7 @@ construct_runtime! { Crowdloan: crowdloan::{Pallet, Call, Storage, Event} = 64, // Pallet for sending XCM. - XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin} = 99, + XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 99, } }