Skip to content

Commit 85feead

Browse files
fix config headers
1 parent beea55e commit 85feead

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

configs/default.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[network]
1+
[network_worker]
22
target_url = "http://127.0.0.1:8545"
33
total_connections = 10_000 # Limited by # of ephemeral ports.
44

@@ -7,7 +7,7 @@ batch_factor = 1
77
error_sleep_ms = 100
88
tx_queue_empty_sleep_ms = 25
99

10-
[transaction]
10+
[tx_gen_worker]
1111
chain_id = 1337
1212
num_accounts = 25_000 # Limited by the number in the genesis (see generate_genesis_alloc.rs)
1313

@@ -21,7 +21,7 @@ mnemonic = "test test test test test test test test test test test junk"
2121
recipient_distribution_factor = 20 # 1/20 of accounts receive transfers.
2222
max_transfer_amount = 10
2323

24-
[rate_limiting]
24+
[rate_limiter]
2525
initial_ratelimit = 100 # txs/s
2626

2727
# Rate limit thresholds: [(threshold, rate_limit)]
@@ -38,12 +38,12 @@ ratelimit_thresholds = [
3838
[300_000, 15_000], # NUM_ACCOUNTS * 12
3939
]
4040

41-
[worker]
41+
[workers]
4242
thread_pinning = true
4343

4444
tx_gen_worker_percentage = 0.1
4545
network_worker_percentage = 0.9
4646

47-
[reporting]
47+
[reporters]
4848
tx_queue_report_interval_secs = 3
4949
network_stats_report_interval_secs = 3

0 commit comments

Comments
 (0)