Commit 631eaf3e authored by Anton's avatar Anton Committed by GitHub

feat: Add suave-enabled geth support (#489)

Very minor addition to enable running suave-enabled geth (a.k.a.
`suave-execution-geth`) instead of the stock geths.
parent d5966991
...@@ -66,6 +66,7 @@ VERBOSITY_LEVELS = { ...@@ -66,6 +66,7 @@ VERBOSITY_LEVELS = {
} }
BUILDER_IMAGE_STR = "builder" BUILDER_IMAGE_STR = "builder"
SUAVE_ENABLED_GETH_IMAGE_STR = "suave"
def launch( def launch(
...@@ -293,6 +294,13 @@ def get_config( ...@@ -293,6 +294,13 @@ def get_config(
if "--ws.api" in arg: if "--ws.api" in arg:
cmd[index] = "--ws.api=admin,engine,net,eth,web3,debug,mev,flashbots" 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 network == constants.NETWORK_NAME.kurtosis:
if len(existing_el_clients) > 0: if len(existing_el_clients) > 0:
cmd.append( cmd.append(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment