bsc/eth/tracers/internal/tracetest/testdata/call_tracer_withLog
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
..
calldata.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
delegatecall.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
multi_contracts.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
multilogs.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
notopic.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
simple.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
tx_failed.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
tx_partial_failed.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
with_onlyTopCall.json eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00