Missing EVM RPC Logs
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
Can you please share more details about what logs you are expecting during the call?
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
I can't reproduce locally, I do get the logs. We should double check the node configuration
Removing from the ZetaClient milestone for now