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

Migrate to latest revision of Zcash crates #1618

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Feb 21, 2025

Explanation

When the Zcash app was added, some modifications to the upstream Zcash Rust crates were needed to enable no-std support. At the time, these changes were blocked on third-party dependency updates, and so the Keystone firmware depended on patched branches. Now, we have crate releases that include the necessary no-std support, so the Keystone firmware can depend on them directly.

Pre-merge check list

  • PR run build successfully on local machine.
  • All unit tests passed locally.

How to test

Build whichever firmware versions contain the Zcash app.

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.

untested ACK, I have verified the updated crate versions

Comment on lines +580 to +582
version = "0.6.0-pre.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "143f5327f23168716be068f8e1014ba2ea16a6c91e8777bc8927da7b51e1df1f"
Copy link

@daira daira Feb 21, 2025

Choose a reason for hiding this comment

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

Reviewed KeystoneHQ/crates@main...iqlusioninc:crates:bip32/v0.6.0-pre.1 which is a fast-forward. Looks to be mostly dependency updates, other changes are trivial. Rust MSRV is bumped to 1.81.0.

Copy link

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK

@soralit
Copy link
Contributor

soralit commented Feb 24, 2025

Hi @str4d @nuttycom @daira , we'd like to merge this PR after our nearest release. It will happen in this week.

@soralit soralit changed the base branch from master to zcash-audit March 5, 2025 01:48
@soralit soralit merged commit 53b41b1 into KeystoneHQ:zcash-audit Mar 5, 2025
1 check passed
@str4d str4d deleted the zcash-update-deps branch March 5, 2025 04:34
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