Skip to content

Commit

Permalink
remove solana-sdk from transaction-metrics-tracker (anza-xyz#3439)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Nov 15, 2024
1 parent 2c6e41c commit f9f9911
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions 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 transaction-metrics-tracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ bincode = { workspace = true }
lazy_static = { workspace = true }
log = { workspace = true }
rand = { workspace = true }
solana-packet = { workspace = true }
solana-perf = { workspace = true }
solana-sdk = { workspace = true }
solana-short-vec = { workspace = true }
solana-signature = { workspace = true }

[dev-dependencies]
solana-sdk = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
9 changes: 3 additions & 6 deletions transaction-metrics-tracker/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
use {
lazy_static::lazy_static,
log::*,
rand::Rng,
solana_perf::sigverify::PacketError,
solana_sdk::{packet::Packet, signature::SIGNATURE_BYTES},
solana_short_vec::decode_shortu16_len,
lazy_static::lazy_static, log::*, rand::Rng, solana_packet::Packet,
solana_perf::sigverify::PacketError, solana_short_vec::decode_shortu16_len,
solana_signature::SIGNATURE_BYTES,
};

// The mask is 12 bits long (1<<12 = 4096), it means the probability of matching
Expand Down

0 comments on commit f9f9911

Please sign in to comment.