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

break getProposals getLogs into 10k block chunks #3206

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

brightiron
Copy link
Contributor

@brightiron brightiron commented Sep 30, 2024

  • Archive RPC supports 10k blocks at once
  • We should check last proposal ID. If last Proposal ID is 0 we skip execution
  • Otherwise we iterate through logs.
  • This is temporary and will be followed up w/ subgraph implementation for better performance

@brightiron brightiron merged commit 1c84ecf into develop Sep 30, 2024
5 of 7 checks passed
@brightiron brightiron deleted the refactorGetProposals branch September 30, 2024 18:11
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