add passive staking to local_cluster (#4285)

* add passive staking to local_cluster

* add stake_program to genesis

* use equal stakes in local_cluster tests
This commit is contained in:
Rob Walker
2019-05-15 12:15:31 -07:00
committed by GitHub
parent 916017ca2c
commit 628128b376
5 changed files with 64 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ pub fn create_genesis_block_with_leader(
),
),
],
&[solana_vote_program!()],
&[solana_vote_program!(), solana_stake_program!()],
);
(genesis_block, mint_keypair, voting_keypair)