Fix missed rebase on net.sh (#7037)
This commit is contained in:
parent
b958bf9086
commit
2d7c7b0982
21
net/net.sh
21
net/net.sh
|
@ -61,7 +61,7 @@ Operate a configured testnet
|
|||
- Override the default --hashes-per-tick for the cluster
|
||||
--no-airdrop
|
||||
- If set, disables airdrops. Nodes must be funded in genesis config when airdrops are disabled.
|
||||
--lamports NUM_LAMPORTS_TO_MINT
|
||||
--faucet-lamports NUM_LAMPORTS_TO_MINT
|
||||
- Override the default 500000000000000000 lamports minted in genesis
|
||||
--internal-nodes-stake-lamports NUM_LAMPORTS_PER_NODE
|
||||
- Amount to stake internal nodes.
|
||||
|
@ -88,6 +88,10 @@ Operate a configured testnet
|
|||
|
||||
--use-move - Build the move-loader-program and add it to the cluster
|
||||
|
||||
--operating-mode development|softlaunch
|
||||
- Specify whether or not to launch the cluster in "development" mode with all features enabled at epoch 0,
|
||||
or "softlaunch" mode with some features disabled at epoch 0 (default: development)
|
||||
|
||||
sanity/start-specific options:
|
||||
-F - Discard validator nodes that didn't bootup successfully
|
||||
-o noInstallCheck - Skip solana-install sanity
|
||||
|
@ -168,7 +172,18 @@ while [[ -n $1 ]]; do
|
|||
elif [[ $1 = --target-lamports-per-signature ]]; then
|
||||
genesisOptions="$genesisOptions $1 $2"
|
||||
shift 2
|
||||
elif [[ $1 = --lamports ]]; then
|
||||
elif [[ $1 = --faucet-lamports ]]; then
|
||||
genesisOptions="$genesisOptions $1 $2"
|
||||
shift 2
|
||||
elif [[ $1 = --operating-mode ]]; then
|
||||
case "$2" in
|
||||
development|softlaunch)
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected operating mode: \"$2\""
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
genesisOptions="$genesisOptions $1 $2"
|
||||
shift 2
|
||||
elif [[ $1 = --no-snapshot-fetch ]]; then
|
||||
|
@ -845,7 +860,6 @@ deploy() {
|
|||
echo "Network start logs in $netLogDir"
|
||||
}
|
||||
|
||||
|
||||
stopNode() {
|
||||
local ipAddress=$1
|
||||
local block=$2
|
||||
|
@ -918,7 +932,6 @@ stop() {
|
|||
echo "Stopping nodes took $SECONDS seconds"
|
||||
}
|
||||
|
||||
|
||||
checkPremptibleInstances() {
|
||||
# The validatorIpList nodes may be preemptible instances that can disappear at
|
||||
# any time. Try to detect when a validator has been preempted to help the user
|
||||
|
|
Loading…
Reference in New Issue