File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/sp1/evm-range-exec/program/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ pub fn main() {
2525 // 1. Deserialize inputs
2626 // ------------------------------
2727
28+ // TODO(damian): There is no need to read N verifier keys here as we are verifying the same type of proof multiple times.
29+ // The vkey is deterministic and derived from the setup phase of the ELF.
2830 let vkeys = sp1_zkvm:: io:: read :: < Vec < [ u32 ; 8 ] > > ( ) ;
2931 let public_values = sp1_zkvm:: io:: read :: < Vec < Vec < u8 > > > ( ) ;
3032
@@ -94,13 +96,13 @@ pub fn main() {
9496 let first = outputs. first ( ) . expect ( "No outputs provided" ) ;
9597 let last = outputs. last ( ) . expect ( "No outputs provided" ) ;
9698
97- let range_output = EvmRangeExecOutput {
99+ let output = EvmRangeExecOutput {
98100 celestia_header_hash : last. celestia_header_hash ,
99101 trusted_height : first. prev_height ,
100102 trusted_state_root : first. prev_state_root ,
101103 new_state_root : last. new_state_root ,
102104 new_height : last. new_height ,
103105 } ;
104106
105- sp1_zkvm:: io:: commit ( & range_output ) ;
107+ sp1_zkvm:: io:: commit ( & output ) ;
106108}
You can’t perform that action at this time.
0 commit comments