Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zk-sdk] Change FeeSigmaProof to PercentageWithCapProof #1084

Merged
merged 10 commits into from
Apr 30, 2024
6 changes: 3 additions & 3 deletions zk-sdk/src/sigma_proofs/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ pub struct ZeroBalanceProofVerificationError(#[from] pub(crate) SigmaProofVerifi
impl_from_transcript_error!(ZeroBalanceProofVerificationError);

#[derive(Error, Clone, Debug, Eq, PartialEq)]
#[error("fee sigma proof verification failed: {0}")]
pub struct FeeSigmaProofVerificationError(#[from] pub(crate) SigmaProofVerificationError);
impl_from_transcript_error!(FeeSigmaProofVerificationError);
#[error("percentage-with-cap proof verification failed: {0}")]
pub struct PercentageWithCapProofVerificationError(#[from] pub(crate) SigmaProofVerificationError);
impl_from_transcript_error!(PercentageWithCapProofVerificationError);

#[derive(Error, Clone, Debug, Eq, PartialEq)]
#[error("public key validity proof verification failed: {0}")]
Expand Down
Loading
Loading