Skip to content

Commit

Permalink
Removes deprecated --halt-on-known-validators-accounts-hash-mismatch …
Browse files Browse the repository at this point in the history
…cli arg (anza-xyz#2154)
  • Loading branch information
brooksprumo authored Jul 16, 2024
1 parent 4c7996c commit 4f228f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions multinode-demo/validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 0 additions & 11 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2047,17 +2047,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)
Expand Down

0 comments on commit 4f228f4

Please sign in to comment.