Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Sep 20, 2024
1 parent c98067a commit d99d6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions testground/benchmark/benchmark/stateless.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,7 @@ def do_run(
if txs:
print("loaded", len(txs), "txs")
else:
print(
"generating",
cfg["num_accounts"] * cfg["num_txs"],
"txs for node",
global_seq,
)
print("generating", cfg["num_accounts"] * cfg["num_txs"], "txs")
txs = transaction.gen(global_seq, cfg["num_accounts"], cfg["num_txs"])
else:
txs = []
Expand Down
2 changes: 1 addition & 1 deletion testground/benchmark/benchmark/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def gen(global_seq, num_accounts, num_txs) -> [str]:
for acct in accounts:
txs.append(acct.sign_transaction(test_tx(i)).rawTransaction.hex())
if len(txs) % 1000 == 0:
print("generated", len(txs), "txs")
print("generated", len(txs), "txs for node", global_seq)

return txs

Expand Down

0 comments on commit d99d6fe

Please sign in to comment.