From 2a959f507d1c66429ce35355b6da0fe0004fd717 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Thu, 19 Dec 2024 12:28:15 +0700 Subject: [PATCH] chore: fix test suite configuration script --- scripts/configure_test_suite_network.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/configure_test_suite_network.sh b/scripts/configure_test_suite_network.sh index 498e9d2d03..b84e0286af 100755 --- a/scripts/configure_test_suite_network.sh +++ b/scripts/configure_test_suite_network.sh @@ -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" ] || \