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

Change the Rust depdendencies to use our newly published crates #5590

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

andiflabs
Copy link
Contributor

Summary

This commit replaces all the dependencies on our forked crates on github.com to the corresponding crates on crates.io. Specifically:

  • bellperson -> ironfish-bellperson
  • jubjub -> ironfish-jubjub
  • zcash_primitives -> ironfish-primitives
  • zcash_proofs -> ironfish-proofs

The following crates were also being consumed from github.com and have been restored to the original version on crates.io (no need to publish a fork):

  • equihash
  • f4jumble
  • zcash_address
  • zcash_encoding
  • zcash_encoding
  • zcash_note_encryption

With this commit, ironfish-zkp and ironfish-rust have 100% of their dependencies on crates on crates.io.

Testing Plan

  • Unit tests
  • cargo publish --dry-run -p ironfish_zkp (can't do the same with ironfish before ironfish_zkp is published)
  • Inspect Cargo.lock and verify that there are no URIs starting with git+https://; alternatively: run cargo tree and check that there are no URIs starting with https://

Documentation

N/A

Breaking Change

N/A

This commit replaces all the dependencies on our forked crates on
`github.com` to the corresponding crates on `crates.io`. Specifically:

* `bellperson` -> `ironfish-bellperson`
* `jubjub` -> `ironfish-jubjub`
* `zcash_primitives` -> `ironfish-primitives`
* `zcash_proofs` -> `ironfish-proofs`

The following crates were also being consumed from `github.com` and have
been restored to the original version on `crates.io` (no need to publish
a fork):

* `equihash`
* `f4jumble`
* `zcash_address`
* `zcash_encoding`
* `zcash_encoding`
* `zcash_note_encryption`

With this commit, `ironfish-zkp` and `ironfish-rust` have 100% of their
dependencies on crates on `crates.io`.
@andiflabs andiflabs requested a review from a team as a code owner October 28, 2024 19:03
@andiflabs andiflabs enabled auto-merge (rebase) October 28, 2024 19:10
@andiflabs andiflabs merged commit f95986d into staging Oct 28, 2024
14 checks passed
@andiflabs andiflabs deleted the andrea/update-ironfish-jubjub-dep branch October 28, 2024 19:11
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