diff --git a/docker-compose.yml b/docker-compose.yml index c197ef3..f5d854c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/op-geth/entrypoint.sh b/op-geth/entrypoint.sh index ed45f74..bea2f5f 100755 --- a/op-geth/entrypoint.sh +++ b/op-geth/entrypoint.sh @@ -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 @@ -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 "*" \ @@ -79,5 +80,5 @@ exec geth --datadir $DATA_DIR \ --nodiscover \ --maxpeers 0 \ --syncmode full \ - --networkid=10 \ + --networkid 10 \ ${EXTRA_FLAGS}