pub enum VerifierError {
Show 13 variants
GkrProofVerificationFailed(String),
InconsistentBaseField,
UnsupportedFieldExtension(usize),
ProofDeserializationError(String),
RandomCoinError,
InconsistentOodConstraintEvaluations,
TraceQueryDoesNotMatchCommitment,
ConstraintQueryDoesNotMatchCommitment,
QuerySeedProofOfWorkVerificationFailed,
FriVerificationFailed(VerifierError),
InsufficientConjecturedSecurity(u32, u32),
InsufficientProvenSecurity(u32, u32),
UnacceptableProofOptions,
}Expand description
Represents an error returned by the verifier during an execution of the protocol.
Variants§
GkrProofVerificationFailed(String)
This error occurs when verifying the GKR proof failed.
InconsistentBaseField
This error occurs when base field read by a verifier from a proof does not match the base field of AIR with which the verifier was instantiated.
UnsupportedFieldExtension(usize)
This error occurs when the base field in which the proof was generated does not support field extension of degree specified by the proof.
ProofDeserializationError(String)
This error occurs when a verifier cannot deserialize the specified proof.
RandomCoinError
This error occurs when a verifier fails to draw a random value from a random coin within a specified number of tries.
InconsistentOodConstraintEvaluations
This error occurs when constraints evaluated over out-of-domain trace rows do not match evaluations of the constraint composition polynomial at the out-of-domain point.
TraceQueryDoesNotMatchCommitment
This error occurs when the batch opening proof fails to verify for trace queries.
ConstraintQueryDoesNotMatchCommitment
This error occurs when the batch opening proof fails to verify for constraint evaluation queries.
QuerySeedProofOfWorkVerificationFailed
This error occurs when the proof-of-work nonce hashed with the current state of the public coin resolves to a value which does not meet the proof-of-work threshold specified by the
FriVerificationFailed(VerifierError)
This error occurs when the DEEP composition polynomial evaluations derived from trace and constraint evaluation queries do not represent a polynomial of the degree expected by the verifier.
InsufficientConjecturedSecurity(u32, u32)
This error occurs when the parameters, that were used to generate the proof, do not provide a conjectured security level greater than or equal to the conjectured security level expected by the verifier.
InsufficientProvenSecurity(u32, u32)
This error occurs when the parameters, that were used to generate the proof, do not provide a proven security level greater than or equal to the proven security level expected by the verifier.
UnacceptableProofOptions
This error occurs when the parameters, that were used to generate the proof, do not match any of the set of parameters expected by the verifier.
Trait Implementations§
Source§impl Clone for VerifierError
impl Clone for VerifierError
Source§fn clone(&self) -> VerifierError
fn clone(&self) -> VerifierError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VerifierError
impl Debug for VerifierError
Source§impl Display for VerifierError
impl Display for VerifierError
Source§impl PartialEq for VerifierError
impl PartialEq for VerifierError
impl Eq for VerifierError
impl StructuralPartialEq for VerifierError
Auto Trait Implementations§
impl Freeze for VerifierError
impl RefUnwindSafe for VerifierError
impl Send for VerifierError
impl Sync for VerifierError
impl Unpin for VerifierError
impl UnwindSafe for VerifierError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)