Skip to content

Commit 9cab1ac

Browse files
author
yihuang
authored
Apply suggestions from code review
Signed-off-by: yihuang <[email protected]>
1 parent 6ad2b5f commit 9cab1ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testground/benchmark/benchmark/stateless.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def gen(
9595
"fullnodes": fullnodes,
9696
"num_accounts": num_accounts,
9797
"num_txs": num_txs,
98-
"validator-generate-load": options.get("validator-generate-load", False),
98+
"validator-generate-load": options.get("validator-generate-load", True),
9999
}
100100
(outdir / "config.json").write_text(json.dumps(cfg))
101101

@@ -156,7 +156,7 @@ def run(
156156
wait_for_port(8545)
157157
wait_for_block(cli, 3)
158158

159-
if group == FULLNODE_GROUP or cfg.get("validator-generate-load", False):
159+
if group == FULLNODE_GROUP or cfg.get("validator-generate-load", True):
160160
wait_for_w3()
161161
generate_load(
162162
cli, cfg["num_accounts"], cfg["num_txs"], home=home, output="json"

0 commit comments

Comments
 (0)