-
Notifications
You must be signed in to change notification settings - Fork 32
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
Bind ELF to ProofData #1647
base: nightly
Are you sure you want to change the base?
Bind ELF to ProofData #1647
Conversation
crates/sovereign-sdk/rollup-interface/src/state_machine/soft_confirmation.rs
Outdated
Show resolved
Hide resolved
if let Err(e) = fork_manager.register_block(l2_height) { | ||
panic!("Fork transition failed {}", e); | ||
} |
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.
.expect("fork transition failed")
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.
Made a shallow review of the PR. Will review more throughly tomorrow
crates/sovereign-sdk/full-node/sov-stf-runner/src/prover_service/mod.rs
Outdated
Show resolved
Hide resolved
#[cfg(feature = "testing")] | ||
pub static FORKS: OnceLock<&'static [Fork]> = OnceLock::new(); | ||
|
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.
if this is made public for tests, then we can remove the not(testing) (testing) separation in the use_network_forks as it will no longer be used for testing
@@ -108,6 +108,7 @@ pub fn run_circuit<DaV: DaVerifier, G: ZkvmGuest>( | |||
if let Ok(data) = data { | |||
match data { | |||
DaDataLightClient::Complete(proof) => { | |||
// TODO: don't panic here, ignore if cant extract |
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.
todo
@@ -52,6 +54,10 @@ fn test_payable_contract_value() { | |||
|
|||
#[test] | |||
fn test_tx_request_fields_gas_fork1() { | |||
// override nightly FORKS | |||
static OVERRIDE_FORKS: [Fork; 1] = [Fork::new(SpecId::Fork1, 0)]; | |||
FORKS.set(&OVERRIDE_FORKS).expect("couldnt set"); |
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.
just unwrap
Description
Linked Issues