mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 18:01:36 +00:00
The eth_getLogs endpoint was returning -32000 (server error) when the requested block range exceeded the configured limit. This was inconsistent with other parameter validation errors in the same package which return -32602 (invalid params), and also inconsistent with Reth which returns -32602 for the same condition. This change makes the block range limit error return -32602, aligning it with the rest of the parameter validation errors in eth/filters and with other client implementations. Fixes #34646 |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| filter.go | ||
| filter_system.go | ||
| filter_system_test.go | ||
| filter_test.go | ||