Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix test suite configuration script #2402

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
shumkov marked this conversation as resolved.
Show resolved Hide resolved
SKIP_SYNC_BEFORE_HEIGHT=$(curl -s $INSIGHT_URL | jq '.height - 200')
shumkov marked this conversation as resolved.
Show resolved Hide resolved

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