Skip to content

eth/filter: return error if from block > to - #480

Closed
jsvisa wants to merge 2 commits into
ethereum:mainfrom
jsvisa:eth-filter-error
Closed

eth/filter: return error if from block > to#480
jsvisa wants to merge 2 commits into
ethereum:mainfrom
jsvisa:eth-filter-error

Conversation

@jsvisa

@jsvisa jsvisa commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

Signed-off-by: jsvisa <delweng@gmail.com>
Comment thread src/eth/filter.yaml Outdated
Signed-off-by: jsvisa <delweng@gmail.com>
@fjl fjl added the triage label Oct 28, 2025
@fjl

fjl commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

I have added some tests for this now in 961753f

The correct error code is -32602 (invalid params), which is a standard error code from the JSON-RPC spec so we don't need to declare it explicitly.

@fjl fjl closed this Dec 5, 2025
@fjl fjl removed the triage label Dec 5, 2025
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.

3 participants