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:
parent
62be54a75e
commit
f355066456
|
@ -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,
|
||||
|
|
|
@ -111,7 +111,6 @@ where
|
|||
..GenesisConfig::default()
|
||||
},
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
None,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
|
|
Loading…
Reference in New Issue