[zk-token-sdk] Update equality proof abbreviated module names to non-abbreviated names (#31851)
* rename `sigma_proof::ctxt_comm_equality_proof` to non-abbreviated name * rename `sigma_proof::ctxt_ctxt_equality_proof` to non-abbreviated name * rename `instruction::ctxt_ctxt_equality` to non-abbreviated name
This commit is contained in:
parent
0957a50a34
commit
24a4563484
|
@ -16,7 +16,7 @@ use {
|
||||||
pedersen::PedersenOpening,
|
pedersen::PedersenOpening,
|
||||||
},
|
},
|
||||||
errors::ProofError,
|
errors::ProofError,
|
||||||
sigma_proofs::ctxt_ctxt_equality_proof::CiphertextCiphertextEqualityProof,
|
sigma_proofs::ciphertext_ciphertext_equality_proof::CiphertextCiphertextEqualityProof,
|
||||||
transcript::TranscriptProtocol,
|
transcript::TranscriptProtocol,
|
||||||
},
|
},
|
||||||
merlin::Transcript,
|
merlin::Transcript,
|
|
@ -13,7 +13,7 @@ use {
|
||||||
pedersen::{PedersenCommitment, PedersenOpening},
|
pedersen::{PedersenCommitment, PedersenOpening},
|
||||||
},
|
},
|
||||||
errors::ProofError,
|
errors::ProofError,
|
||||||
sigma_proofs::ctxt_comm_equality_proof::CiphertextCommitmentEqualityProof,
|
sigma_proofs::ciphertext_commitment_equality_proof::CiphertextCommitmentEqualityProof,
|
||||||
transcript::TranscriptProtocol,
|
transcript::TranscriptProtocol,
|
||||||
},
|
},
|
||||||
merlin::Transcript,
|
merlin::Transcript,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
pub mod batched_range_proof;
|
pub mod batched_range_proof;
|
||||||
|
pub mod ciphertext_ciphertext_equality;
|
||||||
pub mod ciphertext_commitment_equality;
|
pub mod ciphertext_commitment_equality;
|
||||||
pub mod ctxt_ctxt_equality;
|
|
||||||
pub mod pubkey_validity;
|
pub mod pubkey_validity;
|
||||||
pub mod range_proof;
|
pub mod range_proof;
|
||||||
pub mod transfer;
|
pub mod transfer;
|
||||||
|
@ -27,12 +27,12 @@ pub use {
|
||||||
batched_range_proof_u64::BatchedRangeProofU64Data, BatchedRangeProofContext,
|
batched_range_proof_u64::BatchedRangeProofU64Data, BatchedRangeProofContext,
|
||||||
},
|
},
|
||||||
bytemuck::Pod,
|
bytemuck::Pod,
|
||||||
|
ciphertext_ciphertext_equality::{
|
||||||
|
CiphertextCiphertextEqualityProofContext, CiphertextCiphertextEqualityProofData,
|
||||||
|
},
|
||||||
ciphertext_commitment_equality::{
|
ciphertext_commitment_equality::{
|
||||||
CiphertextCommitmentEqualityProofContext, CiphertextCommitmentEqualityProofData,
|
CiphertextCommitmentEqualityProofContext, CiphertextCommitmentEqualityProofData,
|
||||||
},
|
},
|
||||||
ctxt_ctxt_equality::{
|
|
||||||
CiphertextCiphertextEqualityProofContext, CiphertextCiphertextEqualityProofData,
|
|
||||||
},
|
|
||||||
pubkey_validity::{PubkeyValidityData, PubkeyValidityProofContext},
|
pubkey_validity::{PubkeyValidityData, PubkeyValidityProofContext},
|
||||||
range_proof::{RangeProofContext, RangeProofU64Data},
|
range_proof::{RangeProofContext, RangeProofU64Data},
|
||||||
transfer::{TransferData, TransferProofContext},
|
transfer::{TransferData, TransferProofContext},
|
||||||
|
|
|
@ -11,7 +11,7 @@ use {
|
||||||
instruction::{combine_lo_hi_ciphertexts, split_u64, Role},
|
instruction::{combine_lo_hi_ciphertexts, split_u64, Role},
|
||||||
range_proof::RangeProof,
|
range_proof::RangeProof,
|
||||||
sigma_proofs::{
|
sigma_proofs::{
|
||||||
ctxt_comm_equality_proof::CiphertextCommitmentEqualityProof,
|
ciphertext_commitment_equality_proof::CiphertextCommitmentEqualityProof,
|
||||||
validity_proof::AggregatedValidityProof,
|
validity_proof::AggregatedValidityProof,
|
||||||
},
|
},
|
||||||
transcript::TranscriptProtocol,
|
transcript::TranscriptProtocol,
|
||||||
|
|
|
@ -14,8 +14,8 @@ use {
|
||||||
},
|
},
|
||||||
range_proof::RangeProof,
|
range_proof::RangeProof,
|
||||||
sigma_proofs::{
|
sigma_proofs::{
|
||||||
ctxt_comm_equality_proof::CiphertextCommitmentEqualityProof, fee_proof::FeeSigmaProof,
|
ciphertext_commitment_equality_proof::CiphertextCommitmentEqualityProof,
|
||||||
validity_proof::AggregatedValidityProof,
|
fee_proof::FeeSigmaProof, validity_proof::AggregatedValidityProof,
|
||||||
},
|
},
|
||||||
transcript::TranscriptProtocol,
|
transcript::TranscriptProtocol,
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,7 +7,7 @@ use {
|
||||||
},
|
},
|
||||||
errors::ProofError,
|
errors::ProofError,
|
||||||
range_proof::RangeProof,
|
range_proof::RangeProof,
|
||||||
sigma_proofs::ctxt_comm_equality_proof::CiphertextCommitmentEqualityProof,
|
sigma_proofs::ciphertext_commitment_equality_proof::CiphertextCommitmentEqualityProof,
|
||||||
transcript::TranscriptProtocol,
|
transcript::TranscriptProtocol,
|
||||||
},
|
},
|
||||||
merlin::Transcript,
|
merlin::Transcript,
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
//! We refer to the zk-token paper for the formal details and security proofs of these argument
|
//! We refer to the zk-token paper for the formal details and security proofs of these argument
|
||||||
//! systems.
|
//! systems.
|
||||||
|
|
||||||
pub mod ctxt_comm_equality_proof;
|
pub mod ciphertext_ciphertext_equality_proof;
|
||||||
pub mod ctxt_ctxt_equality_proof;
|
pub mod ciphertext_commitment_equality_proof;
|
||||||
pub mod errors;
|
pub mod errors;
|
||||||
pub mod fee_proof;
|
pub mod fee_proof;
|
||||||
pub mod pubkey_proof;
|
pub mod pubkey_proof;
|
||||||
|
|
|
@ -64,8 +64,8 @@ mod target_arch {
|
||||||
},
|
},
|
||||||
range_proof::{errors::RangeProofError, RangeProof},
|
range_proof::{errors::RangeProofError, RangeProof},
|
||||||
sigma_proofs::{
|
sigma_proofs::{
|
||||||
ctxt_comm_equality_proof::CiphertextCommitmentEqualityProof,
|
ciphertext_ciphertext_equality_proof::CiphertextCiphertextEqualityProof,
|
||||||
ctxt_ctxt_equality_proof::CiphertextCiphertextEqualityProof,
|
ciphertext_commitment_equality_proof::CiphertextCommitmentEqualityProof,
|
||||||
errors::*,
|
errors::*,
|
||||||
fee_proof::FeeSigmaProof,
|
fee_proof::FeeSigmaProof,
|
||||||
pubkey_proof::PubkeyValidityProof,
|
pubkey_proof::PubkeyValidityProof,
|
||||||
|
|
Loading…
Reference in New Issue