package tezos-plompiler

  1. Overview
  2. Docs
Library to write arithmetic circuits for Plonk


Dune Dependency






Published: 04 Aug 2022


To setup correctly your local environment run the script ./scripts/ which will take care of creating a local opam directory _opam and installing:

  • the right Rust version

  • the right OCaml version

  • the system dependencies

  • opam build and test dependencies.

The CI uses the same script so it's easier to make sure that it matches your local setup. The CI's first job launches the installation script and then caches the resulting _opam. Following jobs will then download the cache and run. The first job exists immediately if it detects that the cache is already populated.

The cache can be cleared clicking "Clear runner caches" under pipelines, and it's important to do so if any *.opam files or .gitlab-ci.yml have changed. A pipeline w/o cache takes 18 minutes vs 5 minutes for one with cache.

The cache contains also the dune directory _build so that it is shared between branches and MRs to avoid re-building code or re-running tests that haven't changed.

Dependencies (10)

  1. mec = "0.1.0"
  2. ff
  3. stdint
  4. hex
  5. data-encoding
  6. tezos-bls12-381-polynomial = version
  7. bls12-381 >= "4.0.0"
  8. hacl-star >= "0.4.0"
  9. ocaml >= "4.12.0"
  10. dune >= "2.8"

Dev Dependencies (3)

  1. odoc with-doc
  2. bisect_ppx with-test
  3. alcotest with-test & >= "1.1.0"

Used by (1)

  1. tezos-plonk = "0.1.3"