diff --git a/Cargo.lock b/Cargo.lock index b530a46f3fdbe3..88b57686280040 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8376,7 +8376,7 @@ dependencies = [ "solana-sdk", "solana-sdk-ids", "solana-sdk-macro", - "solana-secp256k1-instruction", + "solana-secp256k1-program", "solana-secp256k1-recover", "solana-seed-derivable", "solana-seed-phrase", @@ -8411,7 +8411,7 @@ dependencies = [ ] [[package]] -name = "solana-secp256k1-instruction" +name = "solana-secp256k1-program" version = "2.2.0" dependencies = [ "anyhow", @@ -8431,7 +8431,7 @@ dependencies = [ "solana-program", "solana-sdk", "solana-sdk-ids", - "solana-secp256k1-instruction", + "solana-secp256k1-program", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 1e055befb6b6c1..209324bc232cb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -147,7 +147,7 @@ members = [ "sdk/reserved-account-keys", "sdk/sanitize", "sdk/sdk-ids", - "sdk/secp256k1-instruction", + "sdk/secp256k1-program", "sdk/seed-derivable", "sdk/seed-phrase", "sdk/serde", @@ -529,7 +529,7 @@ solana-runtime-transaction = { path = "runtime-transaction", version = "=2.2.0" solana-sdk = { path = "sdk", version = "=2.2.0" } solana-sdk-ids = { path = "sdk/sdk-ids", version = "=2.2.0" } solana-sdk-macro = { path = "sdk/macro", version = "=2.2.0" } -solana-secp256k1-instruction = { path = "sdk/secp256k1-instruction", version = "=2.2.0" } +solana-secp256k1-program = { path = "sdk/secp256k1-program", version = "=2.2.0" } solana-secp256k1-recover = { path = "curves/secp256k1-recover", version = "=2.2.0", default-features = false } solana-send-transaction-service = { path = "send-transaction-service", version = "=2.2.0" } solana-short-vec = { path = "sdk/short-vec", version = "=2.2.0" } diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index f691d17d4d4912..a7a2034d79ed7c 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -7098,7 +7098,7 @@ dependencies = [ "solana-sanitize", "solana-sdk-ids", "solana-sdk-macro", - "solana-secp256k1-instruction", + "solana-secp256k1-program", "solana-secp256k1-recover", "solana-seed-derivable", "solana-seed-phrase", @@ -7131,7 +7131,7 @@ dependencies = [ ] [[package]] -name = "solana-secp256k1-instruction" +name = "solana-secp256k1-program" version = "2.2.0" dependencies = [ "bincode", diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 4b717d5e8522f4..dd4822cb1e1ef5 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -40,7 +40,7 @@ full = [ "dep:solana-precompile-error", "dep:solana-presigner", "dep:solana-quic-definitions", - "dep:solana-secp256k1-instruction", + "dep:solana-secp256k1-program", "dep:solana-seed-derivable", "dep:solana-seed-phrase", "dep:solana-signer", @@ -131,7 +131,7 @@ solana-reward-info = { workspace = true, features = ["serde"] } solana-sanitize = { workspace = true } solana-sdk-ids = { workspace = true } solana-sdk-macro = { workspace = true } -solana-secp256k1-instruction = { workspace = true, optional = true, features = ["bincode"] } +solana-secp256k1-program = { workspace = true, optional = true, features = ["bincode"] } solana-secp256k1-recover = { workspace = true } solana-seed-derivable = { workspace = true, optional = true } solana-seed-phrase = { workspace = true, optional = true } diff --git a/sdk/secp256k1-instruction/Cargo.toml b/sdk/secp256k1-program/Cargo.toml similarity index 89% rename from sdk/secp256k1-instruction/Cargo.toml rename to sdk/secp256k1-program/Cargo.toml index 70c9378789e58f..148fd01229358f 100644 --- a/sdk/secp256k1-instruction/Cargo.toml +++ b/sdk/secp256k1-program/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "solana-secp256k1-instruction" +name = "solana-secp256k1-program" description = "Instructions for the Solana Secp256k1 native program." -documentation = "https://docs.rs/solana-secp256k1-instruction" +documentation = "https://docs.rs/solana-secp256k1-program" version = { workspace = true } authors = { workspace = true } repository = { workspace = true } @@ -29,7 +29,7 @@ solana-hash = { workspace = true } solana-logger = { workspace = true } solana-program = { path = "../program" } solana-sdk = { path = ".." } -solana-secp256k1-instruction = { path = ".", features = [ +solana-secp256k1-program = { path = ".", features = [ "dev-context-only-utils", ] } diff --git a/sdk/secp256k1-instruction/src/lib.rs b/sdk/secp256k1-program/src/lib.rs similarity index 100% rename from sdk/secp256k1-instruction/src/lib.rs rename to sdk/secp256k1-program/src/lib.rs diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index ab3116c51c3d70..2a527f6de207c4 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -187,12 +187,9 @@ pub use solana_sdk_macro::declare_deprecated_id; pub use solana_sdk_macro::declare_id; /// Convenience macro to define multiple static public keys. pub use solana_sdk_macro::pubkeys; -#[deprecated( - since = "2.2.0", - note = "Use `solana-secp256k1-instruction` crate instead" -)] +#[deprecated(since = "2.2.0", note = "Use `solana-secp256k1-program` crate instead")] #[cfg(feature = "full")] -pub use solana_secp256k1_instruction as secp256k1_instruction; +pub use solana_secp256k1_program as secp256k1_instruction; #[deprecated(since = "2.1.0", note = "Use `solana-secp256k1-recover` crate instead")] pub use solana_secp256k1_recover as secp256k1_recover; #[deprecated(since = "2.2.0", note = "Use `solana-serde` crate instead")]