plugeth/eth
Sina Mahmoodi fc3e6d0162
eth/tracers: use gencodec for native tracers (#25637)
The call tracer and prestate tracer store data JSON-encoded in memory. In order to support alternative encodings (specifically RLP), it's better to keep data a native format during tracing. This PR does marshalling at the end, using gencodec.

OBS! 
This PR changes the call tracer result slightly:

-  Order of type and value fields are changed (should not matter). 
-  Output fields are completely omitted when they're empty (no more output: "0x"). Previously, this was only _sometimes_ omitted (e.g. when call ended in a non-revert error) and otherwise 0x when the output was actually empty.
2022-09-26 18:35:44 +02:00
..
catalyst eth/catalyst: make tests run faster (#25818) 2022-09-21 15:12:45 +02:00
downloader eth/downloader, les/downloader: fix subtle flaw in queue delivery (#25861) 2022-09-26 12:33:21 +02:00
ethconfig all: move genesis initialization to blockchain (#25523) 2022-08-30 18:22:28 +02:00
fetcher all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
filters all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
gasprice build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
protocols tests, les, eth: remove mentions of deprecated Morden testnet (#23570) 2022-09-23 19:33:15 +02:00
tracers eth/tracers: use gencodec for native tracers (#25637) 2022-09-26 18:35:44 +02:00
api_backend.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
api_test.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
api.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
backend.go all: move genesis initialization to blockchain (#25523) 2022-08-30 18:22:28 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
handler_eth_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
handler_eth.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +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