Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more options
Browse files Browse the repository at this point in the history
yihuang committed Oct 28, 2024
1 parent 8ae46a8 commit 041aa2f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions testground/benchmark/benchmark/testnet.py
Original file line number Diff line number Diff line change
@@ -94,15 +94,17 @@ def check(json_rpc, start, end):
@click.argument("end", type=int)
@click.option("--num-txs", default=1)
@click.option("--nonce", default=0)
@click.option("--batch-size", default=1)
@click.option("--tx-type", default="simple-transfer")
@click.option("--msg-version", default="1.3")
def gen_txs(start, end, num_txs, nonce, msg_version):
def gen_txs(start, end, num_txs, nonce, batch_size, tx_type, msg_version):
num_accounts = end - start + 1
txs = gen(
GLOBAL_SEQ,
num_accounts,
num_txs,
"simple-transfer",
1,
tx_type,
batch_size,
start_account=start,
nonce=nonce,
msg_version=msg_version,

0 comments on commit 041aa2f

Please sign in to comment.