diff --git a/Cargo.lock b/Cargo.lock index db0bca9a8c5281..8481817b5e4179 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9215,12 +9215,13 @@ dependencies = [ "solana-instruction", "solana-keypair", "solana-logger", - "solana-program", + "solana-message", "solana-pubkey", "solana-rpc-client", "solana-rpc-client-api", "solana-signature", "solana-signer", + "solana-system-interface", "solana-transaction", "solana-transaction-error", ] diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 5c0f15bd7f6c84..9b3ba13bcb1551 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -7770,12 +7770,13 @@ dependencies = [ "solana-hash", "solana-instruction", "solana-keypair", - "solana-program", + "solana-message", "solana-pubkey", "solana-rpc-client", "solana-rpc-client-api", "solana-signature", "solana-signer", + "solana-system-interface", "solana-transaction", "solana-transaction-error", ] diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index c508df0310611a..a94f7268264fc5 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -7115,12 +7115,13 @@ dependencies = [ "solana-hash", "solana-instruction", "solana-keypair", - "solana-program", + "solana-message", "solana-pubkey", "solana-rpc-client", "solana-rpc-client-api", "solana-signature", "solana-signer", + "solana-system-interface", "solana-transaction", "solana-transaction-error", ] diff --git a/thin-client/Cargo.toml b/thin-client/Cargo.toml index 7fcea4e8e74fc2..ef982440b26e0f 100644 --- a/thin-client/Cargo.toml +++ b/thin-client/Cargo.toml @@ -22,12 +22,13 @@ solana-epoch-info = { workspace = true } solana-hash = { workspace = true } solana-instruction = { workspace = true } solana-keypair = { workspace = true } -solana-program = { workspace = true, default-features = false } +solana-message = { workspace = true } solana-pubkey = { workspace = true } solana-rpc-client = { workspace = true } solana-rpc-client-api = { workspace = true } solana-signature = { workspace = true } solana-signer = { workspace = true } +solana-system-interface = { workspace = true, features = ["bincode"] } solana-transaction = { workspace = true } solana-transaction-error = { workspace = true } diff --git a/thin-client/src/thin_client.rs b/thin-client/src/thin_client.rs index e8e805c7c85d2b..13bbfc77b12140 100644 --- a/thin-client/src/thin_client.rs +++ b/thin-client/src/thin_client.rs @@ -20,12 +20,13 @@ use { solana_hash::Hash, solana_instruction::Instruction, solana_keypair::Keypair, - solana_program::{message::Message, system_instruction}, + solana_message::Message, solana_pubkey::Pubkey, solana_rpc_client::rpc_client::RpcClient, solana_rpc_client_api::config::RpcProgramAccountsConfig, solana_signature::Signature, solana_signer::{signers::Signers, Signer}, + solana_system_interface::instruction::transfer, solana_transaction::{versioned::VersionedTransaction, Transaction}, solana_transaction_error::{TransactionResult, TransportResult}, std::{ @@ -366,8 +367,7 @@ where keypair: &Keypair, pubkey: &Pubkey, ) -> TransportResult { - let transfer_instruction = - system_instruction::transfer(&keypair.pubkey(), pubkey, lamports); + let transfer_instruction = transfer(&keypair.pubkey(), pubkey, lamports); self.send_and_confirm_instruction(keypair, transfer_instruction) }