remove caching_enabled from serde_snapshot (#29246)

* fix tests broken by add_root change

* remove caching_enabled from serde_snapshot
This commit is contained in:
Jeff Washington (jwash) 2022-12-13 18:32:43 -06:00 committed by GitHub
parent 62be54a75e
commit f355066456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -332,7 +332,6 @@ where
debug_keys,
additional_builtins,
account_secondary_indexes,
true, // caching_enabled
limit_load_slot_count_from_snapshot,
shrink_ratio,
verify_index,
@ -522,7 +521,6 @@ fn reconstruct_bank_from_fields<E>(
debug_keys: Option<Arc<HashSet<Pubkey>>>,
additional_builtins: Option<&Builtins>,
account_secondary_indexes: AccountSecondaryIndexes,
caching_enabled: bool,
limit_load_slot_count_from_snapshot: Option<usize>,
shrink_ratio: AccountShrinkThreshold,
verify_index: bool,
@ -539,7 +537,6 @@ where
storage_and_next_append_vec_id,
genesis_config,
account_secondary_indexes,
caching_enabled,
limit_load_slot_count_from_snapshot,
shrink_ratio,
verify_index,
@ -661,7 +658,6 @@ fn reconstruct_accountsdb_from_fields<E>(
storage_and_next_append_vec_id: StorageAndNextAppendVecId,
genesis_config: &GenesisConfig,
account_secondary_indexes: AccountSecondaryIndexes,
_caching_enabled: bool,
limit_load_slot_count_from_snapshot: Option<usize>,
shrink_ratio: AccountShrinkThreshold,
verify_index: bool,

View File

@ -111,7 +111,6 @@ where
..GenesisConfig::default()
},
AccountSecondaryIndexes::default(),
false,
None,
AccountShrinkThreshold::default(),
false,