Improve net scripts (backport #16699) (#16700)

* Pass limit-ledger-size value

(cherry picked from commit 51b748408c)

* Initialize non-bootstrap ndoes with faucet address

(cherry picked from commit 053120e04c)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
mergify[bot]
2021-04-21 08:45:11 +00:00
committed by GitHub
parent e15ddbb979
commit ea2cc90215
2 changed files with 4 additions and 2 deletions

View File

@ -835,8 +835,8 @@ while [[ -n $1 ]]; do
doBuild=false
shift 1
elif [[ $1 = --limit-ledger-size ]]; then
maybeLimitLedgerSize="$1"
shift 1
maybeLimitLedgerSize="$1" "$2"
shift 2
elif [[ $1 = --skip-poh-verify ]]; then
maybeSkipLedgerVerify="$1"
shift 1

View File

@ -360,6 +360,8 @@ EOF
if [[ $airdropsEnabled != true ]]; then
args+=(--no-airdrop)
else
args+=(--rpc-faucet-address "$entrypointIp:9900")
fi
if [[ -r "$SOLANA_CONFIG_DIR"/bank-hash ]]; then