Skip to content

Commit

Permalink
remove solana-sdk from solana-connection-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 5, 2024
1 parent a8ef164 commit 7fef095
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

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

4 changes: 3 additions & 1 deletion connection-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ rand = { workspace = true }
rayon = { workspace = true }
solana-measure = { workspace = true }
solana-metrics = { workspace = true }
solana-sdk = { workspace = true }
solana-signer = { workspace = true, features = ["keypair"] }
solana-time-utils = { workspace = true }
solana-transaction-error = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }

Expand Down
2 changes: 1 addition & 1 deletion connection-cache/src/client_connection.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use {
solana_metrics::MovingStat,
solana_sdk::transport::Result as TransportResult,
solana_transaction_error::TransportResult,
std::{net::SocketAddr, sync::atomic::AtomicU64},
};

Expand Down
5 changes: 3 additions & 2 deletions connection-cache/src/connection_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ use {
log::*,
rand::{thread_rng, Rng},
solana_measure::measure::Measure,
solana_sdk::{signature::Keypair, timing::AtomicInterval},
solana_signer::keypair::Keypair,
solana_time_utils::AtomicInterval,
std::{
net::SocketAddr,
sync::{atomic::Ordering, Arc, RwLock},
Expand Down Expand Up @@ -513,7 +514,7 @@ mod tests {
async_trait::async_trait,
rand::{Rng, SeedableRng},
rand_chacha::ChaChaRng,
solana_sdk::transport::Result as TransportResult,
solana_transaction_error::TransportResult,
std::{
net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket},
sync::Arc,
Expand Down
5 changes: 1 addition & 4 deletions connection-cache/src/nonblocking/client_connection.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//! Trait defining async send functions, to be used for UDP or QUIC sending
use {
async_trait::async_trait, solana_sdk::transport::Result as TransportResult,
std::net::SocketAddr,
};
use {async_trait::async_trait, solana_transaction_error::TransportResult, std::net::SocketAddr};

#[async_trait]
pub trait ClientConnection {
Expand Down
4 changes: 3 additions & 1 deletion programs/sbf/Cargo.lock

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

0 comments on commit 7fef095

Please sign in to comment.