Add BPf loader finalize test via inner instruction (#15708)

This commit is contained in:
Jack May
2021-03-04 12:34:36 -08:00
committed by GitHub
parent 99f0d29dd1
commit fb3837260c
8 changed files with 142 additions and 8 deletions

View File

@@ -175,7 +175,8 @@ fn bench_program_execute_noop(bencher: &mut Bencher) {
let mint_pubkey = mint_keypair.pubkey();
let account_metas = vec![AccountMeta::new(mint_pubkey, true)];
let instruction = Instruction::new_with_bincode(invoke_program_id, &[u8::MAX, 0, 0, 0], account_metas);
let instruction =
Instruction::new_with_bincode(invoke_program_id, &[u8::MAX, 0, 0, 0], account_metas);
let message = Message::new(&[instruction], Some(&mint_pubkey));
bank_client