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,
|
debug_keys,
|
||||||
additional_builtins,
|
additional_builtins,
|
||||||
account_secondary_indexes,
|
account_secondary_indexes,
|
||||||
true, // caching_enabled
|
|
||||||
limit_load_slot_count_from_snapshot,
|
limit_load_slot_count_from_snapshot,
|
||||||
shrink_ratio,
|
shrink_ratio,
|
||||||
verify_index,
|
verify_index,
|
||||||
|
@ -522,7 +521,6 @@ fn reconstruct_bank_from_fields<E>(
|
||||||
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,
|
||||||
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,
|
||||||
verify_index: bool,
|
verify_index: bool,
|
||||||
|
@ -539,7 +537,6 @@ where
|
||||||
storage_and_next_append_vec_id,
|
storage_and_next_append_vec_id,
|
||||||
genesis_config,
|
genesis_config,
|
||||||
account_secondary_indexes,
|
account_secondary_indexes,
|
||||||
caching_enabled,
|
|
||||||
limit_load_slot_count_from_snapshot,
|
limit_load_slot_count_from_snapshot,
|
||||||
shrink_ratio,
|
shrink_ratio,
|
||||||
verify_index,
|
verify_index,
|
||||||
|
@ -661,7 +658,6 @@ fn reconstruct_accountsdb_from_fields<E>(
|
||||||
storage_and_next_append_vec_id: StorageAndNextAppendVecId,
|
storage_and_next_append_vec_id: StorageAndNextAppendVecId,
|
||||||
genesis_config: &GenesisConfig,
|
genesis_config: &GenesisConfig,
|
||||||
account_secondary_indexes: AccountSecondaryIndexes,
|
account_secondary_indexes: AccountSecondaryIndexes,
|
||||||
_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,
|
||||||
verify_index: bool,
|
verify_index: bool,
|
||||||
|
|
|
@ -111,7 +111,6 @@ where
|
||||||
..GenesisConfig::default()
|
..GenesisConfig::default()
|
||||||
},
|
},
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Reference in New Issue