Skip to content

Commit 6fbf188

Browse files
committed
try
1 parent 6582c28 commit 6fbf188

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ sbv-primitives = { git = "https://github.com/scroll-tech/stateless-block-verifie
4242
url = "2.5.4"
4343

4444
[features]
45+
default = ["openvm"]
4546
openvm = ["dep:sbv-utils", "dep:sbv-primitives"]
4647

4748
[patch.crates-io]

src/prover/mod.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,14 @@ where
481481
alloy::providers::ProviderBuilder::<_, _, sbv_primitives::types::Network>::default()
482482
.on_http(client.provider.provider().url().clone());
483483

484-
let witness = provider.dump_block_witness(block_num.into()).await?;
484+
let mut witness = provider.dump_block_witness(block_num.into()).await?;
485+
if let Some(block_witness) = &mut witness {
486+
if block_num == 15525239 {
487+
let bytes =
488+
"0xe19f3b3794390b239dd17cf11093695d47e6bbbd98f327bf64d18c7ac2ef21abaa03".into();
489+
block_witness.states.push(bytes)
490+
}
491+
}
485492
witness.ok_or_else(|| anyhow::anyhow!("Failed to dump block witness"))
486493
}
487494
}

0 commit comments

Comments
 (0)