[ZIP-233] Network Sustainability Mechanism: Burning#1567
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1567 +/- ##
==========================================
- Coverage 58.01% 57.90% -0.12%
==========================================
Files 181 181
Lines 21976 22046 +70
==========================================
+ Hits 12750 12766 +16
- Misses 9226 9280 +54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Can somebody re-run the clippy test when it's convenient? 🙏 |
|
@aphelionz there's an underlying clippy CI issue being fixed in #1785 - you might want to rebase once that merges to clear this issue. |
|
@mariopil are you able to quickly rebase one more time now that the clippy fixes are in? |
nuttycom
left a comment
There was a problem hiding this comment.
A few high-level blocking comments thus far.
…" flag, added NU7
|
@aphelionz I was on vacation last two weeks - I've rebased now vs latest main and addressed @nuttycom comments. |
|
Thank you @daira for the review. I've done the fixes. I've added |
30ce9ad to
8c053ec
Compare
3201291 to
2630263
Compare
|
MarioP wrote in #zebra on the R&D Discord:
Yes, probably, although I haven't had chance to look in detail. Please check that this does not break Zebra tests before merging. |
|
Thank you, @daira. Yes, I've tested this with Zebra, and all tests are passing. |
arya2
left a comment
There was a problem hiding this comment.
This is looking good, there are a handful of outstanding lints and compilation issues that need fixing.
| lock_time, | ||
| pczt.global.expiry_height.into(), | ||
| #[cfg(all(zcash_unstable = "nu7", feature = "zip-233"))] | ||
| Zatoshis::ZERO, |
There was a problem hiding this comment.
| Zatoshis::ZERO, | |
| Zatoshis::ZERO, // TODO: change when PCZTs add v6 transaction support |
|
#1879 now builds atop this branch, merging |
This mostly consists of the addition of a
burn_amounttransaction field, introduced in theZFuturenetwork upgrade. Enablingcfg(zcash_unstable = "zfuture")meant that a lot of TZE code was unnecessarily enabled, so we switched some of those sections tozcash_unstable = "tze"as well as introducingzcash_unstable = "nsm"to keep things separate. Thezfuturecfg is now used just to enable the ZFuture network upgrade.The code for the generated test vectors is available in this PR.