Skip to content
Merged
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
7 changes: 4 additions & 3 deletions beacon-chain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ else
fi

FLAGS="--accept-terms-of-use \
--blob-storage-layout=by-epoch \
--datadir=$DATA_DIR \
--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-corsdomain=$CORSDOMAIN \
--rpc-host=0.0.0.0 \
--verbosity=$VERBOSITY \
--p2p-tcp-port=$P2P_TCP_PORT \
Expand Down
13 changes: 4 additions & 9 deletions validator/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ 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)
BEACON_RPC_PROVIDER="${BEACON_DOMAIN}:4000"
BEACON_RPC_GATEWAY_PROVIDER="${BEACON_DOMAIN}:3500"

case "$NETWORK" in
"hoodi")
NETWORK_FLAGS="--hoodi"
Expand All @@ -49,12 +45,11 @@ esac
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_DOMAIN}:3500 \
--validators-external-signer-url=$SIGNER_API_URL \
--grpc-gateway-host=0.0.0.0 \
--grpc-gateway-port=$VALIDATOR_API_PORT \
--grpc-gateway-corsdomain=http://0.0.0.0:$VALIDATOR_API_PORT \
--http-host=0.0.0.0 \
--http-port=$VALIDATOR_API_PORT \
--http-corsdomain=http://0.0.0.0:$VALIDATOR_API_PORT \
--graffiti=$VALID_GRAFFITI \
--suggested-fee-recipient=$VALID_FEE_RECIPIENT \
--verbosity=$VERBOSITY \
Expand Down