Bumps solana_rbpf to v0.2.16 (#21492)
This commit is contained in:
committed by
GitHub
parent
e960634909
commit
c9aa7ed5ca
@@ -25,10 +25,7 @@ use solana_client::{
|
||||
tpu_client::{TpuClient, TpuClientConfig},
|
||||
};
|
||||
use solana_program_runtime::invoke_context::ThisInvokeContext;
|
||||
use solana_rbpf::{
|
||||
verifier,
|
||||
vm::{Config, Executable},
|
||||
};
|
||||
use solana_rbpf::{elf::Executable, verifier, vm::Config};
|
||||
use solana_remote_wallet::remote_wallet::RemoteWalletManager;
|
||||
use solana_sdk::{
|
||||
account::Account,
|
||||
@@ -1997,7 +1994,7 @@ fn read_and_verify_elf(program_location: &str) -> Result<Vec<u8>, Box<dyn std::e
|
||||
let mut invoke_context = ThisInvokeContext::new_mock(&[], &[]);
|
||||
|
||||
// Verify the program
|
||||
<dyn Executable<BpfError, ThisInstructionMeter>>::from_elf(
|
||||
Executable::<BpfError, ThisInstructionMeter>::from_elf(
|
||||
&program_data,
|
||||
Some(verifier::check),
|
||||
Config {
|
||||
|
Reference in New Issue
Block a user