Skip to content

Commit

Permalink
remove rebuild_bank_from_snapshots(caching_enabled) (solana-labs#29247)
Browse files Browse the repository at this point in the history
* fix tests broken by add_root change

* remove rebuild_bank_from_snapshots(caching_enabled)
  • Loading branch information
jeffwashington authored and gnapoli23 committed Dec 16, 2022
1 parent f78843b commit e098301
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e098301

Please sign in to comment.