diff --git a/scripts/hydra b/scripts/hydra index cf4b2ee..41f23a0 100755 --- a/scripts/hydra +++ b/scripts/hydra @@ -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() {