• Delweng's avatar
    eth/tracers: add withLog to callTracer (#25991) · 8e69622c
    Delweng authored
    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: 's avatarDelweng <delweng@gmail.com>
    Co-authored-by: 's avatarSina Mahmoodi <itz.s1na@gmail.com>
    8e69622c
Name
Last commit
Last update
..
calldata.json Loading commit data...
delegatecall.json Loading commit data...
multi_contracts.json Loading commit data...
multilogs.json Loading commit data...
notopic.json Loading commit data...
simple.json Loading commit data...
tx_failed.json Loading commit data...
tx_partial_failed.json Loading commit data...
with_onlyTopCall.json Loading commit data...