Skip to content

Enable tracing #325

Open
Open
@NicolasWent

Description

@NicolasWent

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions