Sfoglia il codice sorgente

v2.0: Removes deprecated --halt-on-known-validators-accounts-hash-mismatch cli arg (backport of #2154) (#2157)

Removes deprecated --halt-on-known-validators-accounts-hash-mismatch cli arg (#2154)

(cherry picked from commit 4f228f4c3c7dcc9dca47809c6359f8e43e61fa7b)

Co-authored-by: Brooks <brooks@anza.xyz>
mergify[bot] 1 anno fa
parent
commit
749c1e8147
2 ha cambiato i file con 0 aggiunte e 14 eliminazioni
  1. 0 3
      multinode-demo/validator.sh
  2. 0 11
      validator/src/cli.rs

+ 0 - 3
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

+ 0 - 11
validator/src/cli.rs

@@ -2027,17 +2027,6 @@ fn deprecated_arguments() -> Vec<DeprecatedArg> {
             .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)