From 689d25950cffdeadb85a59fc657db3fa7c25e5cc Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Tue, 14 May 2024 10:45:33 +0200 Subject: [PATCH] fix: tune Besu options to work with tx_spammer --- .github/tests/besu-all.yaml | 11 ++++++----- src/el/besu/besu_launcher.star | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/tests/besu-all.yaml b/.github/tests/besu-all.yaml index 8e5e8b98e..64e6a1b97 100644 --- a/.github/tests/besu-all.yaml +++ b/.github/tests/besu-all.yaml @@ -1,14 +1,15 @@ 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 -additional_services: [] + - el_type: besu + cl_type: grandine +additional_services: + - tx_spammer diff --git a/src/el/besu/besu_launcher.star b/src/el/besu/besu_launcher.star index b971cede9..ae2dd0058 100644 --- a/src/el/besu/besu_launcher.star +++ b/src/el/besu/besu_launcher.star @@ -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), @@ -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