Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ssavenko-near committed Feb 10, 2025
1 parent dac25d5 commit d31c1bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

7 changes: 4 additions & 3 deletions benchmarks/transactions-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ default = ["with_actix"]
with_actix = ["near-async", "near-network", "actix"]

[dependencies]
clap = { workspace = true, features = ["derive"] }
# clap = { workspace = true, features = ["derive"] }
actix = { workspace = true, optional = true }
anyhow.workspace = true
near-async = {workspace = true, optional = true }
near-crypto = { workspace = true }
near-primitives = { workspace = true, features = ["clock", "test_utils"] }
near-network = { workspace = true, optional = true }
near-primitives = { workspace = true, features = ["clock", "test_utils"] }
rand.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
tokio = { workspace = true, features = ["full"] }
actix = { workspace = true, optional = true }
tracing = { workspace = true, features = ["std"] }


[lints]
Expand Down
1 change: 1 addition & 0 deletions benchmarks/transactions-generator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl TxGenerator {
let client_sender = self.client_sender.clone();
thread::spawn(move ||{
let mut rnd: StdRng = SeedableRng::from_entropy();
tracing::info!(target: "transaction-generator", "thread starting");
loop {
let block_hash = CryptoHash::default(); // todo(slavas): fix before merge

Check warning on line 60 in benchmarks/transactions-generator/src/lib.rs

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (slavas)

Expand Down

0 comments on commit d31c1bd

Please sign in to comment.