remove bank_from_snapshot_archives caching_enabled (#29171)
This commit is contained in:
parent
99f0113450
commit
45ba5ef6fd
|
@ -453,7 +453,6 @@ fn test_snapshots_have_expected_epoch_accounts_hash() {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
true,
|
||||
|
|
|
@ -172,7 +172,6 @@ fn restore_from_snapshot(
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
accounts_db::AccountShrinkThreshold::default(),
|
||||
check_hash_calculation,
|
||||
|
|
|
@ -609,7 +609,6 @@ fn test_extra_fields_full_snapshot_archive() {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
|
|
@ -959,7 +959,6 @@ pub fn bank_from_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,
|
||||
|
@ -1004,7 +1003,7 @@ pub fn bank_from_snapshot_archives(
|
|||
debug_keys,
|
||||
additional_builtins,
|
||||
account_secondary_indexes,
|
||||
accounts_db_caching_enabled,
|
||||
true, // caching_enabled
|
||||
limit_load_slot_count_from_snapshot,
|
||||
shrink_ratio,
|
||||
verify_index,
|
||||
|
@ -1063,7 +1062,7 @@ 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,
|
||||
_accounts_db_caching_enabled: bool,
|
||||
limit_load_slot_count_from_snapshot: Option<usize>,
|
||||
shrink_ratio: AccountShrinkThreshold,
|
||||
test_hash_calculation: bool,
|
||||
|
@ -1108,7 +1107,6 @@ pub fn bank_from_latest_snapshot_archives(
|
|||
debug_keys,
|
||||
additional_builtins,
|
||||
account_secondary_indexes,
|
||||
accounts_db_caching_enabled,
|
||||
limit_load_slot_count_from_snapshot,
|
||||
shrink_ratio,
|
||||
test_hash_calculation,
|
||||
|
@ -3261,7 +3259,6 @@ mod tests {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
@ -3374,7 +3371,6 @@ mod tests {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
@ -3507,7 +3503,6 @@ mod tests {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
@ -3771,7 +3766,6 @@ mod tests {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
@ -3836,7 +3830,6 @@ mod tests {
|
|||
None,
|
||||
None,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
|
Loading…
Reference in New Issue