Native/builtin programs now receive an InvokeContext
This commit is contained in:
@ -12,10 +12,8 @@ use solana_rbpf::vm::{Executable, InstructionMeter};
|
||||
use solana_runtime::{
|
||||
bank::Bank,
|
||||
bank_client::BankClient,
|
||||
bpf_test_utils::MockInvokeContext,
|
||||
genesis_utils::{create_genesis_config, GenesisConfigInfo},
|
||||
loader_utils::load_program,
|
||||
process_instruction::InvokeContext,
|
||||
};
|
||||
use solana_sdk::{
|
||||
account::Account,
|
||||
@ -24,6 +22,7 @@ use solana_sdk::{
|
||||
entrypoint::SUCCESS,
|
||||
instruction::{AccountMeta, Instruction},
|
||||
message::Message,
|
||||
process_instruction::{InvokeContext, MockInvokeContext},
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, Signer},
|
||||
};
|
||||
|
Reference in New Issue
Block a user