Skip to content

Commit 9b810b7

Browse files
authored
Add web3 namespace to reth API configuration
The web3 namespace was not enabled by default in the `http.api` and `ws.api` options within the reth-entrypoint script. This caused compatibility issues with external services, such as Chainlink nodes, which rely on `web3_clientVersion` for health checks. This commit adds `web3` to the exposed namespaces, ensuring compatibility with standard EVM JSON-RPC expectations.
1 parent 40d773f commit 9b810b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reth/reth-entrypoint

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ exec ./op-reth node \
2323
--ws.origins="*" \
2424
--ws.addr=0.0.0.0 \
2525
--ws.port="$WS_PORT" \
26-
--ws.api=debug,eth,net,txpool \
26+
--ws.api=web3,debug,eth,net,txpool \
2727
--http \
2828
--http.corsdomain="*" \
2929
--http.addr=0.0.0.0 \
3030
--http.port="$RPC_PORT" \
31-
--http.api=debug,eth,net,txpool \
31+
--http.api=web3,debug,eth,net,txpool \
3232
--authrpc.addr=0.0.0.0 \
3333
--authrpc.port="$AUTHRPC_PORT" \
3434
--authrpc.jwtsecret="$OP_NODE_L2_ENGINE_AUTH" \

0 commit comments

Comments
 (0)