remove bank_from_latest_snapshot_archives(caching_enabled) (#29238)

This commit is contained in:
Jeff Washington (jwash) 2022-12-13 09:16:24 -06:00 committed by GitHub
parent a57247a78e
commit bb0bfc4214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 5 deletions

View File

@ -917,7 +917,6 @@ fn restore_from_snapshots_and_check_banks_are_equal(
None,
None,
AccountSecondaryIndexes::default(),
false,
None,
accounts_db::AccountShrinkThreshold::default(),
false,
@ -1138,7 +1137,6 @@ fn test_snapshots_with_background_services(
None,
None,
AccountSecondaryIndexes::default(),
false,
None,
accounts_db::AccountShrinkThreshold::default(),
false,

View File

@ -212,7 +212,6 @@ fn bank_forks_from_snapshot(
process_options.runtime_config.bpf_jit,
)),
process_options.account_indexes.clone(),
true, // caching_enabled
process_options.limit_load_slot_count_from_snapshot,
process_options.shrink_ratio,
process_options.accounts_db_test_hash_calculation,

View File

@ -1062,7 +1062,6 @@ pub fn bank_from_latest_snapshot_archives(
debug_keys: Option<Arc<HashSet<Pubkey>>>,
additional_builtins: Option<&Builtins>,
account_secondary_indexes: AccountSecondaryIndexes,
_accounts_db_caching_enabled: bool,
limit_load_slot_count_from_snapshot: Option<usize>,
shrink_ratio: AccountShrinkThreshold,
test_hash_calculation: bool,
@ -3623,7 +3622,6 @@ mod tests {
None,
None,
AccountSecondaryIndexes::default(),
false,
None,
AccountShrinkThreshold::default(),
false,