Skip to content

Commit

Permalink
fix(CI): state compat snapshots version (#6460)
Browse files Browse the repository at this point in the history
* fix(CI): state compat snapshots version

* updates
  • Loading branch information
p0mvn authored Sep 20, 2023
1 parent b6db671 commit fb69e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-state-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
cp /mnt/data/genesis/osmosis-1/genesis.json $HOME/.osmosisd/config/genesis.json
- name: ⏬ Download last pre-epoch snapshot
run: |
REPO_MAJOR_VERSION=v14
REPO_MAJOR_VERSION=v19
SNAPSHOT_INFO_URL=${{ env.SNAPSHOT_BUCKET }}/$REPO_MAJOR_VERSION/snapshots.json
# Get the latest pre-epoch snapshot information from bucket
Expand All @@ -137,7 +137,7 @@ jobs:
CONFIG_FOLDER=$HOME/.osmosisd/config
# Find last epoch block comparing repo version to current chain version
REPO_MAJOR_VERSION=14
REPO_MAJOR_VERSION=19
if [ $REPO_MAJOR_VERSION == $MAINNET_MAJOR_VERSION ]; then
# I'm in the latest major, fetch the epoch info from the lcd endpoint
Expand Down

0 comments on commit fb69e5c

Please sign in to comment.