From 3613674358d5c2ddf0c5f54d16ba69af7e82d03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Tue, 21 Oct 2025 14:18:43 -0300 Subject: [PATCH] Add gas limit parameter to command if specified This PR sets the target gas limit flag in ethrex if the `network_params.gas_limit` parameter is specified in ethereum-package. --- src/el/ethrex/ethrex_launcher.star | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/el/ethrex/ethrex_launcher.star b/src/el/ethrex/ethrex_launcher.star index dd9c03abb..75611f510 100644 --- a/src/el/ethrex/ethrex_launcher.star +++ b/src/el/ethrex/ethrex_launcher.star @@ -183,6 +183,9 @@ def get_config( ) ) + if network_params.gas_limit > 0: + cmd.append("--block-producer.gas-limit={0}".format(network_params.gas_limit)) + if len(participant.el_extra_params) > 0: # this is a repeated, we convert it into Starlark cmd.extend([param for param in participant.el_extra_params])