From 8b8f22f42ce35d327649612488ba8090c0fb137f Mon Sep 17 00:00:00 2001 From: Kevin Heavey Date: Thu, 5 Dec 2024 17:13:42 +0400 Subject: [PATCH] remove solana-program from solana-signature dev deps (#3942) * remove solana-program from solana-signature dev deps * missing features --- Cargo.lock | 2 +- sdk/signature/Cargo.toml | 3 ++- sdk/signature/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 413bdc25058e32..c99875e868e3cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8759,7 +8759,7 @@ dependencies = [ "serde_json", "solana-frozen-abi", "solana-frozen-abi-macro", - "solana-program", + "solana-pubkey", "solana-sanitize", "solana-short-vec", "solana-signature", diff --git a/sdk/signature/Cargo.toml b/sdk/signature/Cargo.toml index bf312618a450da..3edbe8d7c257eb 100644 --- a/sdk/signature/Cargo.toml +++ b/sdk/signature/Cargo.toml @@ -26,11 +26,12 @@ solana-sanitize = { workspace = true } [dev-dependencies] bincode = { workspace = true } +bs58 = { workspace = true, features = ["std"] } curve25519-dalek = { workspace = true } ed25519-dalek = { workspace = true } serde_derive = { workspace = true } serde_json = { workspace = true } -solana-program = { workspace = true } +solana-pubkey = { workspace = true, features = ["std"] } solana-short-vec = { workspace = true } solana-signature = { path = ".", features = ["serde"] } diff --git a/sdk/signature/src/lib.rs b/sdk/signature/src/lib.rs index 30548a665859f8..2308ba6d52e6f2 100644 --- a/sdk/signature/src/lib.rs +++ b/sdk/signature/src/lib.rs @@ -167,7 +167,7 @@ mod tests { use { super::*, serde_derive::{Deserialize, Serialize}, - solana_program::pubkey::Pubkey, + solana_pubkey::Pubkey, }; #[test]