go-ethereum/eth/tracers
Daniel Liu ed46409261
eth/tracers: add position field for callTracer logs #28389 (#1342)
Currently, one can use the "withLogs" parameter to include logs in the
callTracer results, which allows the user to see at which trace level
was each log emitted.
This commit adds a position field to the logs which determine
the exact ordering of a call's logs and its subcalls. This would
be useful e.g. for explorers wishing to display the flow of execution.

Co-authored-by: Alvaro Sevilla <alvarosevilla95@gmail.com>
Co-authored-by: jsvisa <delweng@gmail.com>
2025-09-09 15:46:12 +08:00
..
internal/tracetest eth/tracers: add position field for callTracer logs #28389 (#1342) 2025-09-09 15:46:12 +08:00
js eth/tracers/js: use t.toBig on ctx.GasPrice for js tracing #27903 (#1341) 2025-09-09 15:40:17 +08:00
logger eth/tracers: add ReturnData in the tracer's response #27704 (#1338) 2025-09-09 15:19:36 +08:00
native eth/tracers: add position field for callTracer logs #28389 (#1342) 2025-09-09 15:46:12 +08:00
api.go eth/tracers: add txHash field on txTraceResult #27183 (#1333) 2025-09-09 14:45:46 +08:00
api_test.go eth/tracers: use slices package for sorting #27490 (#1337) 2025-09-09 15:12:22 +08:00
tracers.go eth/tracers: replace noarg fmt.Errorf with errors.New #27330 (#1335) 2025-09-09 14:59:01 +08:00
tracers_test.go eth/tracers/native: prevent panic for LOG edge-cases #26848 (#1324) 2025-09-09 11:40:55 +08:00
tracker.go eth/traces: add state limit #25812 (#1300) 2025-09-09 07:03:24 +08:00
tracker_test.go eth/traces: add state limit #25812 (#1300) 2025-09-09 07:03:24 +08:00