Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix: make fetching logs from fork efficient #4250

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

area
Copy link
Contributor

@area area commented Feb 20, 2023

When querying a forked chain for events pre-fork, a request is currently sent for every block which is very inefficient if you're querying a large block range, and can cause requests to respond only after a very long time, making the ability to fork useless if such requests are required. This PR aims to batch all of those in to one request to the forked endpoint.

@area area changed the title Make fetching logs from fork efficient feat: make fetching logs from fork efficient Feb 20, 2023
@area area changed the title feat: make fetching logs from fork efficient fix: make fetching logs from fork efficient Feb 20, 2023
@davidmurdoch
Copy link
Member

Looks like a dplicate of #3692

Don't close this one, we'll evaluate the two approaches.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants