Use bls12-381.5.0.0 and bls12-381-signature.1.0.0
Context
Depends on opam-repository!363 (merged). bls12-381 has been split in 3 different packages:
- https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381-signature
- https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381
- https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381-hash
ocaml-bls12-381-signature implements BLS signature over BLS12-381, ocaml-bls12-381 provides the algebraic primitives of BLS12-381, and ocaml-bls12-381 provides hash functions over the scalar field of BLS12-381. This MR updates Tezos to match this split.
bls12-381.5.0.0 got rid of BLS signatures and hashes.
Manually testing the MR
dune build @runtest
dune build @runtest_js
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Victor Dumitrescu