Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Removes write_sbf_program().
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichtso committed Jan 13, 2023
1 parent e34bcdc commit 1fe65ad
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 185 deletions.
4 changes: 2 additions & 2 deletions programs/sbf/benches/bpf_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use {
bank::Bank,
bank_client::BankClient,
genesis_utils::{create_genesis_config, GenesisConfigInfo},
loader_utils::{load_deprecated_program, load_program_from_file},
loader_utils::{create_deprecated_program, load_program_from_file},
},
solana_sdk::{
bpf_loader,
Expand Down Expand Up @@ -160,7 +160,7 @@ fn bench_program_execute_noop(bencher: &mut Bencher) {
let bank_client = BankClient::new_shared(&bank);

let invoke_program_id =
load_deprecated_program(&bank_client, &bpf_loader::id(), &mint_keypair, "noop");
create_deprecated_program(&bank_client, &bpf_loader::id(), &mint_keypair, "noop");

let mint_pubkey = mint_keypair.pubkey();
let account_metas = vec![AccountMeta::new(mint_pubkey, true)];
Expand Down
Loading

0 comments on commit 1fe65ad

Please sign in to comment.