Don't start drone if primordial accounts are created for nodes (#4704)

* disable wallet sanity if no airdrops
This commit is contained in:
Pankaj Garg
2019-06-17 18:15:22 -07:00
committed by GitHub
parent cc48773b03
commit 7fe10ba060
3 changed files with 28 additions and 11 deletions

View File

@ -13,6 +13,7 @@ deployMethod=
entrypointIp=
numNodes=
failOnValidatorBootupFailure=
airdropsEnabled=true
[[ -r deployConfig ]] || {
echo deployConfig missing
@ -122,11 +123,16 @@ echo "--- $sanityTargetIp: RPC API: getTransactionCount"
http://"$sanityTargetIp":8899
)
echo "--- $sanityTargetIp: wallet sanity"
(
set -x
scripts/wallet-sanity.sh --url http://"$sanityTargetIp":8899
)
if [[ "$airdropsEnabled" = true ]]; then
echo "--- $sanityTargetIp: wallet sanity"
(
set -x
scripts/wallet-sanity.sh --url http://"$sanityTargetIp":8899
)
else
echo "^^^ +++"
echo "Note: wallet sanity is disabled as airdrops are disabled"
fi
echo "--- $sanityTargetIp: verify ledger"
if $ledgerVerify; then