Skip to content

Commit 9e83560

Browse files
committed
cleanup
1 parent d392f01 commit 9e83560

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

crates/core/executor/src/executor.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)