-
Notifications
You must be signed in to change notification settings - Fork 174
feat(l2): add prover benchmarking tooling and documentation #6157
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
Changes from all commits
9d4b9b0
f16d3d0
5bccf59
0ff9f59
a236c08
a56a257
9fbeaef
05c0785
ab55110
a786cd1
48ec1c1
9fd1d07
131c650
8375cb2
d0fbcaa
baae118
e60ed34
ff9e680
f87ed2a
db185aa
7e49164
517e535
8bd6f49
49cedbf
88151ee
b4fe39c
90f8b4b
1d3ad05
01db920
2cb2ffe
00c7bf6
a059a43
368cda9
5d34ed6
0740241
b5a1d83
a8385bc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| use std::time::{Duration, Instant}; | ||
|
|
||
| use ethrex_guest_program::input::ProgramInput; | ||
| use ethrex_l2_common::prover::{BatchProof, ProofFormat}; | ||
| use ethrex_l2_common::prover::{BatchProof, ProofFormat, ProverType}; | ||
| use openvm_continuations::verifier::internal::types::VmStarkProof; | ||
| use openvm_sdk::{Sdk, StdIn, types::EvmProof}; | ||
| use openvm_stark_sdk::config::baby_bear_poseidon2::BabyBearPoseidon2Config; | ||
|
|
@@ -64,6 +64,10 @@ impl ProverBackend for OpenVmBackend { | |
| type ProofOutput = OpenVmProveOutput; | ||
| type SerializedInput = StdIn; | ||
|
|
||
| fn prover_type(&self) -> ProverType { | ||
| unimplemented!("OpenVM is not yet enabled as a backend for the L2") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Acknowledged — keeping |
||
| } | ||
|
|
||
| fn serialize_input(&self, input: &ProgramInput) -> Result<Self::SerializedInput, BackendError> { | ||
| let mut stdin = StdIn::default(); | ||
| let bytes = rkyv::to_bytes::<Error>(input).map_err(BackendError::serialization)?; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.