besu icon indicating copy to clipboard operation
besu copied to clipboard

Support tracer configuration for debug_trace* methods

Open jamesstanleystewart opened this issue 10 months ago • 3 comments

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 tracer used. 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

jamesstanleystewart avatar Feb 19 '25 00:02 jamesstanleystewart

Hi @macfarla - do you have any visibility wrt when you ll be able to pick this ticket up by any chance? thank you

adrigug avatar Mar 04 '25 13:03 adrigug

This issue is stale because it has been open for 6 months with no activity.

github-actions[bot] avatar Oct 21 '25 02:10 github-actions[bot]

Besu now has support for callTracer and prestateTracer.

Support for flatCallTracer is currently being implemented.

jframe avatar Dec 15 '25 04:12 jframe