Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable tracing #325

Open
NicolasWent opened this issue Sep 18, 2024 · 1 comment
Open

Enable tracing #325

NicolasWent opened this issue Sep 18, 2024 · 1 comment

Comments

@NicolasWent
Copy link

NicolasWent commented Sep 18, 2024

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.

@bert2002
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants