-
Notifications
You must be signed in to change notification settings - Fork 248
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
zcash_primitives: Refactor Transaction
to permit omitting protocol-specific bundles
#1388
base: main
Are you sure you want to change the base?
Conversation
9383425
to
5596785
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1388 +/- ##
==========================================
+ Coverage 63.20% 63.23% +0.02%
==========================================
Files 128 129 +1
Lines 14869 14948 +79
==========================================
+ Hits 9398 9452 +54
- Misses 5471 5496 +25 ☔ View full report in Codecov by Sentry. |
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.
LGTM so far. I was a little bit alarmed about the name UnauthorizedTransactionDataWithSaplingProofs
(i.e. why so unorthogonal?), but then I saw the motivation and it's fine.
Can we just delete TZE support? I don't care about them and I very much doubt they are ever going to be deployed. We should ask on #libraries in the R&D Discord obviously. Deleting them should be easy given that they're feature flagged. |
My hope is that this type goes away once I land the refactor that follows after this one (to restructure the |
In e3a29b8 I've added Yet Another Intermediate Trait |
e3a29b8
to
d185e6f
Compare
Force-pushed to merge the commit introducing the |
d185e6f
to
65df348
Compare
Force-pushed to address some initial review comments from a pairing with @nuttycom. |
65df348
to
6da0ba6
Compare
Force-pushed to move Sprout onto the |
43d2820
to
443855e
Compare
Force-pushed to move TZEs onto the |
443855e
to
4718994
Compare
Force-pushed to adjust how the new traits work in order to eliminate the bounds on the protocol-crate-specific authorization traits. |
4718994
to
7477ff1
Compare
Force-pushed with some further decoupling adjustments and trait renames. It also removes the |
7477ff1
to
16988be
Compare
Rebased on |
Draft because there are still some things that need doing:
NoProtocol
combinations.Authorization
-ish traits are still tied to the protocol-specific crates. I think I need to introduce intermediate traits with blanket impls.ZFuture
.