Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Improve net scripts (backport #16699) (#16700)
Browse files Browse the repository at this point in the history
* Pass limit-ledger-size value

(cherry picked from commit 51b7484)

* Initialize non-bootstrap ndoes with faucet address

(cherry picked from commit 053120e)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
  • Loading branch information
mergify[bot] and Tyera Eulberg authored Apr 21, 2021
1 parent e15ddbb commit ea2cc90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/net.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions net/remote/remote-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea2cc90

Please sign in to comment.