plugeth/eth
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
..
catalyst cmd, eth: implement full-sync tester (#26035) 2022-10-28 14:48:08 +02:00
downloader core, eth: for types with accurate size calcs, return uint64, not float (#26046) 2022-10-26 15:23:07 +03:00
ethconfig cmd, eth: implement full-sync tester (#26035) 2022-10-28 14:48:08 +02:00
fetcher all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
filters eth/filters: change filter block to be by-ref (#26054) 2022-10-27 15:25:01 +02:00
gasprice core, ethclient/gethclient: improve flaky tests (#25918) 2022-10-06 13:39:20 +02:00
protocols eth: implement eth/68 (#25980) 2022-10-31 16:23:26 +02:00
tracers eth/tracers: add withLog to callTracer (#25991) 2022-11-01 12:03:26 +01:00
api_backend.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
api_test.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
api.go cmd, core, eth, les, light: track deleted nodes (#25757) 2022-09-27 10:01:02 +02:00
backend.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
handler_eth_test.go eth: implement eth/68 (#25980) 2022-10-31 16:23:26 +02:00
handler_eth.go eth: implement eth/68 (#25980) 2022-10-31 16:23:26 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
handler.go eth: fix a rare datarace on CHT challenge reply / shutdown 2022-09-20 14:14:24 +03:00
peer.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
peerset.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
state_accessor.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
sync_test.go eth: introduce eth67 protocol (#24093) 2022-06-15 12:56:47 +02:00
sync.go cmd, core, eth, les, params: add merge-passed chain config (#24538) 2022-08-01 15:13:25 +03:00