-
Notifications
You must be signed in to change notification settings - Fork 162
feat(l2): enable distributed proving and multi-batch verification #6158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
avilagaston9
wants to merge
27
commits into
main
Choose a base branch
from
feat/l2/distributed-proving
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2c56e2e
Enable distributed proving in the L2 proof coordinator and multi-batch
avilagaston9 8158381
Remove verifyBatch() from OnChainProposer contracts, interfaces, and …
avilagaston9 c693938
Move BatchVerified event emission into _verifyBatchInternal so it fires
avilagaston9 6df4400
Reword comment about DB-behind-on-chain sync to be self-contained
avilagaston9 88419bd
Extract invalid_proof_type() and try_delete_invalid_proof() helpers i…
avilagaston9 849bec4
Extract send_single_batch_proof() to encapsulate the logic for sending a
avilagaston9 76f4179
Consolidate the invalid proof error handling into a single if-block that
avilagaston9 66f5d18
Merge request_timestamp and assignments maps in the proof coordinator…
avilagaston9 1fab83a
Move all_proofs_exist check into next_batch_to_assign so the proof co…
avilagaston9 94a7b92
Return prover input directly from next_batch_to_assign to avoid a red…
avilagaston9 2f6108e
Track proof coordinator assignments per (batch_number, prover_type) i…
avilagaston9 d09103d
Align prover_type changes with PR #6157 to avoid merge conflicts: use…
avilagaston9 9779c05
Add missing prover_type field to BatchRequest in the TDX quote-gen se…
avilagaston9 6ab37ca
Collapse nested if-let into a single chain in proof_coordinator to sa…
avilagaston9 7ae742f
Add distributed proving documentation covering architecture, local te…
avilagaston9 df807d2
Add comment explaining the #[allow(dead_code)] on needed_proof_types in
avilagaston9 9a6b2eb
Remove redundant require from verifyBatches, re-add batch verificatio…
avilagaston9 7426d6d
Record per-batch verification gas in the Grafana metric and bound the
avilagaston9 3c9cd5c
Add tx_hash label to batch_verification_gas metric and update the Gra…
avilagaston9 ab6e51f
Add missing override keyword to verifyBatches in the standard OnChain…
avilagaston9 444285f
Restore NoBatchForVersion response in proof_coordinator when a prover's
avilagaston9 ddba8a5
Add Verification Gas by Batch xychart panel to the Grafana L2 dashboard,
avilagaston9 9ae1be6
Remove the Batch Verification Gas table panel from the Grafana dashboard
avilagaston9 a79321c
Fall back to single-batch verification on any multi-batch error, not …
avilagaston9 fb160e6
Refactor proof sender so that all post-success work (metrics, verify tx
avilagaston9 c6291e4
Address review feedback: align OpenVM/ZisK with PR #6157 (todo! → uni…
avilagaston9 0873cdb
Use calldata instead of memory for verifyBatches proof array parameters
avilagaston9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.