diff --git a/Cargo.lock b/Cargo.lock index ffc267c3271317..7f6cf50ec4fddf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9325,7 +9325,15 @@ dependencies = [ "protobuf-src", "serde", "solana-account-decoder", - "solana-sdk", + "solana-hash", + "solana-instruction", + "solana-message", + "solana-pubkey", + "solana-serde", + "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "solana-transaction-status", "tonic-build", ] diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 31be6b3c6962dc..74aa056ec3b25d 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -7820,7 +7820,15 @@ dependencies = [ "protobuf-src", "serde", "solana-account-decoder", - "solana-sdk", + "solana-hash", + "solana-instruction", + "solana-message", + "solana-pubkey", + "solana-serde", + "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "solana-transaction-status", "tonic-build", ] diff --git a/storage-proto/Cargo.toml b/storage-proto/Cargo.toml index c5658aaa403869..1a83bea6f12510 100644 --- a/storage-proto/Cargo.toml +++ b/storage-proto/Cargo.toml @@ -15,7 +15,15 @@ bs58 = { workspace = true } prost = { workspace = true } serde = { workspace = true } solana-account-decoder = { workspace = true } -solana-sdk = { workspace = true } +solana-hash = { workspace = true } +solana-instruction = { workspace = true } +solana-message = { workspace = true } +solana-pubkey = { workspace = true } +solana-serde = { workspace = true } +solana-signature = { workspace = true } +solana-transaction = { workspace = true } +solana-transaction-context = { workspace = true } +solana-transaction-error = { workspace = true } solana-transaction-status = { workspace = true } [dev-dependencies] diff --git a/storage-proto/src/convert.rs b/storage-proto/src/convert.rs index 6a6e451b4858f1..13fb31d9665f2c 100644 --- a/storage-proto/src/convert.rs +++ b/storage-proto/src/convert.rs @@ -1,19 +1,19 @@ use { crate::{StoredExtendedRewards, StoredTransactionStatusMeta}, solana_account_decoder::parse_token::{real_number_string_trimmed, UiTokenAmount}, - solana_sdk::{ - hash::{Hash, HASH_BYTES}, - instruction::{CompiledInstruction, InstructionError}, - message::{ - legacy::Message as LegacyMessage, - v0::{self, LoadedAddresses, MessageAddressTableLookup}, - MessageHeader, VersionedMessage, - }, - pubkey::Pubkey, - signature::Signature, - transaction::{Transaction, TransactionError, VersionedTransaction}, - transaction_context::TransactionReturnData, + solana_hash::{Hash, HASH_BYTES}, + solana_instruction::error::InstructionError, + solana_message::{ + compiled_instruction::CompiledInstruction, + legacy::Message as LegacyMessage, + v0::{self, LoadedAddresses, MessageAddressTableLookup}, + MessageHeader, VersionedMessage, }, + solana_pubkey::Pubkey, + solana_signature::Signature, + solana_transaction::{versioned::VersionedTransaction, Transaction}, + solana_transaction_context::TransactionReturnData, + solana_transaction_error::TransactionError, solana_transaction_status::{ ConfirmedBlock, EntrySummary, InnerInstruction, InnerInstructions, Reward, RewardType, RewardsAndNumPartitions, TransactionByAddrInfo, TransactionStatusMeta, diff --git a/storage-proto/src/lib.rs b/storage-proto/src/lib.rs index 0832690f1e2b88..22d730b491c7e4 100644 --- a/storage-proto/src/lib.rs +++ b/storage-proto/src/lib.rs @@ -4,10 +4,10 @@ use { parse_token::{real_number_string_trimmed, UiTokenAmount}, StringAmount, }, - solana_sdk::{ - deserialize_utils::default_on_eof, message::v0::LoadedAddresses, transaction::Result, - transaction_context::TransactionReturnData, - }, + solana_message::v0::LoadedAddresses, + solana_serde::default_on_eof, + solana_transaction_context::TransactionReturnData, + solana_transaction_error::TransactionResult as Result, solana_transaction_status::{ InnerInstructions, Reward, RewardType, TransactionStatusMeta, TransactionTokenBalance, }, diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index 846d47bf4034fb..776936c1dd427e 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -7139,7 +7139,15 @@ dependencies = [ "protobuf-src", "serde", "solana-account-decoder", - "solana-sdk", + "solana-hash", + "solana-instruction", + "solana-message", + "solana-pubkey", + "solana-serde", + "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "solana-transaction-status", "tonic-build", ]