From 44f1ef4f2ca69f2239ab7f836400e9684f0f9464 Mon Sep 17 00:00:00 2001 From: segfaultdoctor <17258903+segfaultdoc@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:16:14 -0400 Subject: [PATCH] Updates bootstrap and start scripts needed for local dev. (#384) --- jito-programs | 2 +- multinode-demo/bootstrap-validator.sh | 30 +++++++++++---------------- multinode-demo/validator.sh | 30 ++++++++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/jito-programs b/jito-programs index 4fc368901b..568ca4027a 160000 --- a/jito-programs +++ b/jito-programs @@ -1 +1 @@ -Subproject commit 4fc368901be002e3c49d590e789662d7b40c5423 +Subproject commit 568ca4027a94edf328dd0f73e8d4219db98618ca diff --git a/multinode-demo/bootstrap-validator.sh b/multinode-demo/bootstrap-validator.sh index 7a7709a270..983b5eb6be 100755 --- a/multinode-demo/bootstrap-validator.sh +++ b/multinode-demo/bootstrap-validator.sh @@ -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 @@ -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 diff --git a/multinode-demo/validator.sh b/multinode-demo/validator.sh index 439ca7d864..721008a661 100755 --- a/multinode-demo/validator.sh +++ b/multinode-demo/validator.sh @@ -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 @@ -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