From a11fe340993cef9a21b41e66b108fa169eb17e3f Mon Sep 17 00:00:00 2001 From: avalonche Date: Sat, 4 Jan 2025 07:48:02 +1100 Subject: [PATCH] enable rollup-boost only for sequencer --- src/el_cl_launcher.star | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/el_cl_launcher.star b/src/el_cl_launcher.star index bac79aa2..88f5dab9 100644 --- a/src/el_cl_launcher.star +++ b/src/el_cl_launcher.star @@ -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( @@ -303,7 +303,6 @@ def launch( ) all_el_contexts.append(el_builder_context) - all_el_contexts.append(sidecar_context) else: sidecar_context = None @@ -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, @@ -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,