Don't start drone if primordial accounts are created for nodes (#4704)
* disable wallet sanity if no airdrops
This commit is contained in:
@ -42,12 +42,17 @@ missing() {
|
||||
[[ -n $skipSetup ]] || missing skipSetup
|
||||
[[ -n $failOnValidatorBootupFailure ]] || missing failOnValidatorBootupFailure
|
||||
|
||||
airdropsEnabled=true
|
||||
if [[ -n $stakeNodesInGenesisBlock ]]; then
|
||||
airdropsEnabled=false
|
||||
fi
|
||||
cat > deployConfig <<EOF
|
||||
deployMethod="$deployMethod"
|
||||
entrypointIp="$entrypointIp"
|
||||
numNodes="$numNodes"
|
||||
failOnValidatorBootupFailure=$failOnValidatorBootupFailure
|
||||
genesisOptions="$genesisOptions"
|
||||
airdropsEnabled=$airdropsEnabled
|
||||
EOF
|
||||
|
||||
source net/common.sh
|
||||
@ -141,8 +146,9 @@ local|tar)
|
||||
args+=($genesisOptions)
|
||||
./multinode-demo/setup.sh "${args[@]}"
|
||||
fi
|
||||
./multinode-demo/drone.sh > drone.log 2>&1 &
|
||||
|
||||
if [[ -z $stakeNodesInGenesisBlock ]]; then
|
||||
./multinode-demo/drone.sh > drone.log 2>&1 &
|
||||
fi
|
||||
args=(
|
||||
--enable-rpc-exit
|
||||
--gossip-port "$entrypointIp":8001
|
||||
@ -201,8 +207,9 @@ local|tar)
|
||||
# a static IP/DNS name for hosting the blockexplorer web app, and is
|
||||
# a location that somebody would expect to be able to airdrop from
|
||||
scp "$entrypointIp":~/solana/config-local/mint-keypair.json config-local/
|
||||
./multinode-demo/drone.sh > drone.log 2>&1 &
|
||||
|
||||
if [[ -z $stakeNodesInGenesisBlock ]]; then
|
||||
./multinode-demo/drone.sh > drone.log 2>&1 &
|
||||
fi
|
||||
export BLOCKEXPLORER_GEOIP_WHITELIST=$PWD/net/config/geoip.yml
|
||||
npm install @solana/blockexplorer@1
|
||||
npx solana-blockexplorer > blockexplorer.log 2>&1 &
|
||||
|
Reference in New Issue
Block a user