Closed
Milestone
Mar 6, 2023–Mar 17, 2023
Move cryptography projects to Tezos repo
Motivation
In order to facilitate the integration of cryptography projects needed for validity rollups, many of the projects which have until now been worked on separately under nomadic-labs/cryptography will be moved to the main Tezos repo. This includes:
- most of the codebase in aplonk
- ocaml-bls12-381-hash
- ocaml-bls12-381-signature
- ocaml-ec
- ocaml-polynomial
-
ocaml-ff, components of which will be:
- included in a new version of ocaml-bls12-381, which will remain an external dependency of Tezos
- included in the moved
ocaml-ec
Work breakdown
-
Move parts of ocaml-ff
(ff-sig
,ff-pbt
) insideocaml-bls12-381
nomadic-labs/cryptography/ocaml-bls12-381!217 (merged) -
Release ocaml-bls12-381 7.0.0
with these additions -
Switch the ocaml-ff
dependency inpolynomial
tobls12-381
-
Move parts of ocaml-ff
(ff
) insidemec
-
Switch the ocaml-ff
dependency inmec
tobls12-381
-
Rename bls12_381.ml
tobls12_381_ref.ml
to avoid clash with new dependency -
Drop benchmarks
-
-
Switch the ocaml-ff
dependency inbls12-381-hash
tobls12-381
-
Use new version of bls12-381
inbls12-381-signature
-
Replace all modified dependencies in privacy-team
-
Decide if epoxy-tx
will also be moved: yes -
Move polynomial
-
Move mec
-
Move bls12-381-signature
-
Move bls12-381-hash
(!7932 (merged)) -
Move distributed
anddistributed-lwt
-
Remove internal
from already movedbls12-381-polynomial-internal
-
Move privacy-team
projects-
Rename the already moved bls12-381-polynomial-internal
back tobls12-381-polynomial
-
Move tezos-plompiler
-
Fix uses of /tmp
-
-
Move tezos-plonk
-
Move tezos-aplonk
-
Move tezos-distributed-plonk
-
Move epoxy-tx
-
Move distributed
-
Move srs-extraction
-
-
Move poseidon-constant-generator
(Rust) to its own repo -
Update opam-repository
to remove unused dependencies -
Bulk move issues from privacy-team
totezos
-
Evaluate additional impact on CI -
Follow up issue to manage benchmarking code from bls12-381-signature
andbls12-381-hash
which depends oncore