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

Abandoned leakage with test #356

Closed Scooletz closed 4 months ago

Scooletz commented 4 months ago

The bug observed when the AbandonedPage includes only two values that are packed. Previously, it was considered almost empty (count == 1) without noticing the package flag. This PR fixes it.

Kudos to @damian-orzechowski for repro.

github-actions[bot] commented 4 months ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 79%
Summary 85% (3980 / 4682) 79% (1272 / 1606)

Minimum allowed line rate is 75%