Update Substrate & Polkadot (#359)

* Update Substrate & Polkadot

* Remove unused code
This commit is contained in:
Bastian Köcher
2021-03-09 15:11:43 +01:00
committed by GitHub
parent 56f60a122e
commit c7d2446ba5
4 changed files with 277 additions and 244 deletions
+5 -5
View File
@@ -105,19 +105,19 @@ fn testnet_genesis(
endowed_accounts: Vec<AccountId>,
) -> cumulus_test_runtime::GenesisConfig {
cumulus_test_runtime::GenesisConfig {
frame_system: Some(cumulus_test_runtime::SystemConfig {
frame_system: cumulus_test_runtime::SystemConfig {
code: cumulus_test_runtime::WASM_BINARY
.expect("WASM binary was not build, please build it!")
.to_vec(),
..Default::default()
}),
pallet_balances: Some(cumulus_test_runtime::BalancesConfig {
},
pallet_balances: cumulus_test_runtime::BalancesConfig {
balances: endowed_accounts
.iter()
.cloned()
.map(|k| (k, 1 << 60))
.collect(),
}),
pallet_sudo: Some(cumulus_test_runtime::SudoConfig { key: root_key }),
},
pallet_sudo: cumulus_test_runtime::SudoConfig { key: root_key },
}
}