De-alias pallets in node template runtime (#6836)

* dealias pallets

* Restore accidentally deleted code blocks
This commit is contained in:
Joshy Orndorff
2020-08-06 15:23:31 -04:00
committed by GitHub
parent 4e03c87953
commit e4280858dc
3 changed files with 41 additions and 40 deletions
@@ -139,17 +139,17 @@ fn testnet_genesis(
code: wasm_binary.to_vec(),
changes_trie_config: Default::default(),
}),
balances: Some(BalancesConfig {
pallet_balances: Some(BalancesConfig {
// Configure endowed accounts with initial balance of 1 << 60.
balances: endowed_accounts.iter().cloned().map(|k|(k, 1 << 60)).collect(),
}),
aura: Some(AuraConfig {
pallet_aura: Some(AuraConfig {
authorities: initial_authorities.iter().map(|x| (x.0.clone())).collect(),
}),
grandpa: Some(GrandpaConfig {
pallet_grandpa: Some(GrandpaConfig {
authorities: initial_authorities.iter().map(|x| (x.1.clone(), 1)).collect(),
}),
sudo: Some(SudoConfig {
pallet_sudo: Some(SudoConfig {
// Assign network admin rights.
key: root_key,
}),