go-ethereum/eth/tracers/native
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
..
4byte.go eth/tracers: use gencodec for native tracers (#25637) 2022-09-26 18:35:44 +02:00
call.go eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
gen_account_json.go eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
gen_callframe_json.go eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
noop.go eth/tracers: add onlyTopCall option to callTracer (#25430) 2022-08-09 11:04:57 +02:00
prestate.go eth/tracers: simplify test framework (#25973) 2022-10-21 17:55:15 +02:00
tracer.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00