NethermindEth / Paprika

A custom storage engine of Nethermind, benefiting from the alignment of the underlying data structure with the layout of State & Storage trees of Ethereum.
GNU Lesser General Public License v3.0
91 stars 14 forks source link

New page fix #408

Closed Scooletz closed 1 month ago

Scooletz commented 1 month ago

This PR fixes the bug where the header is not cleaned for the new page (or reused). It potentially can left some data from the previous state. After this fix, the header is always overwritten first so no leftovers from the previous life of a page will survive.

github-actions[bot] commented 1 month ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 80%
Summary 85% (4601 / 5433) 80% (1468 / 1841)

Minimum allowed line rate is 75%