From 287bb22f451973c123f0097390bc33a99ddc8c35 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:31:36 -0400 Subject: [PATCH] v2.0: Removes unused deprecated cli args (backport of #2058) (#2063) Removes unused deprecated cli args (#2058) (cherry picked from commit 05134bed3b8f6cef24d68ad0052a3288bcaeda49) Co-authored-by: Brooks --- validator/src/cli.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/validator/src/cli.rs b/validator/src/cli.rs index f32dd9f5cae8e1..2046651652ea58 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")