rent for testnet (#7407)
This commit is contained in:
@ -35,7 +35,7 @@ EOF
|
|||||||
|
|
||||||
args=()
|
args=()
|
||||||
airdrops_enabled=1
|
airdrops_enabled=1
|
||||||
node_lamports=500000000000 # 500 SOL: number of lamports to airdrop the node for transaction fees (ignored if airdrops_enabled=0)
|
node_lamports=500000000000 # 500 SOL: number of lamports to airdrop the node for transaction fees and vote account rent exemption (ignored if airdrops_enabled=0)
|
||||||
label=
|
label=
|
||||||
identity_keypair_path=
|
identity_keypair_path=
|
||||||
voting_keypair_path=
|
voting_keypair_path=
|
||||||
|
@ -28,13 +28,6 @@ gpuMode="${19:-auto}"
|
|||||||
GEOLOCATION_API_KEY="${20}"
|
GEOLOCATION_API_KEY="${20}"
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
# Use a very large stake (relative to the default multinode-demo/ stake of 42)
|
|
||||||
# for the testnet validators setup by net/. This make it less likely that
|
|
||||||
# low-staked ephemeral validator a random user may attach to testnet will cause
|
|
||||||
# trouble
|
|
||||||
#
|
|
||||||
# Ref: https://github.com/solana-labs/solana/issues/3798
|
|
||||||
stake=${internalNodesStakeLamports:=424243}
|
|
||||||
|
|
||||||
missing() {
|
missing() {
|
||||||
echo "Error: $1 not specified"
|
echo "Error: $1 not specified"
|
||||||
@ -220,9 +213,9 @@ EOF
|
|||||||
genesisOptions+=" --primordial-accounts-file config/client-accounts.yml"
|
genesisOptions+=" --primordial-accounts-file config/client-accounts.yml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
args=(
|
if [[ -n $internalNodesStakeLamports ]]; then
|
||||||
--bootstrap-leader-stake-lamports "$stake"
|
args+=(--bootstrap-leader-stake-lamports "$internalNodesStakesLamports")
|
||||||
)
|
fi
|
||||||
if [[ -n $internalNodesLamports ]]; then
|
if [[ -n $internalNodesLamports ]]; then
|
||||||
args+=(--bootstrap-leader-lamports "$internalNodesLamports")
|
args+=(--bootstrap-leader-lamports "$internalNodesLamports")
|
||||||
fi
|
fi
|
||||||
@ -387,7 +380,6 @@ EOF
|
|||||||
|
|
||||||
args=(
|
args=(
|
||||||
--url http://"$entrypointIp":8899
|
--url http://"$entrypointIp":8899
|
||||||
"$stake"
|
|
||||||
)
|
)
|
||||||
if [[ $airdropsEnabled != true ]]; then
|
if [[ $airdropsEnabled != true ]]; then
|
||||||
args+=(--no-airdrop)
|
args+=(--no-airdrop)
|
||||||
|
Reference in New Issue
Block a user