File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2193,16 +2193,15 @@ impl<'a> Executor<'a> {
21932193
21942194 // Ensure that all proofs were read, otherwise return an error.
21952195 if self . state . proof_stream_ptr != self . state . proof_stream . len ( ) {
2196+ let expected = self . state . proof_stream . len ( ) ;
2197+ let actual = self . state . proof_stream_ptr ;
21962198 tracing:: error!(
21972199 "Not all proofs were verified. \
21982200 Expected to verify {expected} proofs, but only {actual} were verified. \
21992201 Make sure you're passing the correct number of proofs \
22002202 and that you're calling verify_sp1_proof for all proofs."
22012203 ) ;
2202- return Err ( ExecutionError :: UnverifiedDeferredProofs {
2203- expected : self . state . proof_stream . len ( ) ,
2204- actual : self . state . proof_stream_ptr ,
2205- } ) ;
2204+ return Err ( ExecutionError :: UnverifiedDeferredProofs { expected, actual } ) ;
22062205 }
22072206
22082207 if !self . state . input_stream . is_empty ( ) {
You can’t perform that action at this time.
0 commit comments