From 9b810b7425bc393e6a9d79afc531012347db4c80 Mon Sep 17 00:00:00 2001 From: Inbell1s <50827900+Inbell1s@users.noreply.github.com> Date: Mon, 3 Mar 2025 21:15:58 +0100 Subject: [PATCH] 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. --- reth/reth-entrypoint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reth/reth-entrypoint b/reth/reth-entrypoint index ca546dfe..d93fa6ae 100755 --- a/reth/reth-entrypoint +++ b/reth/reth-entrypoint @@ -23,12 +23,12 @@ exec ./op-reth node \ --ws.origins="*" \ --ws.addr=0.0.0.0 \ --ws.port="$WS_PORT" \ - --ws.api=debug,eth,net,txpool \ + --ws.api=web3,debug,eth,net,txpool \ --http \ --http.corsdomain="*" \ --http.addr=0.0.0.0 \ --http.port="$RPC_PORT" \ - --http.api=debug,eth,net,txpool \ + --http.api=web3,debug,eth,net,txpool \ --authrpc.addr=0.0.0.0 \ --authrpc.port="$AUTHRPC_PORT" \ --authrpc.jwtsecret="$OP_NODE_L2_ENGINE_AUTH" \