-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: FFLONK support for compressor #3359
Conversation
# Conflicts: # Cargo.lock # prover/Cargo.lock # zkstack_cli/crates/zkstack/src/commands/chain/init/configs.rs
circuit_encodings = "0.150.19" | ||
circuit_sequencer_api = "0.150.19" | ||
circuit_definitions = "0.150.19" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a bad idea to unlock the version. The latest version of crypto/protocol crates must be pinned to the last one; otherwise cargo update
can bump the version in lockfile automatically.
Pls return =
to all the crates where it was removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @EmilLuta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+=1. My miss.
🤖 I have created a release *beep* *boop* --- ## [26.0.0](core-v25.4.0...core-v26.0.0) (2025-01-17) ### ⚠ BREAKING CHANGES * **contracts:** gateway integration ([#1934](#1934)) ### Features * Adapt server for new EVM bytecode hash encoding ([#3396](#3396)) ([5a1e6d2](5a1e6d2)) * Add logging & metrics for mempool ([#3447](#3447)) ([64d861d](64d861d)) * **api_server:** report gas price based on open batch ([#2868](#2868)) ([f30aca0](f30aca0)) * **contracts:** gateway integration ([#1934](#1934)) ([f06cb79](f06cb79)) * da_dispatcher refactoring ([#3409](#3409)) ([591cd86](591cd86)) * **en:** make documentation more chain agnostic ([#3376](#3376)) ([361243f](361243f)) * **eth-sender:** make base fee grow at least as fast as priority fee ([#3386](#3386)) ([78af2bf](78af2bf)) * **eth-watch:** Change protocol upgrade schema ([#3435](#3435)) ([2c778fd](2c778fd)) * Features for an easier upgrade ([#3422](#3422)) ([3037ee6](3037ee6)) * FFLONK support for compressor ([#3359](#3359)) ([1a297be](1a297be)) * pubdata type changes from sync-layer-stable ([#3425](#3425)) ([f09087b](f09087b)) ### Bug Fixes * **api:** Propagate fallback errors in traces ([#3469](#3469)) ([84e3e31](84e3e31)) * **en:** make EN use main node's fee input ([#3489](#3489)) ([cbf2c31](cbf2c31)) * eth aggregator restriction ([#3490](#3490)) ([6cc9b9e](6cc9b9e)) ### Performance Improvements * **eth-sender:** optimize sql query ([#3437](#3437)) ([0731f60](0731f60)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Tomasz Grześkiewicz <lemures64@gmail.com> Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [18.0.0](prover-v17.1.1...prover-v18.0.0) (2025-01-27) ### ⚠ BREAKING CHANGES * **contracts:** gateway integration ([#1934](#1934)) ### Features * Compressor optimizations ([#3476](#3476)) ([3e931be](3e931be)) * **consensus:** Added view_timeout to consensus config ([#3383](#3383)) ([fc02a8f](fc02a8f)) * **consensus:** Update consensus dependencies ([#3339](#3339)) ([aa9575f](aa9575f)) * **contracts:** gateway integration ([#1934](#1934)) ([f06cb79](f06cb79)) * **eth-watch:** Change protocol upgrade schema ([#3435](#3435)) ([2c778fd](2c778fd)) * FFLONK support for compressor ([#3359](#3359)) ([1a297be](1a297be)) * Support stable compiler for VM (and some other crates) ([#3248](#3248)) ([cbee99d](cbee99d)) ### Bug Fixes * added missing quote in prover query ([#3347](#3347)) ([668ca51](668ca51)) * Compressor setup data ([#3526](#3526)) ([62aea8b](62aea8b)) * **prover:** Create reqwest client only once ([#3324](#3324)) ([40f8123](40f8123)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: zksync-era-bot <zksync-era-bot@users.noreply.github.com>
What ❔
Enables support of FFLONK compression
--flonk=true
flag to run compressor in FFLONK mode(or by runningzkstack prover run --component compressor --mode=fflonk
), default mode is still PLONKL1BatchProofForL1::Fflonk
orL1BatchProofForL1::Plonk
containing the proof insidecompression_mode
environment variable - FFLONK compressor can be run in 5 modes - 5th one is the most effective, so default value is 5.Why ❔
Checklist
zk fmt
andzk lint
.