Skip to content

Commit b395189

Browse files
fab-10barnabasbusa
andauthored
fix: tune Besu options to work with tx_spammer (ethereum#612)
At startup Besu does not return a good gas price estimation (WIP to fix this) and the default number of accepted connection is not enough to sustain the tx_spammer, so this PR tune some options to allow to use the tx_spammer wth Besu. --------- Co-authored-by: Barnabas Busa <[email protected]>
1 parent a584682 commit b395189

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/tests/besu-all.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
participants:
2-
- el_type: geth
3-
cl_type: teku
4-
- el_type: geth
5-
cl_type: teku
62
- el_type: besu
73
cl_type: prysm
4+
- el_type: besu
5+
cl_type: teku
86
- el_type: besu
97
cl_type: nimbus
108
- el_type: besu
119
cl_type: lighthouse
1210
- el_type: besu
1311
cl_type: lodestar
12+
- el_type: besu
13+
cl_type: grandine
1414
additional_services: []

src/el/besu/besu_launcher.star

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def get_config(
207207
"--rpc-http-port={0}".format(RPC_PORT_NUM),
208208
"--rpc-http-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3",
209209
"--rpc-http-cors-origins=*",
210+
"--rpc-http-max-active-connections=300",
210211
"--rpc-ws-enabled=true",
211212
"--rpc-ws-host=0.0.0.0",
212213
"--rpc-ws-port={0}".format(WS_PORT_NUM),
@@ -225,6 +226,7 @@ def get_config(
225226
"--metrics-enabled=true",
226227
"--metrics-host=0.0.0.0",
227228
"--metrics-port={0}".format(METRICS_PORT_NUM),
229+
"--min-gas-price=1000000000",
228230
]
229231
if (
230232
network not in constants.PUBLIC_NETWORKS

0 commit comments

Comments
 (0)