-
Notifications
You must be signed in to change notification settings - Fork 106
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(sync): Make the syncer ignore some new block verification errors #5537
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5537 +/- ##
==========================================
+ Coverage 78.76% 78.79% +0.02%
==========================================
Files 305 305
Lines 38114 38118 +4
==========================================
+ Hits 30022 30035 +13
+ Misses 8092 8083 -9 |
0dd5143
to
c31f086
Compare
@Mergifyio refresh |
✅ Pull request refreshed |
A couple failures in the merge queue, the clippy lint:
https://github.com/ZcashFoundation/zebra/actions/runs/3387578258/jobs/5628508335#step:8:501 and compiling in ubuntu-latest:
These are failing on the main branch too |
Looks like Rust 1.65: I can open PRs to fix them now. If it's not caused by this specific PR, can you please open a ticket, or ask the person on |
Sounds about right. I created #5547. |
I try to catch these things by running nightly rust, but sometimes they slip through, or I ignore them, or they are merged right before the release. |
@Mergifyio update |
✅ Branch has been successfully updated |
@Mergifyio refresh |
✅ Pull request refreshed |
…5537) * Fix error text for state service for syncer * Fix error handling in syncer * cargo fmt --all Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Motivation
The syncer skips some duplicate block errors, but we added new duplicate block errors in #4937.
This might fix the full sync errors on the
main
branch.Solution
Review
I talked through this with @arya2 already.
Reviewer Checklist
Follow Up Work
We should fix these permanently using typed errors, so we don't introduce this sort of bug again: