From 19f9f4dc8e9db4bd24375815da403e001ae06770 Mon Sep 17 00:00:00 2001 From: Brooks Date: Tue, 9 Jul 2024 14:21:16 -0400 Subject: [PATCH] Removes unused deprecated cli args (#2058) (cherry picked from commit 05134bed3b8f6cef24d68ad0052a3288bcaeda49) --- validator/src/cli.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/validator/src/cli.rs b/validator/src/cli.rs index f32dd9f5cae..2046651652e 100644 --- a/validator/src/cli.rs +++ b/validator/src/cli.rs @@ -1958,16 +1958,6 @@ fn deprecated_arguments() -> Vec { (@into-option $v:expr) => { Some($v) }; } - add_arg!(Arg::with_name("accounts_db_caching_enabled").long("accounts-db-caching-enabled")); - add_arg!( - Arg::with_name("accounts_db_index_hashing") - .long("accounts-db-index-hashing") - .help( - "Enables the use of the index in hash calculation in \ - AccountsHashVerifier/Accounts Background Service.", - ), - usage_warning: "The accounts hash is only calculated without using the index.", - ); add_arg!( Arg::with_name("accounts_db_skip_shrink") .long("accounts-db-skip-shrink") @@ -2062,16 +2052,6 @@ fn deprecated_arguments() -> Vec { .long("minimal-rpc-api") .takes_value(false) .help("Only expose the RPC methods required to serve snapshots to other nodes")); - add_arg!( - Arg::with_name("no_accounts_db_index_hashing") - .long("no-accounts-db-index-hashing") - .help( - "This is obsolete. See --accounts-db-index-hashing. \ - Disables the use of the index in hash calculation in \ - AccountsHashVerifier/Accounts Background Service.", - ), - usage_warning: "The accounts hash is only calculated without using the index.", - ); add_arg!( Arg::with_name("no_check_vote_account") .long("no-check-vote-account")