diff --git a/crates/types/network/src/types.rs b/crates/types/network/src/types.rs index 49fc893..9287de9 100644 --- a/crates/types/network/src/types.rs +++ b/crates/types/network/src/types.rs @@ -3074,6 +3074,8 @@ pub enum ProofRequestError { ProgramTooLarge = 7, /// The program artifact cannot be decoded. InvalidProgram = 8, + /// The stdin artifact exceeds the size limit. + StdinTooLarge = 9, } impl ProofRequestError { /// String value of the enum field names used in the ProtoBuf definition. @@ -3091,6 +3093,7 @@ impl ProofRequestError { Self::ProvingFailure => "PROVING_FAILURE", Self::ProgramTooLarge => "PROGRAM_TOO_LARGE", Self::InvalidProgram => "INVALID_PROGRAM", + Self::StdinTooLarge => "STDIN_TOO_LARGE", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -3107,6 +3110,7 @@ impl ProofRequestError { "PROVING_FAILURE" => Some(Self::ProvingFailure), "PROGRAM_TOO_LARGE" => Some(Self::ProgramTooLarge), "INVALID_PROGRAM" => Some(Self::InvalidProgram), + "STDIN_TOO_LARGE" => Some(Self::StdinTooLarge), _ => None, } } diff --git a/proto/types.proto b/proto/types.proto index 0bde8e8..4ee5acf 100644 --- a/proto/types.proto +++ b/proto/types.proto @@ -2003,4 +2003,6 @@ enum ProofRequestError { PROGRAM_TOO_LARGE = 7; // The program artifact cannot be decoded. INVALID_PROGRAM = 8; + // The stdin artifact exceeds the size limit. + STDIN_TOO_LARGE = 9; } \ No newline at end of file