Skip to content

Commit

Permalink
post-rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 5, 2024
1 parent 9ba276b commit a88d1e8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions zk-token-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ solana-pubkey = { workspace = true, features = ["bytemuck"] }
thiserror = { workspace = true }

[dev-dependencies]
solana-keypair = { workspace = true }
tiny-bip39 = { workspace = true }

[target.'cfg(not(target_os = "solana"))'.dependencies]
Expand Down
5 changes: 2 additions & 3 deletions zk-token-sdk/src/encryption/auth_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,8 @@ impl fmt::Display for AeCiphertext {
#[cfg(test)]
mod tests {
use {
super::*,
solana_pubkey::Pubkey,
solana_signer::{keypair::Keypair, null_signer::NullSigner},
super::*, solana_keypair::Keypair, solana_pubkey::Pubkey,
solana_signer::null_signer::NullSigner,
};

#[test]
Expand Down
3 changes: 2 additions & 1 deletion zk-token-sdk/src/encryption/elgamal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,9 @@ mod tests {
super::*,
crate::encryption::pedersen::Pedersen,
bip39::{Language, Mnemonic, MnemonicType, Seed},
solana_keypair::Keypair,
solana_pubkey::Pubkey,
solana_signer::{keypair::Keypair, null_signer::NullSigner},
solana_signer::null_signer::NullSigner,
std::fs::{self, File},
};

Expand Down
2 changes: 1 addition & 1 deletion zk-token-sdk/src/sigma_proofs/pubkey_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl PubkeyValidityProof {

#[cfg(test)]
mod test {
use {super::*, solana_pubkey::Pubkey, solana_signer::keypair::Keypair};
use {super::*, solana_keypair::Keypair, solana_pubkey::Pubkey};

#[test]
fn test_pubkey_proof_correctness() {
Expand Down

0 comments on commit a88d1e8

Please sign in to comment.