Enum winter_fri::VerifierError
source · pub enum VerifierError {
RandomCoinError(RandomCoinError),
UnsupportedFoldingFactor(usize),
NumPositionEvaluationMismatch(usize, usize),
LayerCommitmentMismatch,
InvalidLayerFolding(usize),
RemainderCommitmentMismatch,
InvalidRemainderFolding,
RemainderDegreeNotValid,
RemainderDegreeMismatch(usize),
DegreeTruncation(usize, usize, usize),
}Expand description
Defines errors which can occur during FRI proof verification.
Variants§
RandomCoinError(RandomCoinError)
Attempt to draw a random value from a public coin failed.
UnsupportedFoldingFactor(usize)
Folding factor specified for the protocol is not supported. Currently, supported folding factors are: 4, 8, and 16.
NumPositionEvaluationMismatch(usize, usize)
Number of query positions does not match the number of provided evaluations.
LayerCommitmentMismatch
Evaluations at queried positions did not match layer commitment made by the prover.
InvalidLayerFolding(usize)
Degree-respecting projection was not performed correctly at one of the layers.
RemainderCommitmentMismatch
FRI remainder did not match the commitment.
InvalidRemainderFolding
Degree-respecting projection was not performed correctly at the last layer.
RemainderDegreeNotValid
FRI remainder expected degree is greater than number of remainder values.
RemainderDegreeMismatch(usize)
FRI remainder degree is greater than the polynomial degree expected for the last layer.
DegreeTruncation(usize, usize, usize)
Polynomial degree at one of the FRI layers could not be divided evenly by the folding factor.
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
source§fn eq(&self, other: &VerifierError) -> bool
fn eq(&self, other: &VerifierError) -> bool
self and other values to be equal, and is used
by ==.