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

chore: multicall aggregation #130

Open
1 task
mfw78 opened this issue Jan 16, 2024 · 1 comment
Open
1 task

chore: multicall aggregation #130

mfw78 opened this issue Jan 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mfw78
Copy link
Contributor

mfw78 commented Jan 16, 2024

Background

The number of calls that may be required for polling during a block may be large, and this can cause momentary flooding of upstream RPCs (especially if doing so in parallel).

Details

Many of these calls can actually be aggregated together in "mega calls" using Multicall3 so as to reduce call overhead.

Acceptance criteria

  • Polling requests aggregated and sent via Multicall3
@mfw78 mfw78 added the enhancement New feature or request label Jan 16, 2024
@mfw78
Copy link
Contributor Author

mfw78 commented Jan 16, 2024

Look at using package: https://www.npmjs.com/package/ethers-multicall-provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant