pub enum VerifierError {
    InconsistentBaseField,
    UnsupportedFieldExtension(usize),
    ProofDeserializationError(String),
    RandomCoinError,
    InconsistentOodConstraintEvaluations,
    TraceQueryDoesNotMatchCommitment,
    ConstraintQueryDoesNotMatchCommitment,
    QuerySeedProofOfWorkVerificationFailed,
    FriVerificationFailed(VerifierError),
}
Expand description

Represents an error returned by the verifier during an execution of the protocol.

Variants

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 Merkle authentication paths of trace queries do not resolve to the execution trace commitment included in the proof.

ConstraintQueryDoesNotMatchCommitment

This error occurs when Merkle authentication paths of constraint evaluation queries do not resolve to the constraint evaluation commitment included in the proof.

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.

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.