Skip to content

triedb/pathdb: fix layer 5 key range in account iterator traversal test#34639

Open
cuiweixie wants to merge 1 commit intoethereum:masterfrom
cuiweixie:pathdb-fix-iterator-test-layer5-range
Open

triedb/pathdb: fix layer 5 key range in account iterator traversal test#34639
cuiweixie wants to merge 1 commit intoethereum:masterfrom
cuiweixie:pathdb-fix-iterator-test-layer5-range

Conversation

@cuiweixie
Copy link
Copy Markdown
Contributor

The layer-5 diff condition used i > 50 || i < 85, which is true for almost all keys in the 0..255 loop. Use i > 50 && i < 85 so layer 5 only covers the intended band (51..84), consistent with the snapshot iterator test fix.

@cuiweixie cuiweixie requested a review from rjl493456442 as a code owner April 2, 2026 16:03
@cuiweixie cuiweixie force-pushed the pathdb-fix-iterator-test-layer5-range branch from 8324bbc to 0af3200 Compare April 2, 2026 16:51
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.

1 participant