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 131 commits into
base: main
Choose a base branch
from
Draft

Diff from upstream, for ref only #37

wants to merge 131 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 20:20
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
…update prost dependency version (#75)

Updates the repository to ensure compatibility with the `zebra` project.

## Changes:

1. Uncommented the `zcash_client_backend` crate in the root
`Cargo.toml`. Initially it was commented out under the assumption that
it wasn't utilized by Zebra. However, it has been identified that Zebra
relies on this crate.

2. Synchronized `zcash_client_backend` crate with
`zcash_note_encryption` updates.

3. Updated the `prost` dependency version in the root `Cargo.toml` (the
pinned version 0.12.3 caused compatibility issues with Zebra’s
dependencies, preventing compilation).
Add Regtest network
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