Skip to content
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

Diff from upstream, for ref only #37

Draft
wants to merge 129 commits into
base: main
Choose a base branch
from
Draft

Diff from upstream, for ref only #37

wants to merge 129 commits into from

Conversation

PaulLaux
Copy link

No description provided.

vivek-arte and others added 30 commits October 20, 2022 12:44
…textBytes, wrapping the AEADBytes in a struct
alexeykoren and others added 30 commits July 26, 2024 16:38
This PR updates the `zcash_primitives` crate to align with the recent
changes in the `sapling-crypto` crate, which was updated to sync with
the latest changes in `zcash_note_encryption`.

### Changes:
- Updated the usage of `enc_ciphertext` to call `.as_ref()` to match the
new return type.
- Adjusted the import of the `ENC_CIPHERTEXT_SIZE` constant to use the
definition from `sapling-crypto` instead of `zcash_note_encryption`, as
the constant has been moved to `sapling-crypto`.

Co-authored-by: Dmitry Demin <[email protected]>
This updates the test vectors to be of version 6 (as opposed to
version 7).

It also provides a new file for the V6 test vectors, an improvement to
having them in the same file but behind feature flags.

It provides a error for when the asset description string is not a UTF8
encoding.
ZSA has been implemented across the entire codebase, including:

- **TransactionData** now contains two extra components: `OrchardZsaBundle` and `IssueBundle`.
- Serialization and deserialization of the new components have been added.
- Digests of the new components are considered in the calculation of `sighash`/`txid`.

The **Nu7 network upgrade** has been introduced. However, the "nu6" `zcash_unstable` flag is currently used to separate ZSA from the regular build. All Nu7-related flags are annotated with `/* TODO nu7 */` comments.

- Builder methods for ZSAs have been implemented.
- Wallet-related functionality (in `zcash_client_backend`, `zcash_client_sqlite`) is currently disabled, as they do not yet support ZSAs.
This makes the changes that are required after the merging of
QED-it/orchard#113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants