Skip to content

Commit

Permalink
remove the sigma_proofs and transcript modules from sbf target
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim-crypto committed Apr 26, 2024
1 parent c2646cf commit a07b087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion zk-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@

#[cfg(not(target_os = "solana"))]
pub mod encryption;

pub mod errors;
#[cfg(not(target_os = "solana"))]
mod sigma_proofs;
#[cfg(not(target_os = "solana"))]
mod transcript;

/// Byte length of a compressed Ristretto point or scalar in Curve255519
Expand Down
8 changes: 0 additions & 8 deletions zk-sdk/src/sigma_proofs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,14 @@
pub mod errors;

#[cfg(not(target_os = "solana"))]
pub mod batched_grouped_ciphertext_validity;
#[cfg(not(target_os = "solana"))]
pub mod ciphertext_ciphertext_equality;
#[cfg(not(target_os = "solana"))]
pub mod ciphertext_commitment_equality;
#[cfg(not(target_os = "solana"))]
pub mod fee;
#[cfg(not(target_os = "solana"))]
pub mod grouped_ciphertext_validity;
#[cfg(not(target_os = "solana"))]
pub mod pubkey;
#[cfg(not(target_os = "solana"))]
pub mod zero_balance;

#[cfg(not(target_os = "solana"))]
use {
crate::{sigma_proofs::errors::SigmaProofVerificationError, RISTRETTO_POINT_LEN, SCALAR_LEN},
curve25519_dalek::{ristretto::CompressedRistretto, scalar::Scalar},
Expand Down

0 comments on commit a07b087

Please sign in to comment.