Skip to content

Commit

Permalink
chore: fix test suite configuration script
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Dec 19, 2024
1 parent 01a5b7a commit 2a959f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/configure_test_suite_network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,15 @@ MASTERNODE_OWNER_MASTER_PRIVATE_KEY=$(yq .hp_masternodes."$MASTERNODE_NAME".owne

if [[ "$NETWORK_STRING" == "devnet"* ]]; then
NETWORK=devnet
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
CERT_FLAG=":self-signed"
ST_EXECUTION_INTERVAL=5000
else
NETWORK=testnet
INSIGHT_URL="https://testnet-insight.dashevo.org/insight-api/sync"
CERT_FLAG=""
ST_EXECUTION_INTERVAL=15000
fi
SKIP_SYNC_BEFORE_HEIGHT=4800 # $(curl -s $INSIGHT_URL | jq '.height - 200')
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
SKIP_SYNC_BEFORE_HEIGHT=$(curl -s $INSIGHT_URL | jq '.height - 200')

# check variables are not empty
if [ -z "$FAUCET_ADDRESS" ] || \
Expand Down

0 comments on commit 2a959f5

Please sign in to comment.