Skip to content

Commit

Permalink
Updating hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
IPadawans committed Jul 3, 2024
1 parent c9bd761 commit a3424f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/hydra
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,13 @@ function check_if_should_run_update() {
load_scripts
run_migrations
fi

local snapshot_fees=$(jq -r '.snapshot_fees // empty' "$ROOT_PATH/euclid.json")
if [ -z "$monitoring" ]; then
echo "$(tput setaf 3) Could not find the snapshot_fees field on euclid.json file, the file is probably outdated. Running migrations..."
load_scripts
run_migrations
fi
}

function check_if_the_container_is_running() {
Expand Down

0 comments on commit a3424f0

Please sign in to comment.