diff --git a/beacon-chain/entrypoint.sh b/beacon-chain/entrypoint.sh index f96ae89..7d87b89 100755 --- a/beacon-chain/entrypoint.sh +++ b/beacon-chain/entrypoint.sh @@ -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 \ diff --git a/docker-compose.yml b/docker-compose.yml index 4ab8dc8..62fcf30 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: {} diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index 690fd78..1ddab17 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -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") @@ -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 \