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

Removes unused Bank::accounts_data_size_limit() #34700

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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