Skip to content

chore(circuits): regenerate the circuit outputs of the large stack - #2541

Open
ctrlc03 wants to merge 1 commit into
large/sepolia-cutover-largefrom
large/circuit-outputs
Open

ctrlc03 wants to merge 1 commit into
large/sepolia-cutover-largefrom
large/circuit-outputs

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

What and why

Split from #2398 (Zara's work). Stacked on #2540 (large/sepolia-cutover-large); review that one
first.

Regenerates every circuit output of the large-committee stack (#2531 to #2540) from one matrix build,
and publishes the circuits. It has no hand-written changes, so the PRs below it can be reviewed
without 14k lines of generated verifiers.

  • circuits/vk-commitments.json: the VK catalogue for all eight preset/committee pairs.
  • The Solidity Honk verifiers for every pair, including the new insecure-64/large and
    secure-8192/large.
  • The BFV VK-binding fixture, from the protocol bench.
  • The layout-lock fixtures of e3-net, slashing, e3-zk-prover and e3-tests: only the new
    CircuitName rows and the ZkRequest::NodesFoldStep row change.

Verification

  • pnpm build:circuits --preset all --committee all: exit 0, validateArtifactSet passed; the
    insecure-64/minimum stamp d474736cc28c4e65 equals e3-zk-build hash.
  • pnpm generate:vk-commitments, then pnpm generate:verifiers --preset P --committee C --write
    per pair.
  • pnpm bench:circuits protocol --mode insecure --committee minimum: exit 0; fixture synced.
  • Layout locks regenerated with LAYOUT_LOCK_UPDATE=1.
  • pnpm check:crypto-config --full: pass, 8 pairs. BfvVkBindingIntegration.spec.ts: 3 passing.
  • pnpm store:circuits push: circuit-artifacts 7a77e92..99a0ce8.

Compatibility

  • New verifier deployments for every pair; the circuit release carries eight pairs.
  • Any later change to circuit sources below this PR needs a rebuild and a new commit here.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interfold-dashboard Ready Ready Preview Nov 20, 2026 9:49am UTC
interfold-docs Ready Ready Preview Nov 20, 2026 9:49am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fe5e972 and 3b4da1e.

Files selected for processing: 22

  • circuits/vk-commitments.json
  • crates/net/tests/fixtures/layout_lock.txt
  • crates/orchestration/slashing/tests/fixtures/layout_lock.txt
  • crates/testing/system/tests/fixtures/layout_lock.txt
  • crates/zk/prover/tests/fixtures/layout_lock.txt
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/large/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/large/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/micro/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/micro/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/small/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/insecure-64/small/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/large/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/large/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/micro/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/micro/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/minimum/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/minimum/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/small/DecryptionAggregatorVerifier.sol
  • packages/interfold-contracts/contracts/verifiers/bfv/honk/secure-8192/small/DkgAggregatorVerifier.sol
  • packages/interfold-contracts/test/fixtures/bfv_vk_binding/folded_artifacts.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…e stack

One matrix build of all eight pairs (circuit-artifacts 99a0ce8, source
hash d474736cc28c4e65 for insecure-64/minimum) regenerates what the
stack below changes:

- circuits/vk-commitments.json;
- the dkg and decryption aggregator verifiers for every pair, including
  the new insecure-64/large and secure-8192/large;
- the BFV VK binding fixture, from a protocol run on insecure-64/minimum;
- the layout locks: nine appended CircuitName variants and the new
  ZkRequest::NodesFoldStep encoding.

This branch was successfully deployed

2 active deployments
Preview – interfold-dashboard — 3b4da1ec Deployed Nov 20, 2026 by vercel[bot]
Preview – interfold-docs — 3b4da1ec Deployed Nov 20, 2026 by vercel[bot]
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