diff --git a/Cargo.lock b/Cargo.lock index 32333df32e90e7..523b4114427127 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7311,6 +7311,7 @@ dependencies = [ "sha2 0.10.8", "sha3 0.10.8", "siphasher", + "solana-bn254", "solana-frozen-abi", "solana-frozen-abi-macro", "solana-logger", diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index a48001ecdb0500..827c6ad3c70a4f 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -6161,6 +6161,7 @@ dependencies = [ "sha2 0.10.8", "sha3 0.10.8", "siphasher", + "solana-bn254", "solana-program", "solana-sanitize", "solana-sdk-macro", diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index f2e6cc6d7cc2d3..faceac8fd8f3ec 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -79,6 +79,7 @@ serde_with = { workspace = true, features = ["macros"] } sha2 = { workspace = true } sha3 = { workspace = true, optional = true } siphasher = { workspace = true } +solana-bn254 = { workspace = true } solana-frozen-abi = { workspace = true, optional = true } solana-frozen-abi-macro = { workspace = true, optional = true } solana-program = { workspace = true } diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index 74fbf5c03b4bdd..70aca13724ea6a 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -110,6 +110,8 @@ pub mod transaction_context; pub mod transport; pub mod wasm; +#[deprecated(since = "2.1.0", note = "Use `solana-bn254` crate instead")] +pub use solana_bn254 as alt_bn128; #[deprecated(since = "2.1.0", note = "Use `solana-sanitize` crate instead")] pub use solana_sanitize as sanitize; /// Same as `declare_id` except report that this id has been deprecated.