From d35f9b35ab241e729e164776375572e1765d7ba3 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Wed, 4 Dec 2024 14:01:30 +0400 Subject: [PATCH] remove solana-program and activate required feature --- Cargo.lock | 2 +- programs/sbf/Cargo.lock | 2 +- sdk/system-transaction/Cargo.toml | 4 ++-- sdk/system-transaction/src/lib.rs | 2 +- svm/examples/Cargo.lock | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e36d058618ace6..c0b023c412f4b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9062,7 +9062,7 @@ version = "2.2.0" dependencies = [ "solana-hash", "solana-keypair", - "solana-program", + "solana-message", "solana-pubkey", "solana-signer", "solana-system-interface", diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 3d1cb8b983b64b..f07bd067ed86b7 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -7639,7 +7639,7 @@ version = "2.2.0" dependencies = [ "solana-hash", "solana-keypair", - "solana-program", + "solana-message", "solana-pubkey", "solana-signer", "solana-system-interface", diff --git a/sdk/system-transaction/Cargo.toml b/sdk/system-transaction/Cargo.toml index 7ec54d88d6bea6..1ef1875435c0b3 100644 --- a/sdk/system-transaction/Cargo.toml +++ b/sdk/system-transaction/Cargo.toml @@ -15,8 +15,8 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] solana-hash = { workspace = true } solana-keypair = { workspace = true } -solana-program = { workspace = true } +solana-message = { workspace = true } solana-pubkey = { workspace = true } solana-signer = { workspace = true } solana-system-interface = { workspace = true, features = ["bincode"] } -solana-transaction = { workspace = true } +solana-transaction = { workspace = true, features = ["bincode"] } diff --git a/sdk/system-transaction/src/lib.rs b/sdk/system-transaction/src/lib.rs index 6f34b8e836efce..4ea1a8ed2afffc 100644 --- a/sdk/system-transaction/src/lib.rs +++ b/sdk/system-transaction/src/lib.rs @@ -1,7 +1,7 @@ //! The `system_transaction` module provides functionality for creating system transactions. use { - solana_hash::Hash, solana_keypair::Keypair, solana_program::message::Message, + solana_hash::Hash, solana_keypair::Keypair, solana_message::Message, solana_pubkey::Pubkey, solana_signer::Signer, solana_system_interface::instruction as system_instruction, solana_transaction::Transaction, }; diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index d1f7c0e0c54abd..95b459b8e47d56 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -6984,7 +6984,7 @@ version = "2.2.0" dependencies = [ "solana-hash", "solana-keypair", - "solana-program", + "solana-message", "solana-pubkey", "solana-signer", "solana-system-interface",