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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ services:
environment:
- EXTRA_FLAGS
- P2P_PORT=33142
- SYNCMODE=snap
- SYNCMODE=full
- "HISTORICAL_RPC_URL=http://op-l2geth.dappnode:8545"
- "SEQUENCER_HTTP_URL=https://bedrock-beta-1-sequencer.optimism.io"
- "SEQUENCER_HTTP_URL=https://mainnet-sequencer.optimism.io/"
image: "geth.op-geth.dnp.dappnode.eth:0.1.0"
ports:
- "33142:33142/tcp"
Expand Down
7 changes: 4 additions & 3 deletions 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 @@ -61,16 +60,18 @@ fi
echo "[INFO - entrypoint] Starting Geth"
exec geth --datadir $DATA_DIR \
--rollup.sequencerhttp $SEQUENCER_HTTP_URL \
--rollup.disabletxpoolgossip \
--rollup.disabletxpoolgossip true \
--ws \
--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 All @@ -79,5 +80,5 @@ exec geth --datadir $DATA_DIR \
--nodiscover \
--maxpeers 0 \
--syncmode full \
--networkid=10 \
--networkid 10 \
${EXTRA_FLAGS}