plugeth/eth/tracers
Martin Holst Swende 3531ca2246
eth/tracers: avoid unsyncronized mutations on trie database (#23632)
This PR fixes an issue in traceChain, where the statedb Commit operation was performed asynchronously with dereference-operations agains the underlying trie.Database instance. Due to how the reference counting works within the trie database (where parent count is recursively updated when new parents are added), doing dereferencing in the middle of Commit can cause the refcount to become wrong, leading to an inconsistent state. 

This was fixed by doing Commit/Deref from the same routine.
2021-09-28 13:06:19 +02:00
..
internal/tracers eth/tracers: re-write of 4byte tracer using enter/exit (#23622) 2021-09-27 18:44:16 +02:00
testdata core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
api_test.go core: check if sender is EOA (#23303) 2021-08-07 19:38:18 +02:00
api.go eth/tracers: avoid unsyncronized mutations on trie database (#23632) 2021-09-28 13:06:19 +02:00
tracer_test.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracer.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracers_test.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
tracers.go cmd, core, eth/tracers: support fancier js tracing (#15516) 2017-12-21 13:56:11 +02:00