diff --git a/Cargo.lock b/Cargo.lock index 0a08d2c65155a4..5cbc35c696fde1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10062,8 +10062,11 @@ name = "solana-unified-scheduler-logic" version = "2.2.0" dependencies = [ "assert_matches", + "solana-instruction", + "solana-message", + "solana-pubkey", "solana-runtime-transaction", - "solana-sdk", + "solana-transaction", "static_assertions", ] diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 1bd2eeae041e46..4299fb84768a12 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -8354,8 +8354,9 @@ name = "solana-unified-scheduler-logic" version = "2.2.0" dependencies = [ "assert_matches", + "solana-pubkey", "solana-runtime-transaction", - "solana-sdk", + "solana-transaction", "static_assertions", ] diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index b7722bae3b82b3..a69bbbdcf9e04e 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -7690,8 +7690,9 @@ name = "solana-unified-scheduler-logic" version = "2.2.0" dependencies = [ "assert_matches", + "solana-pubkey", "solana-runtime-transaction", - "solana-sdk", + "solana-transaction", "static_assertions", ] diff --git a/unified-scheduler-logic/Cargo.toml b/unified-scheduler-logic/Cargo.toml index b48fed86f1162b..6a278e8701050f 100644 --- a/unified-scheduler-logic/Cargo.toml +++ b/unified-scheduler-logic/Cargo.toml @@ -11,11 +11,14 @@ edition = { workspace = true } [dependencies] assert_matches = { workspace = true } +solana-pubkey = { workspace = true } solana-runtime-transaction = { workspace = true } -solana-sdk = { workspace = true } +solana-transaction = { workspace = true } static_assertions = { workspace = true } [dev-dependencies] +solana-instruction = { workspace = true } +solana-message = { workspace = true } solana-runtime-transaction = { workspace = true, features = [ "dev-context-only-utils", ] } diff --git a/unified-scheduler-logic/src/lib.rs b/unified-scheduler-logic/src/lib.rs index 2e8caca3b85b8b..e8e7501fd998cd 100644 --- a/unified-scheduler-logic/src/lib.rs +++ b/unified-scheduler-logic/src/lib.rs @@ -98,8 +98,9 @@ use { crate::utils::{ShortCounter, Token, TokenCell}, assert_matches::assert_matches, + solana_pubkey::Pubkey, solana_runtime_transaction::runtime_transaction::RuntimeTransaction, - solana_sdk::{pubkey::Pubkey, transaction::SanitizedTransaction}, + solana_transaction::sanitized::SanitizedTransaction, static_assertions::const_assert_eq, std::{collections::VecDeque, mem, sync::Arc}, }; @@ -884,12 +885,10 @@ impl SchedulingStateMachine { mod tests { use { super::*, - solana_sdk::{ - instruction::{AccountMeta, Instruction}, - message::Message, - pubkey::Pubkey, - transaction::{SanitizedTransaction, Transaction}, - }, + solana_instruction::{AccountMeta, Instruction}, + solana_message::Message, + solana_pubkey::Pubkey, + solana_transaction::{sanitized::SanitizedTransaction, Transaction}, std::{cell::RefCell, collections::HashMap, rc::Rc}, };