File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ pub enum ExecutionError {
255255 UnconstrainedCycleLimitExceeded ( u64 ) ,
256256
257257 /// Not all deferred proofs were verified during execution.
258- #[ error( "unread deferred proofs: {actual}/ {expected}" ) ]
259- UnreadDeferredProofs {
258+ #[ error( "unverified deferred proofs: verified= {actual}, expected= {expected}" ) ]
259+ UnverifiedDeferredProofs {
260260 /// The total number of deferred proofs that were provided.
261261 expected : usize ,
262262 /// The actual number of deferred proofs that were verified.
@@ -2136,10 +2136,11 @@ impl<'a> Executor<'a> {
21362136 // Ensure that all proofs were read, otherwise return an error.
21372137 if self . state . proof_stream_ptr != self . state . proof_stream . len ( ) {
21382138 tracing:: error!(
2139- "Not all proofs were read. Proving would fail during recursion. Did you pass too
2140- many proofs in or forget to call verify_sp1_proof?"
2139+ "Not all proofs were verified. \
2140+ Make sure you are passing the correct number of proofs \
2141+ and that you are calling verify_sp1_proof for all proofs."
21412142 ) ;
2142- return Err ( ExecutionError :: UnreadDeferredProofs {
2143+ return Err ( ExecutionError :: UnverifiedDeferredProofs {
21432144 expected : self . state . proof_stream . len ( ) ,
21442145 actual : self . state . proof_stream_ptr ,
21452146 } ) ;
You can’t perform that action at this time.
0 commit comments