Skip to content

Commit

Permalink
Removes unused Bank::accounts_data_size_limit() (#34700)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 9, 2024
1 parent 95f888a commit 38494e5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 38494e5

Please sign in to comment.