Skip to content

Commit

Permalink
Fix beacon url in validator
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Jul 5, 2024
1 parent 80c266a commit e486c56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions validator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ COPY auth-token ${AUTH_TOKEN_PATH}

ENV NETWORK=${NETWORK} \
AUTH_TOKEN_PATH=${AUTH_TOKEN_PATH} \
NIMBUS_BIN="/home/user/nimbus_validator_client" \
STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION}

ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/
Expand Down
4 changes: 2 additions & 2 deletions validator/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ run_validator() {
echo "[INFO - entrypoint] Running validator service"

# shellcheck disable=SC2086
exec nimbus_validator_client \
exec ${NIMBUS_BIN} \
--log-level="${LOG_TYPE}" \
--doppelganger-detection="${ENABLE_DOPPELGANGER}" \
--non-interactive=true \
Expand All @@ -27,7 +27,7 @@ run_validator() {
--metrics-address=0.0.0.0 \
--metrics-port=8008 \
--graffiti="${GRAFFITI}" \
--beacon-node="${BEACON_NODE_API_URL}" ${EXTRA_OPTS}
--beacon-node="${BEACON_API_URL}" ${EXTRA_OPTS}
}

format_graffiti
Expand Down

0 comments on commit e486c56

Please sign in to comment.