diff --git a/runtime/src/accounts.rs b/runtime/src/accounts.rs index f169a9806..dfcbe7ca5 100644 --- a/runtime/src/accounts.rs +++ b/runtime/src/accounts.rs @@ -163,7 +163,6 @@ impl Accounts { paths, cluster_type, account_indexes, - true, shrink_ratio, Some(ACCOUNTS_DB_CONFIG_FOR_TESTING), None, @@ -175,14 +174,13 @@ impl Accounts { paths: Vec, cluster_type: &ClusterType, account_indexes: AccountSecondaryIndexes, - caching_enabled: bool, + _caching_enabled: bool, shrink_ratio: AccountShrinkThreshold, ) -> Self { Self::new_with_config( paths, cluster_type, account_indexes, - caching_enabled, shrink_ratio, Some(ACCOUNTS_DB_CONFIG_FOR_BENCHMARKS), None, @@ -194,7 +192,6 @@ impl Accounts { paths: Vec, cluster_type: &ClusterType, account_indexes: AccountSecondaryIndexes, - _caching_enabled: bool, shrink_ratio: AccountShrinkThreshold, accounts_db_config: Option, accounts_update_notifier: Option, diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 6a163b7df..94780d8dd 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -1379,7 +1379,7 @@ impl Bank { debug_keys: Option>>, additional_builtins: Option<&Builtins>, account_indexes: AccountSecondaryIndexes, - accounts_db_caching_enabled: bool, + _accounts_db_caching_enabled: bool, shrink_ratio: AccountShrinkThreshold, debug_do_not_add_builtins: bool, accounts_db_config: Option, @@ -1390,7 +1390,6 @@ impl Bank { paths, &genesis_config.cluster_type, account_indexes, - accounts_db_caching_enabled, shrink_ratio, accounts_db_config, accounts_update_notifier,