Skip to content

Commit

Permalink
Echo flags before run
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Sep 25, 2024
1 parent e0a3ea9 commit b7b99d1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
25 changes: 13 additions & 12 deletions beacon-chain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,22 @@ else
echo "[WARN - entrypoint] No checkpoint sync script provided. Syncing from genesis."
fi

echo "[INFO - entrypoint] Running beacon node service"

# shellcheck disable=SC2086
exec ${NIMBUS_BIN} \
--network="${NETWORK}" \
--data-dir="${DATA_DIR}" \
--tcp-port="${P2P_PORT}" \
--udp-port="${P2P_PORT}" \
--log-level="${LOG_TYPE}" \
FLAGS="--network=$NETWORK \
--data-dir=$DATA_DIR \
--tcp-port=$P2P_PORT \
--udp-port=$P2P_PORT \
--log-level=$LOG_TYPE \
--rest \
--rest-port=3500 \
--rest-address=0.0.0.0 \
--metrics \
--metrics-address=0.0.0.0 \
--metrics-port=8008 \
--jwt-secret="${JWT_FILE_PATH}" \
--web3-url="${ENGINE_URL}" \
--suggested-fee-recipient="${VALID_FEE_RECIPIENT}" ${MEVBOOST_FLAG} ${EXTRA_OPTS}
--jwt-secret=$JWT_FILE_PATH \
--web3-url=$ENGINE_URL \
--suggested-fee-recipient=$VALID_FEE_RECIPIENT $MEVBOOST_FLAG $EXTRA_OPTS"

echo "[INFO - entrypoint] Starting beacon with flags: $FLAGS"

# shellcheck disable=SC2086
exec ${NIMBUS_BIN} $FLAGS
21 changes: 11 additions & 10 deletions validator/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@ MEVBOOST_FLAG=$(get_mevboost_flag "${NETWORK}" "${MEVBOOST_FLAG_KEY}" "${SKIP_ME

echo "[INFO - entrypoint] Running validator service"

# shellcheck disable=SC2086
exec ${NIMBUS_BIN} \
--log-level="${LOG_TYPE}" \
--data-dir="${DATA_DIR}" \
--doppelganger-detection="${ENABLE_DOPPELGANGER}" \
FLAGS="--log-level=$LOG_TYPE \
--data-dir=$DATA_DIR \
--doppelganger-detection=$ENABLE_DOPPELGANGER \
--non-interactive \
--web3-signer-url="${SIGNER_API_URL}" \
--suggested-fee-recipient="${VALID_FEE_RECIPIENT}" \
--web3-signer-url=$SIGNER_API_URL \
--suggested-fee-recipient=$VALID_FEE_RECIPIENT \
--keymanager=true \
--keymanager-port=3500 \
--keymanager-address=0.0.0.0 \
--keymanager-allow-origin=* \
--keymanager-token-file="${VALIDATOR_API_TOKEN_PATH}" \
--keymanager-token-file=$VALIDATOR_API_TOKEN_PATH \
--metrics=true \
--metrics-address=0.0.0.0 \
--metrics-port=8008 \
--graffiti="${VALID_GRAFFITI}" \
--beacon-node="${BEACON_API_URL}" ${MEVBOOST_FLAG} ${EXTRA_OPTS}
--graffiti=$VALID_GRAFFITI \
--beacon-node=$BEACON_API_URL $MEVBOOST_FLAG $EXTRA_OPTS"

# shellcheck disable=SC2086
exec ${NIMBUS_BIN} $FLAGS

0 comments on commit b7b99d1

Please sign in to comment.