-
Notifications
You must be signed in to change notification settings - Fork 111
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
deps(bump): zcash_primitives, zcash_note_encryption, zcash_encoding, orchard, and zcash_script #5505
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5505 +/- ##
==========================================
- Coverage 79.25% 79.22% -0.04%
==========================================
Files 305 305
Lines 37873 37885 +12
==========================================
- Hits 30018 30016 -2
- Misses 7855 7869 +14 |
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 PR looks great. I was working on a similar one, but my workaround for address()
wasn't as smooth.
@oxarbitrage I have updates that make Zebra compatible with ZcashFoundation/zcash_script#41, should I push them as a PR into this one, or would it be better to make a standalone PR?
Apologies for working on something you were already working on. I didn't saw #5500 (comment)
That is great, i think we might want to have all the ECC or our own dependencies up to date in the release candidate but i am not totally sure if it is that important. If your changes are not too big i think we can try to push to this one and merge all the dependencies alltogether. |
I just realized it would be best if we wait until we merge ZcashFoundation/zcash_script#41, and then do the rest of the updates in Zebra, so a standalone PR will be a better solution. |
No worries at all, the only blocker was the |
I actually pushed a draft PR with the updates #5506 without ZcashFoundation/zcash_script#41 being merged so that we can see what changes are needed. |
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.
Just want to tweak a version number
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.
I have a suggestion, but it's not a blocker.
Yes, we do, using outdated or duplicate cryptographic dependencies is a security vulnerability. (And it's a pain to audit.) |
This is only happening in the GitHub Actions Linux build, so I cleared this PR's GitHub Actions caches, and the |
…orchard, and zcash_script (#5505) * Bump zcash_primitives, zcash_note_encryption and oechard deps at once * Bump dependencies, and update `deny.toml` * Upgrade to zcash_script 0.1.8 * Update Cargo.lock * Use 3-part version numbers consistently * Get address by serializing the Output, then using zcash_primitives to parse it (#5507) Co-authored-by: Marek <mail@marek.onl> Co-authored-by: teor <teor@riseup.net>
Motivation
We want to bump this 3 dependencies at the same time. This PR will replace the other 3 if we go this way:
It also works around the fact that address() is now private.
I am pushing this now as we might want to add it to the release candidate.
Close #3831 (removing all duplicate ECC dependencies, not just
zcash_proofs
)Solution
Review
Reviewer Checklist