From e09830161739c9234af893a5a66212b314f890c6 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 13 Dec 2022 18:33:06 -0600 Subject: [PATCH] remove rebuild_bank_from_snapshots(caching_enabled) (#29247) * fix tests broken by add_root change * remove rebuild_bank_from_snapshots(caching_enabled) --- runtime/src/snapshot_utils.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index 2ffa4a24120c38..11f349040d6c3b 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -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>>, 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, shrink_ratio: AccountShrinkThreshold, verify_index: bool,