diff --git a/runtime/src/serde_snapshot.rs b/runtime/src/serde_snapshot.rs index dfe7af1cfa..5582a3a1b9 100644 --- a/runtime/src/serde_snapshot.rs +++ b/runtime/src/serde_snapshot.rs @@ -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( debug_keys: Option>>, additional_builtins: Option<&Builtins>, account_secondary_indexes: AccountSecondaryIndexes, - caching_enabled: bool, limit_load_slot_count_from_snapshot: Option, 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( storage_and_next_append_vec_id: StorageAndNextAppendVecId, genesis_config: &GenesisConfig, account_secondary_indexes: AccountSecondaryIndexes, - _caching_enabled: bool, limit_load_slot_count_from_snapshot: Option, shrink_ratio: AccountShrinkThreshold, verify_index: bool, diff --git a/runtime/src/serde_snapshot/tests.rs b/runtime/src/serde_snapshot/tests.rs index 0312548207..7765bcfa38 100644 --- a/runtime/src/serde_snapshot/tests.rs +++ b/runtime/src/serde_snapshot/tests.rs @@ -111,7 +111,6 @@ where ..GenesisConfig::default() }, AccountSecondaryIndexes::default(), - false, None, AccountShrinkThreshold::default(), false,