Skip to content

Commit

Permalink
Updates bootstrap and start scripts needed for local dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdoc committed Sep 25, 2023
1 parent 8928640 commit e033bf9
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ backoff = "0.4.0"
base64 = "0.21.2"
bincode = "1.3.3"
bitflags = "1.3.1"
blake3 = "=1.3.1" # TODO (LB): pinned here
blake3 = "1.3.3"
block-buffer = "0.10.4"
borsh = "0.10.3"
bs58 = "0.4.0"
Expand Down
30 changes: 12 additions & 18 deletions multinode-demo/bootstrap-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,30 +103,12 @@ while [[ -n $1 ]]; do
elif [[ $1 == --skip-require-tower ]]; then
maybeRequireTower=false
shift
elif [[ $1 == --trust-relayer-packets ]]; then
args+=("$1")
shift
elif [[ $1 == --trust-block-engine-packets ]]; then
args+=("$1")
shift
elif [[ $1 == --relayer-url ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --relayer-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-url ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-auth-service-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --relayer-auth-service-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --tip-payment-program-pubkey ]]; then
args+=("$1" "$2")
shift 2
Expand All @@ -142,6 +124,18 @@ while [[ -n $1 ]]; do
elif [[ $1 = --log-messages-bytes-limit ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --geyser-plugin-config ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --trust-relayer-packets ]]; then
args+=("$1")
shift
elif [[ $1 == --rpc-threads ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --trust-block-engine-packets ]]; then
args+=("$1")
shift
else
echo "Unknown argument: $1"
$program --help
Expand Down
30 changes: 18 additions & 12 deletions multinode-demo/validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,12 @@ while [[ -n $1 ]]; do
vote_account=$2
args+=("$1" "$2")
shift 2
elif [[ $1 == --relayer-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-url ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --block-engine-auth-service-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --relayer-url ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --relayer-auth-service-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 = --merkle-root-upload-authority ]]; then
args+=("$1" "$2")
shift 2
Expand Down Expand Up @@ -212,6 +200,24 @@ while [[ -n $1 ]]; do
elif [[ $1 == --skip-require-tower ]]; then
maybeRequireTower=false
shift
elif [[ $1 == --rpc-pubsub-enable-block-subscription ]]; then
args+=("$1")
shift
elif [[ $1 == --geyser-plugin-config ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --trust-relayer-packets ]]; then
args+=("$1")
shift
elif [[ $1 == --rpc-threads ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --shred-receiver-address ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 == --trust-block-engine-packets ]]; then
args+=("$1")
shift
elif [[ $1 = -h ]]; then
usage "$@"
else
Expand Down

0 comments on commit e033bf9

Please sign in to comment.