Skip to content

[Feat] Prover loading assets (circuits) dynamically - #1717

Merged
noel2004 merged 26 commits into
developfrom
feat/dyn_asset_loading
Aug 29, 2025
Merged

[Feat] Prover loading assets (circuits) dynamically#1717
noel2004 merged 26 commits into
developfrom
feat/dyn_asset_loading

Conversation

@noel2004

@noel2004 noel2004 commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

Prover can load assets while it has received a task.

It load the corresponding task according to the vk specified in universal task.

The updated notes for deployment can be checked in: https://www.notion.so/scrollzkp/Deployment-of-coordinator-prover-for-feynman-upgrade-2237792d22af807583c6cd3920bda3d2

Minor updates:

  1. Induce new metrics: [Feat] Induce new metric for proving #1726

  2. Fix the issue of forkname - version check: until now there is an issue in the forkname matching while handling the login of prover. As the result, only the repo version from prover is identical with which specified by prover_manager.verifier.min_prover_version can be allowed to login. We have induced the fixing in this PR:

    1. Prover with repo version higher than .min_prover_version can login
    2. Optional min_prover_version field can be added into any element in prover_manager.verifier.verifiers so any prover whose repo version lower than the optional min_prover_version would be excluded from the tasks for the corresponding forking

Summary by CodeRabbit

  • New Features

    • Dynamic per-verification-key asset downloading with local caching, feynman asset presets, and a local setup/release-setup script.
    • Verifier accepts verification keys encoded as hex or base64.
    • New observability metrics and payload fields for per-proof timings and chunk gas.
  • Refactor

    • Unified "universal" prover/verifier flow; euclid-specific handlers and CLI Dump removed; proving API simplified.
    • Public proof type moved to StarkProof; chunk metadata now includes total gas used.
  • Dependencies

    • Workspace dependencies pinned to specific commits; some crate feature adjustments.

Loading
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.

4 participants