Skip to content

Update zcash_primitives to sync with latest sapling-crypto changes#70

Merged
dmidem merged 1 commit into
txv6-separate-bundles-rebasedfrom
txv6-separate-bundles-rebased-dd3
Aug 20, 2024
Merged

Update zcash_primitives to sync with latest sapling-crypto changes#70
dmidem merged 1 commit into
txv6-separate-bundles-rebasedfrom
txv6-separate-bundles-rebased-dd3

Conversation

@dmidem
Copy link
Copy Markdown
Collaborator

@dmidem dmidem commented Aug 19, 2024

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.

@QED-it QED-it deleted a comment from what-the-diff Bot Aug 19, 2024
@dmidem dmidem requested review from PaulLaux and alexeykoren August 19, 2024 14:24
Copy link
Copy Markdown
Collaborator

@alexeykoren alexeykoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@dmidem dmidem merged commit 6652222 into txv6-separate-bundles-rebased Aug 20, 2024
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.

2 participants