diff --git a/default.env b/default.env index a9478c95..7e6c2ff6 100644 --- a/default.env +++ b/default.env @@ -16,7 +16,7 @@ GRAFFITI=🦉eth-docker🦉 # Set to true to use the client's default Graffiti. Overrides GRAFFITI DEFAULT_GRAFFITI=false # Merged network to use. If using main net, set to mainnet. -NETWORK=goerli +NETWORK=holesky # CL rapid sync via initial state/checkpoint. Please use one from https://eth-clients.github.io/checkpoint-sync-endpoints/ # Alternatively, use an already synced CL that you trust. No trailing / for Teku, please. RAPID_SYNC_URL= diff --git a/ethd b/ethd index f08607cf..59c9cfd0 100755 --- a/ethd +++ b/ethd @@ -2090,7 +2090,8 @@ query_checkpoint_beacon() { RAPID_SYNC_URL="https://goerli.beaconstate.info" ;; "holesky") - RAPID_SYNC_URL="https://holesky.beaconstate.info" + #RAPID_SYNC_URL="https://holesky.beaconstate.info" + RAPID_SYNC_URL="" ;; "mainnet") RAPID_SYNC_URL="https://beaconstate.info" diff --git a/prysm/docker-entrypoint.sh b/prysm/docker-entrypoint.sh index d74a162c..8a5728c3 100755 --- a/prysm/docker-entrypoint.sh +++ b/prysm/docker-entrypoint.sh @@ -69,20 +69,29 @@ else fi # Fetch genesis file as needed -if [[ "${NETWORK}" = "prater" || "${NETWORK}" = "goerli" ]]; then +if [[ "${NETWORK}" = "goerli" || "${NETWORK}" = "prater" ]]; then GENESIS=/var/lib/prysm/genesis.ssz if [ ! -f "$GENESIS" ]; then - echo "Fetching genesis file for Goerli testnet" - curl -fsSL -o "$GENESIS" https://github.com/eth-clients/eth2-networks/raw/master/shared/prater/genesis.ssz + echo "Fetching genesis file for Görli testnet" + curl -fsSL -o "$GENESIS" https://github.com/eth-clients/goerli/raw/main/prater/genesis.ssz fi # Word splitting is desired for the command line parameters # shellcheck disable=SC2086 exec "$@" "--genesis-state=$GENESIS" ${__network} ${__rapid_sync} ${__prune} ${__mev_boost} ${CL_EXTRAS} elif [[ "${NETWORK}" = "sepolia" ]]; then -GENESIS=/var/lib/prysm/genesis.ssz + GENESIS=/var/lib/prysm/genesis.ssz if [ ! -f "$GENESIS" ]; then echo "Fetching genesis file for Sepolia testnet" - curl -fsSL -o "$GENESIS" https://github.com/eth-clients/merge-testnets/raw/main/sepolia/genesis.ssz + curl -fsSL -o "$GENESIS" https://github.com/eth-clients/sepolia/raw/main/bepolia/genesis.ssz + fi +# Word splitting is desired for the command line parameters +# shellcheck disable=SC2086 + exec "$@" "--genesis-state=$GENESIS" ${__network} ${__rapid_sync} ${__prune} ${__mev_boost} ${CL_EXTRAS} +elif [[ "${NETWORK}" = "holesky" ]]; then + GENESIS=/var/lib/prysm/genesis.ssz + if [ ! -f "$GENESIS" ]; then + echo "Fetching genesis file for Holešky testnet" + curl -fsSL -o "$GENESIS" https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz fi # Word splitting is desired for the command line parameters # shellcheck disable=SC2086