Skip to content

Conversation

@rin-st
Copy link
Member

@rin-st rin-st commented Jun 26, 2025

Default value is 500 since we're working mostly with alchemy. If users want to work with quicknode or other providers they can specify blocksBatchSize for their case

To test do the same as in #1117 but also experiment with parameter blocksBatchSize to the useScaffoldEventHistory on app/page.tsx.

PR is to #1117 branch (I branched from it), so toBlock also works in this PR

Second part of #1110

@rin-st rin-st requested a review from technophile-04 June 26, 2025 12:59
Copy link
Member

@damianmarti damianmarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested using small blocksBatchSize values and everything worked fine! Thanks!

Base automatically changed from events-history-to-block to main July 2, 2025 07:00
Copy link
Collaborator

@technophile-04 technophile-04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and workd nicely!! Thanks Rinat!

@technophile-04 technophile-04 merged commit afe9382 into main Jul 2, 2025
1 check passed
@technophile-04 technophile-04 deleted the events-history-in-batches branch July 2, 2025 07:42
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.

4 participants