Skip to content

feat(vk): support v33.1 private release generation - #32

Draft
itegulov wants to merge 6 commits into
mainfrom
di/v33.1-vk
Draft

feat(vk): support v33.1 private release generation#32
itegulov wants to merge 6 commits into
mainfrom
di/v33.1-vk

Conversation

@itegulov

@itegulov itegulov commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What?

Add v33.1 to the verification-key workflow, defaulting to matter-labs/zksync-os-private release v0.5.5 and the wrapper workspace in matter-labs/zksync-protocol-private. Require an explicit wrapper revision and contracts revision, and expose repository and wrapper-layout overrides to manual and reusable callers.

The monorepo path matches prover v0.9.5-private: build 100-bit circuits and run generate-vk with both released application files, the real trusted setup, and --check-aux-params. Use the checksum-pinned 2^25 trusted setup required by the current SNARK domain, and raise the main-thread stack limit for synthesis. Older protocols retain the standalone wrapper CLI and 2^24 setup. Skip the removed FFLONK verifier when updating v33 contracts.

Authenticate private release downloads and Cargo Git dependencies using the org read token, with RELEASE_TOKEN as a fallback. Always download the requested OS binary before generating a key, and upload the generated VK JSON and hash alongside the contracts patch.

Why?

The existing workflow only supports protocols through v32.0 and unauthenticated public release downloads. v33.1 needs a separate proving key for its private OS release even though it can replay v33.0 blocks. The current prover uses a different wrapper CLI from the older standalone repository, and application binding must be enabled explicitly when generating its key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant