@@ -2758,6 +2758,15 @@ pub enum ProofRequestError {
27582758 /// The public values hash provided in the request does not match the hash from the execution
27592759 /// oracle.
27602760 PublicValuesMismatch = 4 ,
2761+ /// The proof failed verification (e.g., invalid proof, public values hash mismatch during
2762+ /// verification).
2763+ VerificationFailure = 5 ,
2764+ /// Execution succeeded but a downstream proving task (controller, shard prove,
2765+ /// recursion, wrap, etc.) hit a fatal error.
2766+ ProvingFailure = 6 ,
2767+ /// An input artifact was missing from the prover's store (e.g., evicted under
2768+ /// memory pressure, or never uploaded by the scheduler).
2769+ InputNotFound = 7 ,
27612770}
27622771impl ProofRequestError {
27632772 /// String value of the enum field names used in the ProtoBuf definition.
@@ -2771,6 +2780,9 @@ impl ProofRequestError {
27712780 Self :: VerificationKeyMismatch => "VERIFICATION_KEY_MISMATCH" ,
27722781 Self :: UnknownFailure => "UNKNOWN_FAILURE" ,
27732782 Self :: PublicValuesMismatch => "PUBLIC_VALUES_MISMATCH" ,
2783+ Self :: VerificationFailure => "VERIFICATION_FAILURE" ,
2784+ Self :: ProvingFailure => "PROVING_FAILURE" ,
2785+ Self :: InputNotFound => "INPUT_NOT_FOUND" ,
27742786 }
27752787 }
27762788 /// Creates an enum from field names used in the ProtoBuf definition.
@@ -2783,6 +2795,9 @@ impl ProofRequestError {
27832795 "VERIFICATION_KEY_MISMATCH" => Some ( Self :: VerificationKeyMismatch ) ,
27842796 "UNKNOWN_FAILURE" => Some ( Self :: UnknownFailure ) ,
27852797 "PUBLIC_VALUES_MISMATCH" => Some ( Self :: PublicValuesMismatch ) ,
2798+ "VERIFICATION_FAILURE" => Some ( Self :: VerificationFailure ) ,
2799+ "PROVING_FAILURE" => Some ( Self :: ProvingFailure ) ,
2800+ "INPUT_NOT_FOUND" => Some ( Self :: InputNotFound ) ,
27862801 _ => None ,
27872802 }
27882803 }
0 commit comments