feat(zk-backend): two-stage groth16 dry-run#3869
Merged
Merged
Conversation
c57445f to
e990def
Compare
e990def to
f2adb7f
Compare
40549d5 to
e806c5d
Compare
f2adb7f to
983d611
Compare
e806c5d to
53ee3d8
Compare
e9be5b5 to
e4402c9
Compare
mw2000
added a commit
that referenced
this pull request
Jul 8, 2026
Snark dry-run completion lands in the stacked #3869 backend work, so keep the helper able to submit snark_groth16 requests. Co-authored-by: Cursor <cursoragent@cursor.com>
53ee3d8 to
e1c3714
Compare
e4402c9 to
3c54cad
Compare
e1c3714 to
910ebeb
Compare
3c54cad to
02c9eb5
Compare
Base automatically changed from
mw2000/zk-host-groth16-orchestration-host
to
main
July 9, 2026 12:38
Collaborator
✅ Heimdall Review Status
|
02c9eb5 to
c41af3a
Compare
c41af3a to
c45cb93
Compare
c45cb93 to
f436fef
Compare
Add two-stage (STARK range -> SNARK aggregation) dry-run support, trim docs/tests to essentials, and re-parent onto the narrowed submit base. Co-authored-by: Cursor <cursoragent@cursor.com>
f436fef to
c72eeff
Compare
Contributor
Review SummaryChanges reviewed: 3 files, +136/-15 — extends the dry-run ZK backend to support two-stage Groth16 proving (STARK range → SNARK aggregation) via Assessment: Looks correctThe implementation is well-structured and addresses the key concerns from the previous review iteration:
No new issues identified. The previous inline comments are from an outdated diff and have been addressed in the current revision. |
Contributor
✅ base-std fork tests: all 616 passedbase/base is fully in sync with the base-std spec.
|
jackchuma
approved these changes
Jul 9, 2026
0xsimulacra
pushed a commit
to 0xsimulacra/base-node-reth
that referenced
this pull request
Jul 10, 2026
* feat(proof): wire devnet to prover service Replace the legacy local zk-prover container in devnet with the prover service coordinator, prover-service Postgres, and the zk-host worker. Build separate local Docker targets for the coordinator and worker, and keep devnet dry-run/cluster startup focused on compressed proof jobs until SNARK-capable workers are added. Convert the local zk-prover Just helpers from legacy gRPC helpers into requester JSON-RPC helpers for an already-running prover-service endpoint. The helper can submit compressed and snark_groth16 requests; whether SNARK completes depends on a matching worker being available. Migrate the B20 ZK proving benchmark to the prover-service requester JSON-RPC client so the advertised devnet benchmark path still targets port 9000 after the compose migration and continues to read dry-run execution stats from successful compressed proof results. Remove the legacy standalone zk-prover compose flow and its gRPC/CA helper scripts now that devnet owns the local prover-service stack. Co-authored-by: Codex <codex-noreply@coinbase.com> * fix(devnet): address prover-service review feedback Build zk-host with a release profile during devnet image bakes, prune legacy compose orphans on startup, and harden zk-prover JSON-RPC helpers. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(devnet): stop publishing prover-service worker RPC port Worker RPC on 9001 is only used inside the compose network by zk-host, so drop the host port mapping. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(devnet): drop unused PROOF_TYPE env from zk-host The zk-host worker claims all configured ZK proof types via job discovery, so PROOF_TYPE in compose and devnet up was dead config. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(devnet): reject snark in zk-prover and build zk-host in release Devnet dry-run/cluster backends cannot complete snark jobs, so fail locally in just zk-prover prove. Compose builds for zk-host now use ZK_HOST_PROFILE=release instead of inheriting dev. Co-authored-by: Cursor <cursoragent@cursor.com> * revert(devnet): restore snark support in zk-prover prove helper Snark dry-run completion lands in the stacked base#3869 backend work, so keep the helper able to submit snark_groth16 requests. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Codex <codex-noreply@coinbase.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SnarkGroth16jobs from the STARK range stage to a SNARK aggregation stage viasubmit_next, storing a per-stage result keyed by backend session id.Made with Cursor