Skip to content

Commit 60b3f3c

Browse files
committed
remove --full-rpc-api as default in startup_scripts.rs for all validators
1 parent 8130bf8 commit 60b3f3c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/startup_scripts.rs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ while [[ -n $1 ]]; do
7474
elif [[ $1 = --no-rocksdb-compaction ]]; then # not enabled in net.sh
7575
args+=("$1")
7676
shift
77-
elif [[ $1 = --enable-rpc-transaction-history ]]; then # enabled through full-rpc
77+
elif [[ $1 = --enable-rpc-transaction-history ]]; then
7878
args+=("$1")
7979
shift
8080
elif [[ $1 = --rpc-pubsub-enable-block-subscription ]]; then # not enabled in net.sh
@@ -83,7 +83,10 @@ while [[ -n $1 ]]; do
8383
elif [[ $1 = --enable-cpi-and-log-storage ]]; then # not enabled in net.sh
8484
args+=("$1")
8585
shift
86-
elif [[ $1 = --enable-extended-tx-metadata-storage ]]; then # enabled through full-rpc
86+
elif [[ $1 = --full-rpc-api ]]; then
87+
args+=("$1")
88+
shift
89+
elif [[ $1 = --enable-extended-tx-metadata-storage ]]; then
8790
args+=("$1")
8891
shift
8992
elif [[ $1 = --enable-rpc-bigtable-ledger-storage ]]; then
@@ -161,9 +164,7 @@ args+=(
161164
--rpc-faucet-address "$MY_POD_IP":9900 \
162165
--no-poh-speed-test \
163166
--no-incremental-snapshots \
164-
--full-rpc-api \
165167
--allow-private-addr \
166-
--enable-rpc-transaction-history
167168
)
168169
169170
echo "Bootstrap Args"
@@ -361,6 +362,9 @@ while [[ -n $1 ]]; do
361362
elif [[ $1 = --no-rocksdb-compaction ]]; then
362363
args+=("$1")
363364
shift
365+
elif [[ $1 = --full-rpc-api ]]; then
366+
args+=("$1")
367+
shift
364368
elif [[ $1 = --enable-rpc-transaction-history ]]; then
365369
args+=("$1")
366370
shift
@@ -465,12 +469,10 @@ default_arg --identity "$identity"
465469
default_arg --vote-account "$vote_account"
466470
default_arg --ledger "$ledger_dir"
467471
default_arg --log -
468-
default_arg --full-rpc-api
469472
default_arg --no-incremental-snapshots
470473
default_arg --allow-private-addr
471474
default_arg --gossip-port 8001
472475
default_arg --rpc-port 8899
473-
default_arg --enable-rpc-transaction-history
474476
475477
PS4="$(basename "$0"): "
476478
echo "PS4: $PS4"
@@ -727,6 +729,9 @@ while [[ -n $1 ]]; do
727729
elif [[ $1 = --ledger ]]; then
728730
ledger_dir=$2
729731
shift 2
732+
elif [[ $1 = --full-rpc-api ]]; then
733+
args+=("$1")
734+
shift
730735
elif [[ $1 = --entrypoint ]]; then
731736
gossip_entrypoint=$2
732737
args+=("$1" "$2")
@@ -873,7 +878,6 @@ fi
873878
default_arg --identity "$identity"
874879
default_arg --ledger "$ledger_dir"
875880
default_arg --log -
876-
default_arg --full-rpc-api
877881
default_arg --no-incremental-snapshots
878882
default_arg --allow-private-addr
879883
default_arg --gossip-port 8001

0 commit comments

Comments
 (0)