Skip to content

internal/ethapi: fix reversed block range in eth_getLogs#33518

Open
deffrian wants to merge 5 commits intoethereum:masterfrom
deffrian:fix/get-logs-reverse-tags
Open

internal/ethapi: fix reversed block range in eth_getLogs#33518
deffrian wants to merge 5 commits intoethereum:masterfrom
deffrian:fix/get-logs-reverse-tags

Conversation

@deffrian
Copy link
Copy Markdown
Contributor

@deffrian deffrian commented Jan 3, 2026

When block tags are provided eth_getLogs should check that they are in correct order
Between resolving f.end and f.begin new blocks may happen. This may cause range [head, head] to be resolved to two or more blocks.
rpctestgen: lightclient/rpctestgen#52

@deffrian deffrian requested a review from rjl493456442 as a code owner January 3, 2026 16:25
@deffrian deffrian changed the title ethapi: fix reversed block range in logs ethapi: fix reversed block range in eth_getLogs Jan 3, 2026
@deffrian deffrian changed the title ethapi: fix reversed block range in eth_getLogs internal/ethapi: fix reversed block range in eth_getLogs Jan 3, 2026
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