mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 19:58:01 -05:00
* bump to beta v2.1-rc16 * add a prover config file for devnet * update srs url * bump constraints to cbc6bcb and go-corset to v1.1.1 * use go-corset v1.1.1 * use go-corset v1.1.3 * feat(state-manager): insertion and ephemeral filters . * chores(versions): align the constraints version * chores(version): align the corset version * chores(version): update the zkevm.bin * chores(version): update the zkevm.bin * fix(limits): removes discrepancy between the sepolia and the mainnet config file * chores(release): update the verifier contracts * testing(contract): updates the post-release testdata * chores(contracts): update the contracts * chores(constraints): updates constraints and corset to use the right value * chores(mod): updates the corset dependency and zkevm.bin * testing(contract): updates the testdata * chores(config): update the sample config to use the right version --------- Co-authored-by: gusiri <dreamerty@postech.ac.kr> Co-authored-by: Bogdan Ursu <bogdanursuoffice@gmail.com>
linea-monorepo/prover
This directory contains the implementation of the prover of Linea. As part of it, it contains an implementation of the Vortex polynomial commitment, of the Arcane compiler, the instantiation of the zkEVM using the arithmetization and the server implementation.
Building and running
The prover has the following build dependencies
rust@1.74.0andcargogo@1.21.5make
The repository counts 2 main binaries:
bin/prover:bin/prover setupgenerate the assets (setup / preprocessing)bin/prover proverun process a request, create a proof and outputs a response.bin/controller: a file-system based server to run Linea's prover
Building and running the setup generator
The setup-generation (make setup) is used to generate the setup for all the types of provers. Execution, Decompression and Aggregation.
By default, if the --force flag is not provided, the tool will compile the circuit and check if the destination dir already contains a setup that matches, skipping the CPU intensive phase of the actual plonk Setup if needed.
Run
make setup
Integration tests
./integration/run.sh dev-mode
./integration/run.sh full-mode