node icon indicating copy to clipboard operation
node copied to clipboard

Enable tracing

Open NicolasWent opened this issue 1 year ago • 1 comments

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.

NicolasWent avatar Sep 18 '24 12:09 NicolasWent

Did you resync the node? I think you need to do it, otherwise it will not be enabled (see logs when it starts)

bert2002 avatar Oct 14 '24 06:10 bert2002

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.

github-actions[bot] avatar Nov 19 '25 00:11 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Nov 27 '25 00:11 github-actions[bot]