Skip to content

Commit

Permalink
fix: sequencer forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Dec 6, 2024
1 parent a19a5fb commit 47c1249
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/el/op-besu/op_besu_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_config(

# if not sequencer_enabled:
# cmd.append(
# "--rollup.sequencerhttp={0}".format(sequencer_context.beacon_http_url)
# "--rollup.sequencerhttp={0}".format(sequencer_context.rpc_http_url)
# )

if len(existing_el_clients) > 0:
Expand Down
4 changes: 1 addition & 3 deletions src/el/op-erigon/op_erigon_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ def get_config(
]

if not sequencer_enabled:
cmd.append(
"--rollup.sequencerhttp={0}".format(sequencer_context.beacon_http_url)
)
cmd.append("--rollup.sequencerhttp={0}".format(sequencer_context.rpc_http_url))

if len(existing_el_clients) > 0:
cmd.append(
Expand Down
4 changes: 1 addition & 3 deletions src/el/op-geth/op_geth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,7 @@ def get_config(
]

if not sequencer_enabled:
cmd.append(
"--rollup.sequencerhttp={0}".format(sequencer_context.beacon_http_url)
)
cmd.append("--rollup.sequencerhttp={0}".format(sequencer_context.rpc_http_url))

if len(existing_el_clients) > 0:
cmd.append(
Expand Down
4 changes: 1 addition & 3 deletions src/el/op-nethermind/op_nethermind_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ def get_config(
"--Metrics.ExposeHost=0.0.0.0",
]
if not sequencer_enabled:
cmd.append(
"--Optimism.SequencerUrl={0}".format(sequencer_context.beacon_http_url)
)
cmd.append("--Optimism.SequencerUrl={0}".format(sequencer_context.rpc_http_url))

if len(existing_el_clients) > 0:
cmd.append(
Expand Down
4 changes: 1 addition & 3 deletions src/el/op-reth/op_reth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,7 @@ def get_config(
]

if not sequencer_enabled:
cmd.append(
"--rollup.sequencer-http={0}".format(sequencer_context.beacon_http_url)
)
cmd.append("--rollup.sequencer-http={0}".format(sequencer_context.rpc_http_url))

if len(existing_el_clients) > 0:
cmd.append(
Expand Down
2 changes: 1 addition & 1 deletion src/el_cl_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def launch(
index_str, cl_type, el_type, l2_services_suffix
)

sequencer_context = all_cl_contexts[0] if len(all_cl_contexts) > 0 else None
sequencer_context = all_el_contexts[0] if len(all_el_contexts) > 0 else None
el_context = el_launch_method(
plan,
el_launcher,
Expand Down

0 comments on commit 47c1249

Please sign in to comment.