v1.4.15
What's Changed
Bugfixes
- added concurrency protection in the trie sub-component by @iulianpascalau in #5123
This PR fixes a bug that happened on a handful of nodes that caused the trie nodes not to be saved in the DB after the block has been processed. Due to our last refactoring work in the Patricia-Merkle Trie implementation, we've wrongly removed mutex protection for a critical area. That area was used in the normal block processing and in the interceptors implementations (the components responsible for the pre-validation of the incoming data). Since there was more than 1 thread acting on the same area, due to some WAW hazards, the affected nodes ended up journalizing the wrong data to be written on the disk after the block was processed. Affected nodes stopped syncing the chain as they were missing some trie data nodes.
Other Notable Changes
- add unit tests by @BeniaminDrasovean in #5124
Full Changelog: v1.4.14...v1.4.15