erigon icon indicating copy to clipboard operation
erigon copied to clipboard

db/kv/mdbx: remove redundant empty-key Put in mdbx TestPutGet

Open Fibonacci747 opened this issue 1 week ago • 0 comments

TestPutGet already relies on data inserted by BaseCase, where key1 has value1.1 as the first dupsort value. The extra Put with an empty key neither affects the semantics of GetOne("Table", "key1") nor is used elsewhere, but makes the test harder to read. Removing this write keeps the intended assertion intact while avoiding unnecessary work and confusion around the empty key.

Fibonacci747 avatar Dec 18 '25 17:12 Fibonacci747