remove rebuild_bank_from_snapshots(caching_enabled) (#29247)

* fix tests broken by add_root change

* remove rebuild_bank_from_snapshots(caching_enabled)
This commit is contained in:
Jeff Washington (jwash) 2022-12-13 18:33:06 -06:00 committed by GitHub
parent f355066456
commit b8e25282c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -1003,7 +1003,6 @@ pub fn bank_from_snapshot_archives(
debug_keys,
additional_builtins,
account_secondary_indexes,
true, // caching_enabled
limit_load_slot_count_from_snapshot,
shrink_ratio,
verify_index,
@ -1788,8 +1787,6 @@ fn rebuild_bank_from_snapshots(
debug_keys: Option<Arc<HashSet<Pubkey>>>,
additional_builtins: Option<&Builtins>,
account_secondary_indexes: AccountSecondaryIndexes,
// this parameter will be removed when all plumbing for disabling write cache is removed
_accounts_db_caching_enabled: bool,
limit_load_slot_count_from_snapshot: Option<usize>,
shrink_ratio: AccountShrinkThreshold,
verify_index: bool,