good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
134 commits behind the upstream repository.
  • Martin Holst Swende's avatar
    eth/tracers: avoid unsyncronized mutations on trie database (#23632) · 3531ca22
    Martin Holst Swende authored
    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.  
    Unverified
    3531ca22
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
state_accessor.go 7.22 KiB