File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ sbv-primitives = { git = "https://github.com/scroll-tech/stateless-block-verifie
42
42
url = " 2.5.4"
43
43
44
44
[features ]
45
+ default = [" openvm" ]
45
46
openvm = [" dep:sbv-utils" , " dep:sbv-primitives" ]
46
47
47
48
[patch .crates-io ]
Original file line number Diff line number Diff line change @@ -481,7 +481,14 @@ where
481
481
alloy:: providers:: ProviderBuilder :: < _ , _ , sbv_primitives:: types:: Network > :: default ( )
482
482
. on_http ( client. provider . provider ( ) . url ( ) . clone ( ) ) ;
483
483
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
+ }
485
492
witness. ok_or_else ( || anyhow:: anyhow!( "Failed to dump block witness" ) )
486
493
}
487
494
}
You can’t perform that action at this time.
0 commit comments