Skip to content

Commit

Permalink
No automatic switch of Erigon repo yet (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Sep 17, 2024
1 parent 83feff3 commit 440eba0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -1115,12 +1115,12 @@ __env_migrate() {
if [[ "${__var}" = "LH_DOCKER_TAG" && "${__value}" = "latest-modern" ]]; then # LH 5.2 ditched latest-modern
__value="latest"
fi
if [[ "${__var}" = "ERIGON_DOCKER_TAG" && "${__value}" = "stable" ]]; then # Erigon switched to latest
__value="latest"
fi
if [[ "${__var}" = "ERIGON_DOCKER_REPO" && "${__value}" = "thorax/erigon" ]]; then # Erigon new repo
__value="erigontech/erigon"
fi
# if [[ "${__var}" = "ERIGON_DOCKER_TAG" && "${__value}" = "stable" ]]; then # Erigon switched to latest
# __value="latest"
# fi
# if [[ "${__var}" = "ERIGON_DOCKER_REPO" && "${__value}" = "thorax/erigon" ]]; then # Erigon new repo
# __value="erigontech/erigon"
# fi
sed -i'.original' -e "s~^\(${__var}\s*=\s*\).*$~\1${__value}~" "${__env_file}"
fi
done
Expand Down

0 comments on commit 440eba0

Please sign in to comment.