-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: FFLONK support for compressor (#3359)
## What ❔ Enables support of FFLONK compression * Compressor now can be run with `--flonk=true` flag to run compressor in FFLONK mode(or by running `zkstack prover run --component compressor --mode=fflonk`), default mode is still PLONK * Final proof is now an enum: it can be either `L1BatchProofForL1::Fflonk` or `L1BatchProofForL1::Plonk` containing the proof inside * We are now making use out of `compression_mode` environment variable - FFLONK compressor can be run in 5 modes - 5th one is the most effective, so default value is 5. * VK setup data generator is updated to generate setup and verification keys for FFLONK as well. ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. --------- Co-authored-by: Daniyar Itegulov <[email protected]> Co-authored-by: Igor Aleksanov <[email protected]> Co-authored-by: zksync-admin-bot2 <[email protected]>
- Loading branch information
1 parent
d8b5d29
commit 1a297be
Showing
128 changed files
with
5,463 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.