Skip to content

Commit

Permalink
fix: mev-boost creation by making it depend on actual participant cou…
Browse files Browse the repository at this point in the history
…nt (#191)
  • Loading branch information
h4ck3rk3y authored Sep 12, 2023
1 parent a3ad030 commit 7606cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run(plan, args = {}):
# spin up the mev boost contexts if some endpoints for relays have been passed
all_mevboost_contexts = []
if mev_endpoints:
for index, participant in enumerate(args_with_right_defaults.participants):
for index, participant in enumerate(all_participants):
mev_boost_launcher = mev_boost_launcher_module.new_mev_boost_launcher(MEV_BOOST_SHOULD_CHECK_RELAY, mev_endpoints)
mev_boost_service_name = "{0}{1}".format(parse_input.MEV_BOOST_SERVICE_NAME_PREFIX, index)
mev_boost_context = mev_boost_launcher_module.launch(plan, mev_boost_launcher, mev_boost_service_name, network_params.network_id, mev_params.mev_boost_image)
Expand Down

0 comments on commit 7606cff

Please sign in to comment.