Skip to content

Bump up librustzcash to c3a91be47927461d25948932e03be3ae2bf79332

Danny Willems requested to merge bump-up-librustzcash into master

This MR is part of the meta issue tezos#1101 (closed) (JavaScript version of Sapling). Please refer to it to see if it does not depend on other MR's first).

Follow !1 (merged).

A new version of librustzcash is required to compile to wasm using wasm-bindgen (MR coming over this one). The version is https://github.com/zcash/zcash/commit/c3a91be47927461d25948932e03be3ae2bf79332. ff and group is bumped up to 0.8.0, but ff/group 0.6.0 are still used by BLS. It is going to be fixed later. There is an ongoing work on rustc-bls12-381 to match up with ff 0.8.0 and group 0.8.0. However, it does require a change in https://github.com/zkcrypto/bls12_381 to export Fq12 encoding functions.

Here a version of Tezos working with this branch. An additional branch in opam-repository is used: https://gitlab.com/nomadic-labs/opam-repository/-/tree/use-tezos-rust-lib

TODO:

  • Provide a tezos branch using this version of tezos-rust-libs
Edited by Danny Willems

Merge request reports