mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
export xcm_pallet config (#4116)
* export xcm_pallet config Signed-off-by: Cheng JIANG <alex_cj96@foxmail.com> * run format Signed-off-by: Cheng JIANG <alex_cj96@foxmail.com> * fix typo Signed-off-by: Cheng JIANG <alex_cj96@foxmail.com> * add generic parameter to support different runtimes * Revert "add generic parameter to support different runtimes" This reverts commit 4405ea9fab24307318ffc20a833010fe864b3be3.
This commit is contained in:
@@ -558,6 +558,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi
|
|||||||
registrar: westend_runtime::RegistrarConfig {
|
registrar: westend_runtime::RegistrarConfig {
|
||||||
next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID,
|
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(),
|
gilt: Default::default(),
|
||||||
paras: 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 {
|
registrar: rococo_runtime::RegistrarConfig {
|
||||||
next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID,
|
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 {
|
// bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig {
|
||||||
// owner: Some(endowed_accounts[0].clone()),
|
// owner: Some(endowed_accounts[0].clone()),
|
||||||
// ..Default::default()
|
// ..Default::default()
|
||||||
@@ -1411,6 +1414,7 @@ pub fn kusama_testnet_genesis(
|
|||||||
},
|
},
|
||||||
gilt: Default::default(),
|
gilt: Default::default(),
|
||||||
paras: 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 {
|
registrar: westend_runtime::RegistrarConfig {
|
||||||
next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID,
|
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 {
|
registrar: rococo_runtime::RegistrarConfig {
|
||||||
next_free_para_id: polkadot_primitives::v1::LOWEST_PUBLIC_ID,
|
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 {
|
// bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig {
|
||||||
// owner: Some(root_key.clone()),
|
// owner: Some(root_key.clone()),
|
||||||
// ..Default::default()
|
// ..Default::default()
|
||||||
|
|||||||
@@ -1521,7 +1521,7 @@ construct_runtime! {
|
|||||||
Crowdloan: crowdloan::{Pallet, Call, Storage, Event<T>} = 73,
|
Crowdloan: crowdloan::{Pallet, Call, Storage, Event<T>} = 73,
|
||||||
|
|
||||||
// Pallet for sending XCM.
|
// Pallet for sending XCM.
|
||||||
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 99,
|
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config} = 99,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -255,7 +255,7 @@ construct_runtime! {
|
|||||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>},
|
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>},
|
||||||
|
|
||||||
// Pallet for sending XCM.
|
// Pallet for sending XCM.
|
||||||
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 99,
|
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config} = 99,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1101,7 +1101,7 @@ construct_runtime! {
|
|||||||
Crowdloan: crowdloan::{Pallet, Call, Storage, Event<T>} = 64,
|
Crowdloan: crowdloan::{Pallet, Call, Storage, Event<T>} = 64,
|
||||||
|
|
||||||
// Pallet for sending XCM.
|
// Pallet for sending XCM.
|
||||||
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 99,
|
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin, Config} = 99,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user