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

Add a changelog #110

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Add a changelog #110

merged 2 commits into from
Dec 12, 2023

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Dec 12, 2023

Extracted from the zcash_primitives changelog. We only include changes relative to the zcash_primitives::sapling module as of 0.13.0; prior changes never corresponded to published sapling-crypto releases.

Paired with zcash/librustzcash#1068.

Extracted from the `zcash_primitives` changelog. We only include changes
relative to the `zcash_primitives::sapling` module as of 0.13.0; prior
changes never corresponded to published `sapling-crypto` releases.

Source: https://github.com/zcash/librustzcash
Rev: zcash/librustzcash@6acc64e
- `SaplingBuilder::add_spend` now takes `extsk` by reference. Also, it no
longer takes a `diversifier` argument as the diversifier may be obtained
from the note.
- `SaplingBuilder::add_output` now takes an `Option<[u8; 512]>` memo instead
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder whether it would actually be more correct to take [u8; 512] rather than an Optional value; if we're taking the Option here, it means that we're enforcing the Zcash network 0xf6 convention on all users.

Copy link
Contributor

Choose a reason for hiding this comment

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

The same comment applies to the Orchard builder.

Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

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

I think that when referring to types that did not move into sapling-crypto that we should provide the full module path in zcash_primitives so that they're easy to distinguish.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

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

ACK 0ebb750

@str4d str4d merged commit dfc2442 into master Dec 12, 2023
23 checks passed
@str4d str4d deleted the changelog-from-refactor branch December 12, 2023 20:05
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