genesis config hashmaps (#7107)

This commit is contained in:
Rob Walker
2019-11-26 19:23:37 -08:00
committed by GitHub
parent c706f9b2cd
commit 8d75efdc58
7 changed files with 150 additions and 167 deletions

View File

@@ -49,7 +49,7 @@ pub fn create_genesis_config_with_leader(
bootstrap_leader_stake_lamports,
);
let accounts = vec![
let accounts = [
(
mint_keypair.pubkey(),
Account::new(mint_lamports, 0, &system_program::id()),
@@ -66,7 +66,10 @@ pub fn create_genesis_config_with_leader(
bootstrap_leader_staking_keypair.pubkey(),
bootstrap_leader_stake_account,
),
];
]
.iter()
.cloned()
.collect();
// Bare minimum program set
let native_instruction_processors = vec![