plugeth/eth/tracers/internal/tracetest/testdata
Delweng 8e69622c68
eth/tracers: add withLog to callTracer (#25991)
In some cases, it is desirable to capture what is triggered by each trace, when using the `callTracer`. For example: call `USDT.transfer` will trigger a `Transfer(from, to, value)` event.

This PR adds the option to capture logs to the call tracer, by specifying `{"withLog": true}` in the tracerconfig. 
Any logs belonging to failed/reverted call-scopes are removed from the output, to prevent interpretation mistakes.

Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2022-11-01 12:03:26 +01:00
..
call_tracer Fix trace call for inner reverts (#25971) 2022-10-31 12:20:21 +03:30
call_tracer_legacy eth/tracers: fix gasUsed for native and JS tracers (#26048) 2022-10-28 12:28:29 +02:00
call_tracer_withLog eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
prestate_tracer eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
prestate_tracer_legacy eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
prestate_tracer_with_diff_mode eth/tracers: fix the issue of panic in prestate with diffmode (#25957) 2022-10-12 12:50:01 +02:00