-
Notifications
You must be signed in to change notification settings - Fork 110
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 interstitial sprout anchors check #3283
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3283 +/- ##
==========================================
- Coverage 77.83% 77.76% -0.08%
==========================================
Files 266 266
Lines 31449 31471 +22
==========================================
- Hits 24478 24472 -6
- Misses 6971 6999 +28 |
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.
All looks good. It's handy that the commitment trees could be stored under sprout_anchors
.
I left only a few minor suggestions.
I can regenerate the cached state once someone else approves this PR. |
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.
Looks good to me, but it needs a cached state rebuild.
@upbqdn Conrado isn't available this week, so can you push all the changes you think are needed to this PR's branch? I can re-approve after you're done.
I think it's ready to go, after you make whatever changes you think are needed. Just checking, are you going to regenerate the cached state, update the image in this PR, then merge it to The hash in this line needs to be updated: zebra/.github/workflows/test.yml Line 57 in 454897b
|
Co-authored-by: Marek <mail@marek.onl>
Yes, exactly. I'm going to follow the steps in the onboarding doc. I refined them recently, so it should be smooth. |
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.
Looks good. I apologize again for the hairiness of the spec here.
This PR also partially documents the consensus rules for #3211. |
The following statement should not be a consensus rule This PR documents all consensus rules mentioned in #3210 except for the statement above, so it also closes #3210. See zcash/zips#582 for more details regarding the statement above. |
…fix-interstitial-sprout-anchors-check
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
@dconnolly I don't know why it dismissed your review, I just accepted your suggestion 😕 |
@dconnolly oops, fixed formatting 😅 |
Motivation
There was an issue with the interstitial Sprout anchor check, described in #3236
Specifications
https://zips.z.cash/protocol/protocol.pdf#joinsplit
Designs
Solution
Chain
)Closes #3236 and #3210.
Review
Not particularly urgent, but it's the final consensus check. Usually @dconnolly and/or @upbqdn could review but @teor2345 might want to take a look.
After accepting but before merging we need to update the cached state in CI (or disable the CI job until we do that).
There is no specific test - I tested by syncing to the tip:
Reviewer Checklist
Follow Up Work