-
Notifications
You must be signed in to change notification settings - Fork 138
feat(l2): aligned mode support for multiprover #3429
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
Conversation
Lines of code reportTotal lines added: Detailed view |
Benchmark for e722057Click to view benchmark
|
crates/l2/common/src/prover.rs
Outdated
| pub fn aligned_vm_program_code(&self) -> std::io::Result<Option<Vec<u8>>> { | ||
| match self { | ||
| Self::RISC0 => { | ||
| let path = format!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work on downloaded binaries. We should embed this in the binary. For reference, here's a way to do it:
https://github.com/lambdaclass/ethrex/pull/4014/files#diff-a73d7b3e1eec2d556992a25ceef5203288ab90a0f9bcc7b4a176a754c647dc42R72
Benchmark for f9cc2c1Click to view benchmark
|
Benchmark for cd6e2acClick to view benchmark
|
Benchmark for ec31811Click to view benchmark
|
Benchmark for 8331720Click to view benchmark
|
Benchmark for d9b5491Click to view benchmark
|
Benchmark for 20dee03Click to view benchmark
|
ManuelBilbao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit
Co-authored-by: Manuel Iñaki Bilbao <[email protected]>
Benchmark for bd8ebd1Click to view benchmark
|
**Motivation** #3429 updated how SP1 verification key generation works, but the tag_release workflow was not updated to take this into account.
**Motivation** #3429 updated how SP1 verification key generation works, but the tag_release workflow was not updated to take this into account.
Motivation
Adds support for Aligned + multi-prover, in particular supporting both SP1 and Risc0. This is a big change that requires modifying the sequencer, prover and settlement contracts.
Also fixes some bugs discovered on the way (SP1 public inputs, SQL rollup store, prover make rules). More details in description.
Description
store_latest_sent_batch_proofnot workinginit-proverandbuild-proverrules not working for GPUgpufeature instead of relying in theSP1_PROVERenv var (to make it consistent with Risc0)