@@ -2758,6 +2758,12 @@ 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 ,
27612767}
27622768impl ProofRequestError {
27632769 /// String value of the enum field names used in the ProtoBuf definition.
@@ -2771,6 +2777,8 @@ impl ProofRequestError {
27712777 Self :: VerificationKeyMismatch => "VERIFICATION_KEY_MISMATCH" ,
27722778 Self :: UnknownFailure => "UNKNOWN_FAILURE" ,
27732779 Self :: PublicValuesMismatch => "PUBLIC_VALUES_MISMATCH" ,
2780+ Self :: VerificationFailure => "VERIFICATION_FAILURE" ,
2781+ Self :: ProvingFailure => "PROVING_FAILURE" ,
27742782 }
27752783 }
27762784 /// Creates an enum from field names used in the ProtoBuf definition.
@@ -2783,6 +2791,8 @@ impl ProofRequestError {
27832791 "VERIFICATION_KEY_MISMATCH" => Some ( Self :: VerificationKeyMismatch ) ,
27842792 "UNKNOWN_FAILURE" => Some ( Self :: UnknownFailure ) ,
27852793 "PUBLIC_VALUES_MISMATCH" => Some ( Self :: PublicValuesMismatch ) ,
2794+ "VERIFICATION_FAILURE" => Some ( Self :: VerificationFailure ) ,
2795+ "PROVING_FAILURE" => Some ( Self :: ProvingFailure ) ,
27862796 _ => None ,
27872797 }
27882798 }
0 commit comments