Skip to content

Commit

Permalink
feat: Add suave-enabled geth support (ethpandaops#489)
Browse files Browse the repository at this point in the history
Very minor addition to enable running suave-enabled geth (a.k.a.
`suave-execution-geth`) instead of the stock geths.
  • Loading branch information
0x416e746f6e authored Feb 9, 2024
1 parent d596699 commit 631eaf3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/el/geth/geth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ VERBOSITY_LEVELS = {
}

BUILDER_IMAGE_STR = "builder"
SUAVE_ENABLED_GETH_IMAGE_STR = "suave"


def launch(
Expand Down Expand Up @@ -293,6 +294,13 @@ def get_config(
if "--ws.api" in arg:
cmd[index] = "--ws.api=admin,engine,net,eth,web3,debug,mev,flashbots"

if SUAVE_ENABLED_GETH_IMAGE_STR in image:
for index, arg in enumerate(cmd):
if "--http.api" in arg:
cmd[index] = "--http.api=admin,engine,net,eth,web3,debug,suavex"
if "--ws.api" in arg:
cmd[index] = "--ws.api=admin,engine,net,eth,web3,debug,suavex"

if network == constants.NETWORK_NAME.kurtosis:
if len(existing_el_clients) > 0:
cmd.append(
Expand Down

0 comments on commit 631eaf3

Please sign in to comment.