remove bank_from_latest_snapshot_archives(caching_enabled) (#29238)
This commit is contained in:
parent
a57247a78e
commit
bb0bfc4214
|
@ -917,7 +917,6 @@ fn restore_from_snapshots_and_check_banks_are_equal(
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
accounts_db::AccountShrinkThreshold::default(),
|
accounts_db::AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
@ -1138,7 +1137,6 @@ fn test_snapshots_with_background_services(
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
accounts_db::AccountShrinkThreshold::default(),
|
accounts_db::AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
|
|
@ -212,7 +212,6 @@ fn bank_forks_from_snapshot(
|
||||||
process_options.runtime_config.bpf_jit,
|
process_options.runtime_config.bpf_jit,
|
||||||
)),
|
)),
|
||||||
process_options.account_indexes.clone(),
|
process_options.account_indexes.clone(),
|
||||||
true, // caching_enabled
|
|
||||||
process_options.limit_load_slot_count_from_snapshot,
|
process_options.limit_load_slot_count_from_snapshot,
|
||||||
process_options.shrink_ratio,
|
process_options.shrink_ratio,
|
||||||
process_options.accounts_db_test_hash_calculation,
|
process_options.accounts_db_test_hash_calculation,
|
||||||
|
|
|
@ -1062,7 +1062,6 @@ pub fn bank_from_latest_snapshot_archives(
|
||||||
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
||||||
additional_builtins: Option<&Builtins>,
|
additional_builtins: Option<&Builtins>,
|
||||||
account_secondary_indexes: AccountSecondaryIndexes,
|
account_secondary_indexes: AccountSecondaryIndexes,
|
||||||
_accounts_db_caching_enabled: bool,
|
|
||||||
limit_load_slot_count_from_snapshot: Option<usize>,
|
limit_load_slot_count_from_snapshot: Option<usize>,
|
||||||
shrink_ratio: AccountShrinkThreshold,
|
shrink_ratio: AccountShrinkThreshold,
|
||||||
test_hash_calculation: bool,
|
test_hash_calculation: bool,
|
||||||
|
@ -3623,7 +3622,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Reference in New Issue