Skip to content

Commit

Permalink
remove solana-sdk from unified-scheduler-logic (#4345)
Browse files Browse the repository at this point in the history
* remove solana-sdk from unified-scheduler-logic

* remove solana-sdk in tests too
  • Loading branch information
kevinheavey authored Jan 9, 2025
1 parent 9f74def commit 051c4a8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
5 changes: 4 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion svm/examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion unified-scheduler-logic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }
13 changes: 6 additions & 7 deletions unified-scheduler-logic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};
Expand Down Expand Up @@ -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},
};

Expand Down

0 comments on commit 051c4a8

Please sign in to comment.