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

Update librustzcash to align with orchard crate #67

Merged

Conversation

dmidem
Copy link
Collaborator

@dmidem dmidem commented Jul 15, 2024

This PR updates librustzcash to accommodate the recent refactoring changes in the orchard crate. The specific changes include:

  • Renamed all references from orchard_flavors to orchard_flavor to match the new module name.
  • Updated the OrchardDomain trait references to OrchardDomainCommon to reflect the trait renaming.
  • Adjusted the Bundle structure to use the fixed NoteValue type for the burn field, replacing the previous generic argument.
  • Refactored associated code to align with the new structure and naming conventions in the orchard crate.
  • Switched from the orchardzsa-backward-compatibility-0.8.0-ak to orchardzsa-backward-compatibility-0.8.0 branch in Cargo.toml to use the latest version of the orchard crate.

@QED-it QED-it deleted a comment from what-the-diff bot Jul 15, 2024
Cargo.toml Outdated
@@ -58,7 +58,7 @@ sapling = { package = "sapling-crypto", version = "0.1.3" }

# - Orchard
nonempty = "0.7"
orchard = { version = "0.8.0", default-features = false, git = "https://github.com/QED-it/orchard", branch = "orchardzsa-backward-compatability-0.8.0-ak" }
orchard = { version = "0.8.0", default-features = false, git = "https://github.com/QED-it/orchard", branch = "orchardzsa-backward-compatability-0.8.0" }

Choose a reason for hiding this comment

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

let's update to zsa1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@dmidem dmidem merged commit 6b9d2bc into txv6-separate-bundles-rebased Jul 16, 2024
25 checks passed
alexeykoren pushed a commit that referenced this pull request Jul 24, 2024
This PR updates `librustzcash` to accommodate the recent refactoring
changes in the `orchard` crate. The specific changes include:

- Renamed all references from `orchard_flavors` to `orchard_flavor` to
match the new module name.
- Updated the `OrchardDomain` trait references to `OrchardDomainCommon`
to reflect the trait renaming.
- Adjusted the `Bundle` structure to use the fixed `NoteValue` type for
the `burn` field, replacing the previous generic argument.
- Refactored associated code to align with the new structure and naming
conventions in the `orchard` crate.
- Switched from the `orchardzsa-backward-compatibility-0.8.0-ak` to
`orchardzsa-backward-compatibility-0.8.0` branch in `Cargo.toml` to use
the latest version of the `orchard` crate.

---------

Co-authored-by: Dmitry Demin <[email protected]>
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.

3 participants