diff --git a/Cargo.lock b/Cargo.lock index cc437e886f238b..5180ffb9aeb870 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8646,7 +8646,6 @@ dependencies = [ "serde_json", "shuttle", "solana-account-decoder", - "solana-accounts-db", "solana-bpf-loader-program", "solana-client", "solana-compute-budget", diff --git a/svm/Cargo.toml b/svm/Cargo.toml index a6edc55fc1fca2..e1454ce1062a84 100644 --- a/svm/Cargo.toml +++ b/svm/Cargo.toml @@ -66,7 +66,6 @@ serde_derive = { workspace = true } serde_json = { workspace = true } shuttle = { workspace = true } solana-account-decoder = { workspace = true } -solana-accounts-db = { workspace = true } solana-bpf-loader-program = { workspace = true } solana-client = { workspace = true } solana-compute-budget-program = { workspace = true } diff --git a/svm/examples/json-rpc/server/src/rpc_process.rs b/svm/examples/json-rpc/server/src/rpc_process.rs index 817c9edc3e93ca..49f282d5c33f75 100644 --- a/svm/examples/json-rpc/server/src/rpc_process.rs +++ b/svm/examples/json-rpc/server/src/rpc_process.rs @@ -15,7 +15,6 @@ use { parse_token::{get_token_account_mint, is_known_spl_token_id}, UiAccount, UiAccountEncoding, UiDataSliceConfig, MAX_BASE58_BYTES, }, - solana_accounts_db::blockhash_queue::BlockhashQueue, solana_compute_budget::compute_budget::ComputeBudget, solana_perf::packet::PACKET_DATA_SIZE, solana_program_runtime::loaded_programs::ProgramCacheEntry, @@ -400,7 +399,6 @@ impl JsonRpcRequestProcessor { error_counters: &mut TransactionErrorMetrics, ) -> Vec { let last_blockhash = Hash::default(); - let blockhash_queue = BlockhashQueue::default(); let next_durable_nonce = DurableNonce::from_blockhash(&last_blockhash); sanitized_txs @@ -411,7 +409,6 @@ impl JsonRpcRequestProcessor { tx.borrow(), max_age, &next_durable_nonce, - &blockhash_queue, error_counters, ), Err(e) => Err(e.clone()), @@ -424,7 +421,6 @@ impl JsonRpcRequestProcessor { _tx: &SanitizedTransaction, _max_age: usize, _next_durable_nonce: &DurableNonce, - _hash_queue: &BlockhashQueue, _error_counters: &mut TransactionErrorMetrics, ) -> TransactionCheckResult { /* for now just return defaults */