forked from cerc-io/plugeth
3531ca2246
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. |
||
---|---|---|
.. | ||
internal/tracers | ||
testdata | ||
api_test.go | ||
api.go | ||
tracer_test.go | ||
tracer.go | ||
tracers_test.go | ||
tracers.go |