Skip to content

Commit

Permalink
enable rollup-boost only for sequencer
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Jan 3, 2025
1 parent da13eec commit a11fe34
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/el_cl_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ def launch(
sequencer_context,
)

if rollup_boost_enabled:
plan.print("Rollup boost enabled")
if rollup_boost_enabled and sequencer_enabled:
plan.print("Starting rollup boost")

if mev_params.builder_host == "" or mev_params.builder_port == "":
el_builder_context = el_builder_launch_method(
Expand Down Expand Up @@ -303,7 +303,6 @@ def launch(
)

all_el_contexts.append(el_builder_context)
all_el_contexts.append(sidecar_context)
else:
sidecar_context = None

Expand All @@ -316,7 +315,7 @@ def launch(
persistent,
cl_tolerations,
node_selectors,
sidecar_context if rollup_boost_enabled else el_context,
sidecar_context if rollup_boost_enabled and sequencer_enabled else el_context,
all_cl_contexts,
l1_config_env_vars,
sequencer_enabled,
Expand All @@ -327,7 +326,7 @@ def launch(
all_el_contexts.append(el_context)
all_cl_contexts.append(cl_context)

if rollup_boost_enabled:
if rollup_boost_enabled and sequencer_enabled:
cl_builder_context = cl_builder_launch_method(
plan,
cl_builder_launcher,
Expand Down

0 comments on commit a11fe34

Please sign in to comment.