Skip to content

clean up PR 20265: remove misleading #20169 attribution from StateCache tests#20498

Merged
yperbasis merged 3 commits intomainfrom
yperbasis/cleanup20265
Apr 12, 2026
Merged

clean up PR 20265: remove misleading #20169 attribution from StateCache tests#20498
yperbasis merged 3 commits intomainfrom
yperbasis/cleanup20265

Conversation

@yperbasis
Copy link
Copy Markdown
Member

@yperbasis yperbasis commented Apr 12, 2026

Summary

The StateCache fix (PR #20265) is a valid cache correctness improvement, but the root cause of #20169 was in the domain/snapshot layer — a cache miss falling through to the membatch/MDBX path should return the correct value. The real fix was PR #20483.

The StateCache fix (PR #20265) is a valid cache correctness improvement,
but it wasn't the root cause of Issue #20169 — the real fix was in the
domain/snapshot layer (PR #20483). A cache miss falling through to the
membatch/MDBX path should return the correct value.

- Remove TestStateCacheDeletedStorageSSTOREGas (duplicates
  TestStateCache_PutEmpty_ThenGet_IsCacheHit, with wrong attribution)
- Simplify TestStateCache_PutEmpty_ThenGet_IsCacheHit comment to frame
  it as a cache correctness property, not a regression test for #20169

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yperbasis yperbasis requested a review from mh0lt as a code owner April 12, 2026 09:07
@yperbasis yperbasis changed the title cache: remove misleading #20169 attribution from StateCache tests clean up PR 20265: remove misleading #20169 attribution from StateCache tests Apr 12, 2026
@yperbasis yperbasis enabled auto-merge April 12, 2026 09:11
info@weblogix.biz and others added 2 commits April 12, 2026 14:06
@yperbasis yperbasis added this pull request to the merge queue Apr 12, 2026
Merged via the queue into main with commit 900a5d0 Apr 12, 2026
35 checks passed
@yperbasis yperbasis deleted the yperbasis/cleanup20265 branch April 12, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants