diff --git a/beacon-chain/entrypoint.sh b/beacon-chain/entrypoint.sh index a166db4..c34fe12 100755 --- a/beacon-chain/entrypoint.sh +++ b/beacon-chain/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -CHECKPOINT_SYNC_KEY="--initial-state" +CHECKPOINT_SYNC_KEY="--checkpoint-sync-url" MEVBOOST_FLAG_KEYS="--builder-endpoint" # shellcheck disable=SC1091 # Path is relative to the Dockerfile @@ -11,7 +11,7 @@ VALID_FEE_RECIPIENT=$(get_valid_fee_recipient "${FEE_RECIPIENT_ADDRESS}") MEVBOOST_FLAG=$(get_mevboost_flag "${NETWORK}" "${MEVBOOST_FLAG_KEYS}") if [ -n "${CHECKPOINT_SYNC_URL}" ]; then - TEKU_FORMAT_CHECKPOINT_URL="$(echo "${CHECKPOINT_SYNC_URL}" | sed 's:/*$::')/eth/v2/debug/beacon/states/finalized" + TEKU_FORMAT_CHECKPOINT_URL="$(echo "${CHECKPOINT_SYNC_URL}" | sed 's:/*$::')" CHECKPOINT_SYNC_FLAG=$(get_checkpoint_sync_flag "${CHECKPOINT_SYNC_KEY}" "${TEKU_FORMAT_CHECKPOINT_URL}") fi