Rename native programs to native instruction processors
This commit is contained in:
@ -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);
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user