Removes unused Bank::accounts_data_size_limit() (#34700)

This commit is contained in:
Brooks 2024-01-09 12:46:57 -05:00 committed by GitHub
parent 95f888ab54
commit 38494e5956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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