mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 09:51:10 +00:00
rococo-runtime: Switch to latest construct_runtime! syntax (#4389)
* rococo-runtime: Switch to latest `construct_runtime!` syntax Besides that it fixes pallet macro errors in other crates that popped up because of this switch. * FMT
This commit is contained in:
@@ -366,7 +366,7 @@ fn polkadot_staging_testnet_config_genesis(wasm_binary: &[u8]) -> polkadot::Gene
|
||||
config: default_parachains_host_configuration(),
|
||||
},
|
||||
paras: Default::default(),
|
||||
xcm_pallet: polkadot::XcmPalletConfig { safe_xcm_version: Some(2) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -550,7 +550,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) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -746,7 +746,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) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1043,7 +1043,8 @@ 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) },
|
||||
xcm_pallet: Default::default(),
|
||||
transaction_payment: Default::default(),
|
||||
// bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig {
|
||||
// owner: Some(endowed_accounts[0].clone()),
|
||||
// ..Default::default()
|
||||
@@ -1311,7 +1312,7 @@ pub fn polkadot_testnet_genesis(
|
||||
config: default_parachains_host_configuration(),
|
||||
},
|
||||
paras: Default::default(),
|
||||
xcm_pallet: polkadot::XcmPalletConfig { safe_xcm_version: Some(2) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1398,7 +1399,7 @@ pub fn kusama_testnet_genesis(
|
||||
},
|
||||
gilt: Default::default(),
|
||||
paras: Default::default(),
|
||||
xcm_pallet: kusama::XcmPalletConfig { safe_xcm_version: Some(2) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1478,7 +1479,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) },
|
||||
xcm_pallet: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1552,7 +1553,8 @@ 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) },
|
||||
xcm_pallet: Default::default(),
|
||||
transaction_payment: Default::default(),
|
||||
// bridge_rococo_grandpa: rococo_runtime::BridgeRococoGrandpaConfig {
|
||||
// owner: Some(root_key.clone()),
|
||||
// ..Default::default()
|
||||
|
||||
Reference in New Issue
Block a user