Add BPF Sanity program-test based test (#19159)

This commit is contained in:
Jack May
2021-08-11 12:07:15 -07:00
committed by GitHub
parent 446816de52
commit 9dfeee2993
6 changed files with 51 additions and 5 deletions

View File

@@ -1,11 +1,13 @@
use solana_bpf_rust_sysvar::process_instruction;
use solana_program_test::*;
use solana_sdk::sysvar::recent_blockhashes;
use solana_sdk::{
instruction::{AccountMeta, Instruction},
pubkey::Pubkey,
signature::Signer,
sysvar::{clock, epoch_schedule, instructions, rent, slot_hashes, slot_history, stake_history},
sysvar::{
clock, epoch_schedule, instructions, recent_blockhashes, rent, slot_hashes, slot_history,
stake_history,
},
transaction::Transaction,
};