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(pathfinder/state/sync): bulk sync should exit right after first error #2259

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

kkovaacs
Copy link
Contributor

Otherwise there's an edge case where we're getting into a loop of continuing to try and fetch blocks even though we're getting "block not found" errors from the feeder gateway.

We might just lose some data we've fetched and verified but overall not having this optimization feels safer.

@kkovaacs kkovaacs requested a review from a team as a code owner September 23, 2024 14:11
@kkovaacs kkovaacs force-pushed the krisztian/bulk-sync-should-exit-on-error branch from 50efa95 to 82969f4 Compare September 24, 2024 09:26
@kkovaacs kkovaacs merged commit d97e61b into main Sep 24, 2024
7 checks passed
@kkovaacs kkovaacs deleted the krisztian/bulk-sync-should-exit-on-error branch September 24, 2024 09:55
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.

3 participants