Remove non-essential programs from runtime/

This commit is contained in:
Michael Vines
2019-03-12 11:44:41 -07:00
parent 3d2b7dd1ef
commit 1ee43a7633
11 changed files with 119 additions and 77 deletions

View File

@ -37,7 +37,11 @@ fn get_storage_blockhash(bank: &Bank, account: &Pubkey) -> Hash {
#[test]
fn test_bank_storage() {
let (genesis_block, alice) = GenesisBlock::new(1000);
let (mut genesis_block, alice) = GenesisBlock::new(1000);
genesis_block.native_programs.push((
"solana_storage_program".to_string(),
solana_storage_api::id(),
));
let bank = Bank::new(&genesis_block);
let bob = Keypair::new();