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(rln-relay): chunk event fetching #1773

Closed
rymnc opened this issue Jun 1, 2023 · 0 comments · Fixed by #1830
Closed

fix(rln-relay): chunk event fetching #1773

rymnc opened this issue Jun 1, 2023 · 0 comments · Fixed by #1830
Labels
bug Something isn't working

Comments

@rymnc
Copy link
Contributor

rymnc commented Jun 1, 2023

Problem

With a large difference in the block numbers between which we have to fetch all the MemberRegistered events, there is a chance that the rpc provider would reject the requests made, simply because it is too large a range.

Impact

medium

To reproduce

  • (cannot repro, since this issue will exist on mainnet)

Expected behavior

  • Chunk block syncs (100 blocks per fetch)

Additional context

Thanks for the report: @weboko @richard-ramos (ref: waku-org/js-rln#57 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant