Enable tracing
Hello,
Whenever I try to make a trace request I am getting the following error:
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method trace_transaction does not exist/is not available"}}
I have changed geth-entrypoint to add these flags:
--http.api=web3,debug,eth,net,engine,trace
And also in ws:
--ws.api=debug,eth,net,engine,trace
But I am still getting this error.
I think it is because geth needs to be compiled with a specific "debug" flag to make tracing work.
It would be nice to have tracing enabled by default as it can be a useful feature when we run our own node.
Did you resync the node? I think you need to do it, otherwise it will not be enabled (see logs when it starts)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was closed because it has been inactive for 5 days since being marked as stale.