Skip to content

Commit

Permalink
remove solana-sdk from solana-udp-client
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 5, 2024
1 parent a8ef164 commit 7c3ec04
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 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.

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.

6 changes: 5 additions & 1 deletion udp-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ edition = { workspace = true }
async-trait = { workspace = true }
solana-connection-cache = { workspace = true }
solana-net-utils = { workspace = true }
solana-sdk = { workspace = true }
solana-signer = { workspace = true, features = ["keypair"] }
solana-streamer = { workspace = true }
solana-transaction-error = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }

[dev-dependencies]
solana-packet = { workspace = true }
2 changes: 1 addition & 1 deletion udp-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use {
},
connection_cache_stats::ConnectionCacheStats,
},
solana_sdk::signature::Keypair,
solana_signer::keypair::Keypair,
std::{
net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket},
sync::Arc,
Expand Down
4 changes: 2 additions & 2 deletions udp-client/src/nonblocking/udp_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use {
async_trait::async_trait, core::iter::repeat,
solana_connection_cache::nonblocking::client_connection::ClientConnection,
solana_sdk::transport::Result as TransportResult,
solana_transaction_error::TransportResult,
solana_streamer::nonblocking::sendmmsg::batch_send, std::net::SocketAddr,
tokio::net::UdpSocket,
};
Expand Down Expand Up @@ -47,7 +47,7 @@ impl ClientConnection for UdpClientConnection {
mod tests {
use {
super::*,
solana_sdk::packet::{Packet, PACKET_DATA_SIZE},
solana_packet::{Packet, PACKET_DATA_SIZE},
solana_streamer::nonblocking::recvmmsg::recv_mmsg,
std::net::{IpAddr, Ipv4Addr},
tokio::net::UdpSocket,
Expand Down
2 changes: 1 addition & 1 deletion udp-client/src/udp_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use {
core::iter::repeat,
solana_connection_cache::client_connection::ClientConnection,
solana_sdk::transport::Result as TransportResult,
solana_transaction_error::TransportResult,
solana_streamer::sendmmsg::batch_send,
std::{
net::{SocketAddr, UdpSocket},
Expand Down

0 comments on commit 7c3ec04

Please sign in to comment.