Skip to content

Commit

Permalink
fix: tune Besu options to work with tx_spammer (#612)
Browse files Browse the repository at this point in the history
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 <barnabas.busa@ethereum.org>
  • Loading branch information
fab-10 and barnabasbusa authored May 15, 2024
1 parent a584682 commit b395189
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/tests/besu-all.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
participants:
- el_type: geth
cl_type: teku
- el_type: geth
cl_type: teku
- el_type: besu
cl_type: prysm
- el_type: besu
cl_type: teku
- el_type: besu
cl_type: nimbus
- el_type: besu
cl_type: lighthouse
- el_type: besu
cl_type: lodestar
- el_type: besu
cl_type: grandine
additional_services: []
2 changes: 2 additions & 0 deletions src/el/besu/besu_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def get_config(
"--rpc-http-port={0}".format(RPC_PORT_NUM),
"--rpc-http-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3",
"--rpc-http-cors-origins=*",
"--rpc-http-max-active-connections=300",
"--rpc-ws-enabled=true",
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port={0}".format(WS_PORT_NUM),
Expand All @@ -225,6 +226,7 @@ def get_config(
"--metrics-enabled=true",
"--metrics-host=0.0.0.0",
"--metrics-port={0}".format(METRICS_PORT_NUM),
"--min-gas-price=1000000000",
]
if (
network not in constants.PUBLIC_NETWORKS
Expand Down

0 comments on commit b395189

Please sign in to comment.