Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor making huge range queries on L1 #827

Open
InoMurko opened this issue May 16, 2023 · 0 comments
Open

monitor making huge range queries on L1 #827

InoMurko opened this issue May 16, 2023 · 0 comments
Assignees

Comments

@InoMurko
Copy link
Contributor

InoMurko commented May 16, 2023

Issue Type

[x ] bug report
[ ] feature request

Current Behavior

Log from Goerli:
stack: 'Error: processing response error (body="{\\"id\\":3041,\\"jsonrpc\\":\\"2.0\\",\\"error\\":{\\"code\\":-32602,\\"message\\":\\"invalid params\\",\\"data\\":{\\"error_id\\":\\"4ed94073-0317-4648-a167-107fba5f44b3\\",\\"payload\\":\\"range 9009594 is bigger than range limit 2000\\"}}}", error={"code":-32602,"data":{"error_id":"4ed94073-0317-4648-a167-107fba5f44b3","payload":"range 9009594 is bigger than range limit 2000"}}, requestBody="{\\"method\\":\\"eth_getLogs\\",\\"params\\":[{\\"fromBlock\\":\\"0x0\\",\\"address\\":\\"0xa6fa0867f39f3a3af7433c8a43f23bf26efd1a48\\",\\"topics\\":[\\"0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c\\"]}],\\"id\\":3041,\\"jsonrpc\\":\\"2.0\\"}", requestMethod="POST", url="https://goerli.gateway.tenderly.co/<API KEY>", code=SERVER_ERROR, version=web/5.7.1)\n' +

Expected Behavior

it shouldn't need more then 2000 block requests for logs

Steps to Reproduce

Suggested Fix

@wsdt execute
@boyuan-chen help if needed

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

No branches or pull requests

3 participants