diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 3f2f6d547a119d..8633d3c12a0922 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -110,7 +110,6 @@ use { solana_measure::{measure, measure::Measure, measure_us}, solana_perf::perf_libs, solana_program_runtime::{ - accounts_data_meter::MAX_ACCOUNTS_DATA_LEN, compute_budget::ComputeBudget, compute_budget_processor::process_compute_budget_instructions, invoke_context::BuiltinFunctionWithContext, @@ -5356,11 +5355,6 @@ impl Bank { } } - /// The maximum allowed size, in bytes, of the accounts data - pub fn accounts_data_size_limit(&self) -> u64 { - MAX_ACCOUNTS_DATA_LEN - } - /// Load the accounts data size, in bytes pub fn load_accounts_data_size(&self) -> u64 { self.accounts_data_size_initial