Skip to content

Commit

Permalink
remove solana-sdk from zk-keygen (#4002)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Dec 9, 2024
1 parent 1aaa3ba commit a6148bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

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

4 changes: 3 additions & 1 deletion zk-keygen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ clap = { version = "3.1.5", features = ["cargo", "derive"] }
dirs-next = { workspace = true }
solana-clap-v3-utils = { workspace = true }
solana-remote-wallet = { workspace = true, features = ["default"] }
solana-sdk = { workspace = true }
solana-seed-derivable = { workspace = true }
solana-signer = { workspace = true }
solana-version = { workspace = true }
solana-zk-token-sdk = { workspace = true }
thiserror = { workspace = true }
tiny-bip39 = { workspace = true }

[dev-dependencies]
solana-pubkey = { workspace = true, features = ["rand"] }
tempfile = { workspace = true }

[[bin]]
Expand Down
5 changes: 3 additions & 2 deletions zk-keygen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ use {
},
DisplayError,
},
solana_sdk::signer::{EncodableKey, SeedDerivable},
solana_seed_derivable::SeedDerivable,
solana_signer::EncodableKey,
solana_zk_token_sdk::encryption::{auth_encryption::AeKey, elgamal::ElGamalKeypair},
std::{error, str::FromStr},
thiserror::Error,
Expand Down Expand Up @@ -337,7 +338,7 @@ impl FromStr for KeyType {
mod tests {
use {
super::*,
solana_sdk::pubkey::Pubkey,
solana_pubkey::Pubkey,
tempfile::{tempdir, TempDir},
};

Expand Down

0 comments on commit a6148bd

Please sign in to comment.