diff --git a/Cargo.lock b/Cargo.lock index 69ae47c2ad2abf..dc3ca94ecbc97f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9440,8 +9440,13 @@ dependencies = [ "serde_derive", "serde_json", "solana-account-decoder-client-types", - "solana-sdk", + "solana-commitment-config", + "solana-message", + "solana-reward-info", "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "thiserror 2.0.4", ] diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 4aabc16f3c955e..8d9a15f18871e2 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -7894,8 +7894,13 @@ dependencies = [ "serde_derive", "serde_json", "solana-account-decoder-client-types", - "solana-sdk", + "solana-commitment-config", + "solana-message", + "solana-reward-info", "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "thiserror 2.0.4", ] diff --git a/rpc-client-api/Cargo.toml b/rpc-client-api/Cargo.toml index 47b6ef5788e97f..dc7f9d9ebd5b7e 100644 --- a/rpc-client-api/Cargo.toml +++ b/rpc-client-api/Cargo.toml @@ -23,8 +23,8 @@ serde_json = { workspace = true } solana-account = { workspace = true } solana-account-decoder-client-types = { workspace = true } solana-clock = { workspace = true } -solana-commitment-config = { workspace = true } -solana-fee-calculator = { workspace = true } +solana-commitment-config = { workspace = true, features = ["serde"] } +solana-fee-calculator = { workspace = true, features = ["serde"] } solana-inflation = { workspace = true } solana-inline-spl = { workspace = true } solana-pubkey = { workspace = true } @@ -36,6 +36,7 @@ thiserror = { workspace = true } [dev-dependencies] const_format = { workspace = true } +solana-pubkey = { workspace = true, features = ["rand"] } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index 7bd58e61e953d3..63f34fd0217f74 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -7239,8 +7239,13 @@ dependencies = [ "serde_derive", "serde_json", "solana-account-decoder-client-types", - "solana-sdk", + "solana-commitment-config", + "solana-message", + "solana-reward-info", "solana-signature", + "solana-transaction", + "solana-transaction-context", + "solana-transaction-error", "thiserror 2.0.4", ] diff --git a/transaction-status-client-types/Cargo.toml b/transaction-status-client-types/Cargo.toml index cdf4d29a4ab94e..7c1fec2a45b2b9 100644 --- a/transaction-status-client-types/Cargo.toml +++ b/transaction-status-client-types/Cargo.toml @@ -17,8 +17,13 @@ serde = { workspace = true } serde_derive = { workspace = true } serde_json = { workspace = true } solana-account-decoder-client-types = { workspace = true } -solana-sdk = { workspace = true } +solana-commitment-config = { workspace = true } +solana-message = { workspace = true } +solana-reward-info = { workspace = true, features = ["serde"] } solana-signature = { workspace = true, default-features = false } +solana-transaction = { workspace = true, features = ["serde"] } +solana-transaction-context = { workspace = true } +solana-transaction-error = { workspace = true, features = ["serde"] } thiserror = { workspace = true } [package.metadata.docs.rs] diff --git a/transaction-status-client-types/src/lib.rs b/transaction-status-client-types/src/lib.rs index a1284efb07b0de..638f1e9b6fbc3a 100644 --- a/transaction-status-client-types/src/lib.rs +++ b/transaction-status-client-types/src/lib.rs @@ -6,20 +6,17 @@ use { serde_derive::{Deserialize, Serialize}, serde_json::Value, solana_account_decoder_client_types::token::UiTokenAmount, - solana_sdk::{ - commitment_config::CommitmentConfig, - instruction::CompiledInstruction, - message::{ - v0::{LoadedAddresses, MessageAddressTableLookup}, - MessageHeader, - }, - reward_type::RewardType, - transaction::{ - Result as TransactionResult, TransactionError, TransactionVersion, VersionedTransaction, - }, - transaction_context::TransactionReturnData, + solana_commitment_config::CommitmentConfig, + solana_message::{ + compiled_instruction::CompiledInstruction, + v0::{LoadedAddresses, MessageAddressTableLookup}, + MessageHeader, }, + solana_reward_info::RewardType, solana_signature::Signature, + solana_transaction::versioned::{TransactionVersion, VersionedTransaction}, + solana_transaction_context::TransactionReturnData, + solana_transaction_error::{TransactionError, TransactionResult}, thiserror::Error, }; pub mod option_serializer;