From e11eb36b551ba64cebf26b295110c88f830aada0 Mon Sep 17 00:00:00 2001 From: Brooks Date: Tue, 16 Jul 2024 19:53:38 -0400 Subject: [PATCH] Removes deprecated --halt-on-known-validators-accounts-hash-mismatch cli arg (#2154) (cherry picked from commit 4f228f4c3c7dcc9dca47809c6359f8e43e61fa7b) --- multinode-demo/validator.sh | 3 --- validator/src/cli.rs | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/multinode-demo/validator.sh b/multinode-demo/validator.sh index efb7a6afd56ea0..77082f6589245b 100755 --- a/multinode-demo/validator.sh +++ b/multinode-demo/validator.sh @@ -164,9 +164,6 @@ while [[ -n $1 ]]; do elif [[ $1 = --known-validator ]]; then args+=("$1" "$2") shift 2 - elif [[ $1 = --halt-on-known-validators-accounts-hash-mismatch ]]; then - args+=("$1") - shift elif [[ $1 = --max-genesis-archive-unpacked-size ]]; then args+=("$1" "$2") shift 2 diff --git a/validator/src/cli.rs b/validator/src/cli.rs index 3c7ad1b20ef6cc..b65054a20da139 100644 --- a/validator/src/cli.rs +++ b/validator/src/cli.rs @@ -2027,17 +2027,6 @@ fn deprecated_arguments() -> Vec { .long("enable-quic-servers"), usage_warning: "The quic server is now enabled by default.", ); - add_arg!( - Arg::with_name("halt_on_known_validators_accounts_hash_mismatch") - .alias("halt-on-trusted-validators-accounts-hash-mismatch") - .long("halt-on-known-validators-accounts-hash-mismatch") - .requires("known_validators") - .takes_value(false) - .help( - "Abort the validator if a bank hash mismatch is detected within known validator \ - set" - ), - ); add_arg!(Arg::with_name("minimal_rpc_api") .long("minimal-rpc-api") .takes_value(false)