Skip to content

Commit

Permalink
multinode-demo scripts support --block-production-method arg (#33891)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored Oct 31, 2023
1 parent 3049199 commit b2cec5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions multinode-demo/bootstrap-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ while [[ -n $1 ]]; do
elif [[ $1 = --log-messages-bytes-limit ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-production-method ]]; then
args+=("$1" "$2")
shift 2
else
echo "Unknown argument: $1"
$program --help
Expand Down
3 changes: 3 additions & 0 deletions multinode-demo/validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ while [[ -n $1 ]]; do
elif [[ $1 == --skip-require-tower ]]; then
maybeRequireTower=false
shift
elif [[ $1 == --block-production-method ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 = -h ]]; then
usage "$@"
else
Expand Down

0 comments on commit b2cec5a

Please sign in to comment.