Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions beacon-chain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ FLAGS="--accept-terms-of-use \
--jwt-secret=$JWT_FILE_PATH \
--execution-endpoint=$ENGINE_URL \
--monitoring-host=0.0.0.0 \
--grpc-gateway-host=0.0.0.0 \
--grpc-gateway-port=$BEACON_API_PORT \
--grpc-gateway-corsdomain=$CORSDOMAIN \
--http-host=0.0.0.0 \
--http-port=$BEACON_API_PORT \
--http-cors-domain=$CORSDOMAIN \
--rpc-host=0.0.0.0 \
--verbosity=$VERBOSITY \
--p2p-tcp-port=$P2P_TCP_PORT \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ services:
DATA_DIR: /root/.eth2validators
restart: on-failure
environment:
LOG_TYPE: INFO
GRAFFITI: validating_from_DAppNode
EXTRA_OPTS: ""
FEE_RECIPIENT_ADDRESS: ""
VERBOSITY: info
BACKUP_BEACON_NODES: ""
volumes:
beacon-chain-data: {}
validator-data: {}
6 changes: 3 additions & 3 deletions validator/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ MEVBOOST_FLAG=$(get_mevboost_flag "${NETWORK}" "${MEVBOOST_FLAG_KEY}" "${SKIP_ME
# Example: http://localhost:4000 -> localhost
BEACON_DOMAIN="$(echo "$BEACON_API_URL" | cut -d'/' -f3 | cut -d':' -f1)"

# Prepare API endpoints (no http:// prefix && add port)
# Prepare API endpoint (no http:// prefix && add port)
BEACON_RPC_PROVIDER="${BEACON_DOMAIN}:4000"
BEACON_RPC_GATEWAY_PROVIDER="${BEACON_DOMAIN}:3500"
BEACON_REST_API_PROVIDER="http://${BEACON_DOMAIN}:3500"

case "$NETWORK" in
"hoodi")
Expand All @@ -50,7 +50,7 @@ FLAGS="--datadir=$DATA_DIR \
--wallet-dir=$WALLET_DIR \
--monitoring-host=0.0.0.0 \
--beacon-rpc-provider=$BEACON_RPC_PROVIDER \
--beacon-rpc-gateway-provider=$BEACON_RPC_GATEWAY_PROVIDER \
--beacon-rest-api-provider=$BEACON_REST_API_PROVIDER$( [ -n "${BACKUP_BEACON_NODES}" ] && echo ",${BACKUP_BEACON_NODES}" ) \
--validators-external-signer-url=$SIGNER_API_URL \
--grpc-gateway-host=0.0.0.0 \
--grpc-gateway-port=$VALIDATOR_API_PORT \
Expand Down