• 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
..
catalyst Loading commit data...
downloader Loading commit data...
ethconfig Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
protocols Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
handler.go Loading commit data...
handler_eth.go Loading commit data...
handler_eth_test.go Loading commit data...
handler_snap.go Loading commit data...
handler_test.go Loading commit data...
peer.go Loading commit data...
peerset.go Loading commit data...
state_accessor.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...