Support tracer configuration for debug_trace* methods
Description
As an infra provider, I want debug_trace* to support a variety of tracers, including flatCallTracer so that I have feature parity between my Besu and Geth/Reth nodes.
Acceptance Criteria
- debug_trace* methods allow configuration of the
tracerused. Accepted options include flatCallTracer, callTracer and prestateTracer. - Output is identical and consistent with other clients
Example request:
{"method":"debug_traceBlockByHash","params":["0xa300bb5b420026615bf2e31b2ea0a8b187afeab8a228cc62a663b1e8a974bac8",{"tracer":"flatCallTracer"}],"id":1,"jsonrpc":"2.0"}
Some useful links: Geth Tracer Examples https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers#prestate-tracer Reth Tracing guide https://github.com/paradigmxyz/ultimate_evm_tracing_reference
Hi @macfarla - do you have any visibility wrt when you ll be able to pick this ticket up by any chance? thank you
This issue is stale because it has been open for 6 months with no activity.
Besu now has support for callTracer and prestateTracer.
Support for flatCallTracer is currently being implemented.