Skip to content

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

Merged
rjl493456442 merged 1 commit into
ethereum:masterfrom
cuiweixie:pathdb-fix-iterator-test-layer5-range
Apr 30, 2026
Merged

triedb/pathdb: fix layer 5 key range in account iterator traversal test#34639
rjl493456442 merged 1 commit into
ethereum: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
@rjl493456442 rjl493456442 added this to the 1.17.3 milestone Apr 30, 2026
@rjl493456442 rjl493456442 merged commit 19dc690 into ethereum:master Apr 30, 2026
8 checks passed
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