Skip to content

Commit

Permalink
Update testground/benchmark/benchmark/stateless.py
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang authored Oct 18, 2024
1 parent a8413f7 commit dc4b145
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testground/benchmark/benchmark/stateless.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ def generic_gen_txs(options: dict):
@click.option("--datadir", default="/data", type=Path)
@click.option("--global-seq", default=0)
def generate_load(datadir: Path, global_seq: int):
'''

Check failure on line 234 in testground/benchmark/benchmark/stateless.py

View workflow job for this annotation

GitHub Actions / Lint python

./testground/benchmark/benchmark/stateless.py:234:5: BLK100 Black would make changes.
manually generate load to an existing node
'''
cfg = json.loads((datadir / "config.json").read_text())
txs = prepare_txs(cfg, datadir, global_seq)
asyncio.run(transaction.send(txs))
Expand Down

0 comments on commit dc4b145

Please sign in to comment.