Commit graph

1 commit

Author SHA1 Message Date
Gary Rong
b474628f03 core/filtermaps, ethdb: workaround for prevent unexpected node deletion
This pull request introduces a workaround in the database range deleter:
if key == hash(value), the entry will be excluded from deletion.

In hash mode, trie nodes are stored using their hash as the database key
without any prefix. As a result, they may unintentionally collide with
entries marked for deletion. This workaround will remain in place until
hash mode is fully deprecated.
2025-03-28 11:27:37 +08:00