Skip to content

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

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

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. Apart from a dated note in the synchronized benchmark file, 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 a protocol bench of this build.
  • The layout-lock fixtures of e3-net, slashing, e3-zk-prover and e3-tests: the nine new
    CircuitName variants in every document that embeds CircuitName, the six
    CiphernodesCommitteeSize::Large rows, and the changed ZkRequest::NodesFoldStep row (300 → 316
    bytes). All other rows are unchanged; compatibility is in docs/architecture/upgrades.md.
  • Both synchronized Minimum candidate manifests (circuits/qualification/*/minimum/manifest.json),
    requalified after the 45-party search (feat(bfv)!: size BFV for 45 parties and add the large committee #2542): each has a new C6 pin and configuration ID; the C7
    and outer pins are unchanged. The secure C6 is 8,609,260 gates after the wider noise checks.
  • circuits/benchmarks/synchronized-decryption.md: a dated note with that gate count.

Verification

  • pnpm build:circuits --preset all --committee all on an Apple M5 Ultra: exit 0 in 33 min. The
    insecure-64/minimum stamp 5c2ddf13094ffd62 equals e3-zk-build hash; every pair's stamp matches
    its prepared sources (pnpm check:crypto-config --full, 8 pairs).
  • pnpm generate:vk-commitments, then pnpm generate:verifiers --preset P --committee C --write per
    pair. The catalogue and all 16 verifiers are byte-identical to the build before the last round of
    review fixes, so no verification key changed in that round.
  • Layout locks regenerated with LAYOUT_LOCK_UPDATE=1.
  • pnpm bench:circuits protocol --mode insecure --committee minimum: exit 0; fixture synced from
    that run; BfvVkBindingIntegration.spec.ts: 3 passing.
  • Synchronized candidates (scripts/circuits/qualify-sync-decryption.sh steps, run for real):
    proving tests pass (insecure 38 s / 4.4 GiB; secure 9.6 min / 26.6 GiB peak against the 32 GiB
    guard), candidates rebuilt from cleaned targets and verified, and
    SynchronizedDecryptionCandidate.spec.ts passes for both profiles.
  • pnpm store:circuits push: circuit-artifacts 99a0ce8..86a25e3 (circuits: 5c2ddf13094ffd62).

Compatibility

@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 21, 2026 3:27pm UTC
interfold-docs Ready Ready Preview Nov 21, 2026 3:27pm 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 59 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 386ed20 and ec082d0.

Files selected for processing: 25

  • circuits/benchmarks/synchronized-decryption.md
  • circuits/qualification/sync-insecure-64/minimum/manifest.json
  • circuits/qualification/sync-secure-8192/minimum/manifest.json
  • 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

@ctrlc03
ctrlc03 added this pull request to stack #2543 November 20, 2026 09:22
@ctrlc03
ctrlc03 force-pushed the large/sepolia-cutover-large branch from 6ae01bc to fe5e972 Compare November 20, 2026 09:48
@ctrlc03
ctrlc03 force-pushed the large/circuit-outputs branch from cca5e27 to 3b4da1e Compare November 20, 2026 09:48
@ctrlc03
ctrlc03 force-pushed the large/sepolia-cutover-large branch from fe5e972 to c04989b Compare November 20, 2026 17:22
@ctrlc03
ctrlc03 force-pushed the large/circuit-outputs branch from 3b4da1e to f28a1a5 Compare November 20, 2026 17:22
…e stack

One matrix build of all eight preset/committee pairs (stamp 5c2ddf13094ffd62 for insecure-64/minimum): the named VK catalogue; the Honk verifiers, including insecure-64/large and secure-8192/large; the layout locks for the nine new CircuitName variants, CiphernodesCommitteeSize::Large and the NodesFoldStep row; and the BFV VK-binding fixture from a protocol bench of this build. Both synchronized Minimum candidates were requalified after the 45-party search from freshly compiled sources: each has a new C6 pin and configuration ID, and the C7 and outer pins are unchanged. The benchmark note records the secure C6 gate count after the wider noise checks.
@ctrlc03

ctrlc03 commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

Split into the stack's PRs so each passes CI on its own: the circuits-group outputs are now in #2531 and the parameters/committee outputs (the same published set) in #2542. Review threads stay here.

@ctrlc03 ctrlc03 closed this Nov 21, 2026

This branch was successfully deployed

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