Skip to content

Commit

Permalink
ci: use mainnet applied endpoint (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Dec 20, 2024
1 parent 98746a4 commit 4530a5e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ jobs:
echo "SNAPSHOT_BLOCK_HEIGHT=$SNAPSHOT_BLOCK_HEIGHT" >> $GITHUB_ENV
echo "Snapshot block height: $SNAPSHOT_BLOCK_HEIGHT"
APPLIED_URL=https://api.testnet.elys.network/cosmos/upgrade/v1beta1/applied_plan/${LATEST_TAG}
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
APPLIED_URL=https://api.elys.network/cosmos/upgrade/v1beta1/applied_plan/${LATEST_TAG}
else
APPLIED_URL=https://api.testnet.elys.network/cosmos/upgrade/v1beta1/applied_plan/${LATEST_TAG}
fi
curl -L $APPLIED_URL -o /tmp/applied.json
echo "Applied.json downloaded to check snapshot version."
Expand Down

0 comments on commit 4530a5e

Please sign in to comment.