Skip to content

Commit

Permalink
add WS and HTTP API flags
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpeterson91 committed Mar 5, 2024
1 parent d9032f3 commit e38470e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion op-geth/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ PRELOADED_DATA_FILE=/mainnet-bedrock.tar.zst

# Tx pool gossip is disabled as it is not supported yet
# Max peers set to 0 to disable peer discovery (will be enabled in the future for snap sync)
# TODO: Should we add --http.api and --ws.api flags?

if [ "$_DAPPNODE_GLOBAL_OP_ENABLE_HISTORICAL_RPC" = "true" ]; then

Expand Down Expand Up @@ -66,11 +65,13 @@ exec geth --datadir $DATA_DIR \
--ws.port 8546 \
--ws.addr 0.0.0.0 \
--ws.origins "*" \
--ws.api net,web3,txpool,eth,debug,engine \
--http \
--http.port 8545 \
--http.addr 0.0.0.0 \
--http.vhosts "*" \
--http.corsdomain "*" \
--http.api web3,net,eth,engine,txpool,debug \
--authrpc.addr 0.0.0.0 \
--authrpc.port 8551 \
--authrpc.vhosts "*" \
Expand Down

0 comments on commit e38470e

Please sign in to comment.