mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 14:31:02 +00:00
GenesisBuild<T,I> deprecated. BuildGenesisConfig added (#2757)
* GenesisBuild<T,I> deprecated. BuildGenesisConfig added
* ".git/.scripts/commands/fmt/fmt.sh"
* integration-tests/emulated: ..Default::default added to genesis configs
* Cargo.lock updated
* Cargo.lock updated
* update lockfile for {"polkadot", "substrate"}
* clippy fixes
* clippy fixes
* clippy fixes again
---------
Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
f3ada7b81f
commit
94d2e4bc28
@@ -219,6 +219,7 @@ fn asset_hub_polkadot_genesis(
|
||||
code: asset_hub_polkadot_runtime::WASM_BINARY
|
||||
.expect("WASM binary was not build, please build it!")
|
||||
.to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
balances: asset_hub_polkadot_runtime::BalancesConfig {
|
||||
balances: endowed_accounts
|
||||
@@ -227,7 +228,10 @@ fn asset_hub_polkadot_genesis(
|
||||
.map(|k| (k, ASSET_HUB_POLKADOT_ED * 4096))
|
||||
.collect(),
|
||||
},
|
||||
parachain_info: asset_hub_polkadot_runtime::ParachainInfoConfig { parachain_id: id },
|
||||
parachain_info: asset_hub_polkadot_runtime::ParachainInfoConfig {
|
||||
parachain_id: id,
|
||||
..Default::default()
|
||||
},
|
||||
collator_selection: asset_hub_polkadot_runtime::CollatorSelectionConfig {
|
||||
invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(),
|
||||
candidacy_bond: ASSET_HUB_POLKADOT_ED * 16,
|
||||
@@ -252,6 +256,7 @@ fn asset_hub_polkadot_genesis(
|
||||
parachain_system: Default::default(),
|
||||
polkadot_xcm: asset_hub_polkadot_runtime::PolkadotXcmConfig {
|
||||
safe_xcm_version: Some(SAFE_XCM_VERSION),
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -408,6 +413,7 @@ fn asset_hub_kusama_genesis(
|
||||
code: asset_hub_kusama_runtime::WASM_BINARY
|
||||
.expect("WASM binary was not build, please build it!")
|
||||
.to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
balances: asset_hub_kusama_runtime::BalancesConfig {
|
||||
balances: endowed_accounts
|
||||
@@ -416,7 +422,10 @@ fn asset_hub_kusama_genesis(
|
||||
.map(|k| (k, ASSET_HUB_KUSAMA_ED * 524_288))
|
||||
.collect(),
|
||||
},
|
||||
parachain_info: asset_hub_kusama_runtime::ParachainInfoConfig { parachain_id: id },
|
||||
parachain_info: asset_hub_kusama_runtime::ParachainInfoConfig {
|
||||
parachain_id: id,
|
||||
..Default::default()
|
||||
},
|
||||
collator_selection: asset_hub_kusama_runtime::CollatorSelectionConfig {
|
||||
invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(),
|
||||
candidacy_bond: ASSET_HUB_KUSAMA_ED * 16,
|
||||
@@ -439,6 +448,7 @@ fn asset_hub_kusama_genesis(
|
||||
parachain_system: Default::default(),
|
||||
polkadot_xcm: asset_hub_kusama_runtime::PolkadotXcmConfig {
|
||||
safe_xcm_version: Some(SAFE_XCM_VERSION),
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -592,6 +602,7 @@ fn asset_hub_westend_genesis(
|
||||
code: asset_hub_westend_runtime::WASM_BINARY
|
||||
.expect("WASM binary was not build, please build it!")
|
||||
.to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
balances: asset_hub_westend_runtime::BalancesConfig {
|
||||
balances: endowed_accounts
|
||||
@@ -600,7 +611,10 @@ fn asset_hub_westend_genesis(
|
||||
.map(|k| (k, ASSET_HUB_WESTEND_ED * 4096))
|
||||
.collect(),
|
||||
},
|
||||
parachain_info: asset_hub_westend_runtime::ParachainInfoConfig { parachain_id: id },
|
||||
parachain_info: asset_hub_westend_runtime::ParachainInfoConfig {
|
||||
parachain_id: id,
|
||||
..Default::default()
|
||||
},
|
||||
collator_selection: asset_hub_westend_runtime::CollatorSelectionConfig {
|
||||
invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(),
|
||||
candidacy_bond: ASSET_HUB_WESTEND_ED * 16,
|
||||
@@ -625,6 +639,7 @@ fn asset_hub_westend_genesis(
|
||||
parachain_system: Default::default(),
|
||||
polkadot_xcm: asset_hub_westend_runtime::PolkadotXcmConfig {
|
||||
safe_xcm_version: Some(SAFE_XCM_VERSION),
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user