Support upcoming NU6.3#1350
Closed
dannywillems wants to merge 4 commits into
Closed
Conversation
c527fc2 to
747ab4c
Compare
Closed
nuttycom
reviewed
Jul 1, 2026
Comment on lines
+83
to
+92
| equihash = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| f4jumble = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_address = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_encoding = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_history = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_keys = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_primitives = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_proofs = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_protocol = { git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } | ||
| zcash_transparent = { package = "zcash_transparent", git = "https://github.com/zcash/librustzcash.git", rev = "139601061b89d622dc4c9464f1e6638611ea0027" } |
Contributor
There was a problem hiding this comment.
You should be able to drop these patches; the *-pre.0 crate releases have been published.
Contributor
There was a problem hiding this comment.
Oh, but there may be additional changes on main. Hold off merging this until I provide a new hash.
0e1560a to
872a762
Compare
7392dbe to
7995f26
Compare
Track the NU6.3 (Ironwood) librustzcash line by pinning the librustzcash crates to librustzcash `main` via [patch.crates-io], and bump the version requirements to the NU6.3 pre-releases: - incrementalmerkletree 0.8 -> 0.8.2 - zcash_address 0.12 -> 0.13.0-pre.0 - zcash_keys 0.14 -> 0.15.0-pre.0 - zcash_protocol 0.9 -> 0.10.0-pre.0 - zcash_primitives 0.28 -> 0.29.0-pre.0 - zcash_transparent 0.8 -> 0.9.0-pre.0 main carries the NU6.3 work (the Nu6_3 network upgrade, the nu6_3 activation height, and the ironwood value pool) and is the same librustzcash line zallet PR zingolabs#537 (feat/nu63-comp) builds against, so zaino and zallet share one librustzcash and the NU6.3 zebra branch resolves against it. The patch pins a specific main rev (not the bare branch) so resolution stays reproducible. This is a dependency-alignment change that must follow zallet: update it only to track zallet's librustzcash line, and drop the patch and the -pre.0 suffixes once the final NU6.3 releases are published. This change is coupled with the NU6.3 zebra bump in the following commit: the NU6.3 zebra branch only resolves and compiles together with this librustzcash line. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump the zebra-chain/-rpc/-state [patch.crates-io] pin from rev 9a27f886a5bfb143f65d1712e912cef252426800 to the unreleased NU6.3 (Ironwood) branch rev fd3e9e32120afbe698522db1f62400b08e8a7444, which adds the NetworkUpgrade::Nu6_3 variant, the ConfiguredActivationHeights::nu6_3 field, and the sixth "ironwood" value pool balance. All three zebra-* crates use the same rev. This is the exact zebra rev that zallet PR zingolabs#537 (feat/nu63-comp) uses, and it builds against the librustzcash `main` line pinned in the preceding commit, so zaino and zallet share one zebra and one librustzcash. This is a dependency-alignment change that must follow zallet: update it only to track zallet's zebra pin. The patch lives once in the single root workspace (the live-test crates were folded in; see docs/adr/0002), and every member inherits it through the single lock. See docs/updating_zebra_crates.md. Consuming the new NU6.3 surface in zaino's code is done in the following commit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Consume the NU6.3 surface added by the zebra pin so zaino builds against the NU6.3 zebra and can be used by zallet PR zingolabs#537: - zaino-common config::network: add the nu6_3 activation height to ActivationHeights, the ConfiguredActivationHeights conversions, the defaults, and the NetworkUpgrade::Nu6_3 match arm; add nu6_3 to the round-trip test and assert it survives the zebra path. - zaino-fetch getblockchaininfo/getblock responses: grow the value pool array from 5 to 6 to include the ironwood pool, map the new balance, and accept the "ironwood" pool id when deserializing. - zaino-state chain_index test vectors and the live-tests/clientless chain_cache test: add nu6_3 to their ConfiguredActivationHeights literals. - live-tests/zaino-testutils: add nu6_3 to the LocalNetwork and ActivationHeights literals. - Update Cargo.lock for the zebra and librustzcash pins. zingo_common_components stays at 0.3.1, matching the zcash_local_net validator launcher used by the live tests (both share one version in the single workspace lock). That 0.3.1 type has no nu6_3 slot, so the NU6.3 height is not carried through the zingo intermediate; it is preserved on the zebra ConfiguredActivationHeights path, which is what NU6.3 support needs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7995f26 to
440b5e0
Compare
Contributor
Author
|
Closing in favor of #1362 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based previously on #1340.
Don't review nor merge.
The first two commits should follow the following branches, until proper releases have been made:
As the branches get updated, fixup commits can be done respectively in e0be576 for librustzcash and 44dc9a8 for zebra.