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

fix getLogs call pagination by querying for 10_000 blocks at a time #169

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented Mar 30, 2024

Got this error when running on holesky (previously we were only running on anvil so not seeing these limitations)

panic: Cannot filter logs: 413 Request Entity Too Large: {"jsonrpc":"2.0","id":12,"error":{"code":-32614,"message":"eth_getLogs is limited to a 10,000 range"}}

@samlaf samlaf requested a review from dmanc March 30, 2024 00:23
@samlaf samlaf merged commit c0efcad into master Mar 30, 2024
3 checks passed
@samlaf samlaf deleted the fix-operatorpubkeys-srvc-getlogs-pagination-issue branch March 30, 2024 00:27
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.

2 participants