geth 1.17.2
Description
The eth_getLogs endpoint returns a -32000 (server error) when the requested block range exceeds the configured limit. This is inconsistent with:
- Other parameter validation errors in the same package (e.g. invalid block range params, invalid topic(s)), which already return -32602 (invalid params).
- Reth, which returns -32602 for the same condition.
Proposed change: return -32602 for the block range limit error, in line with the rest of the parameter validation errors in eth/filters and with other client implementations.