Rename native programs to native instruction processors

This commit is contained in:
Greg Fitzgerald
2019-04-02 08:57:00 -06:00
parent 947cdd8748
commit fa1c1e3734
5 changed files with 20 additions and 18 deletions

View File

@ -369,7 +369,7 @@ pub fn new_fullnode_for_tests() -> (Fullnode, ContactInfo, Keypair, String) {
let (mut genesis_block, mint_keypair) =
GenesisBlock::new_with_leader(10_000, &contact_info.id, 42);
genesis_block
.native_programs
.native_instruction_processors
.push(("solana_budget_program".to_string(), solana_budget_api::id()));
let (ledger_path, _blockhash) = create_new_tmp_ledger!(&genesis_block);

View File

@ -336,7 +336,7 @@ mod tests {
// This test depends on the budget program
genesis_block
.native_programs
.native_instruction_processors
.push(("solana_budget_program".to_string(), solana_budget_api::id()));
let bob_pubkey = Pubkey::new_rand();