forked from cerc-io/plugeth
8e69622c68
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> |
||
---|---|---|
.. | ||
calldata.json | ||
delegatecall.json | ||
multi_contracts.json | ||
multilogs.json | ||
notopic.json | ||
simple.json | ||
tx_failed.json | ||
tx_partial_failed.json | ||
with_onlyTopCall.json |