node icon indicating copy to clipboard operation
node copied to clipboard

Missing EVM RPC Logs

Open morde08 opened this issue 4 months ago • 4 comments

Describe the Bug For some EVM RPC methods like debug_traceBlockByNumber there are no logs emitted from RPC about the request. This makes it difficult to track EVM RPC activity on the node and also to debug when issues with different methods are encountered.

To Reproduce Try making EVM RPC calls with debug_traceBlockByNumber like {"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0x69b406",{"tracer":"callTracer", "tracerConfig":"{\"onlyTopCall\":false,\"withLog\":true}"}],"id":1}' and check node logs.

Expected Behavior Logs to be produced tracking the EVM RPC request.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS
  • Version used

morde08 avatar Aug 20 '25 20:08 morde08

Can you please share more details about what logs you are expecting during the call?

lumtis avatar Aug 26 '25 13:08 lumtis

Did you try with DEBUG level? I do see log usage in the debug_traceBlockByNumber query. https://github.com/zeta-chain/node/blob/7c32534c7f0119e7b8c8b3b25bb180a5a2e59c42/rpc/namespaces/ethereum/debug/api.go#L73

lumtis avatar Aug 26 '25 14:08 lumtis

I can't reproduce locally, I do get the logs. We should double check the node configuration

Image

lumtis avatar Sep 19 '25 10:09 lumtis

Removing from the ZetaClient milestone for now

lumtis avatar Sep 19 '25 10:09 lumtis