Skip to content

Commit

Permalink
chore: service name on bolt boost
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 7, 2024
1 parent b2f42bf commit 6ef6ae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ def run(plan, args={}):
)
bolt_boost_context = bolt_boost.launch(
plan,
mev_params.bolt_boost_image,
bolt_boost_service_name,
mev_params.bolt_boost_image,
relays_config,
bolt_sidecar_config,
network_params,
Expand Down
5 changes: 2 additions & 3 deletions src/mev/bolt_boost/bolt_boost_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ static_files = import_module("../../static_files/static_files.star")
constants = import_module("../../package_io/constants.star")
input_parser = import_module("../../package_io/input_parser.star")

SERVICE_NAME = "bolt-boost"
BOLT_BOOST_CONFIG_FILENAME="cb-bolt-config.toml"
BOLT_BOOST_CONFIG_MOUNT_DIRPATH_ON_SERVICE="/config"

Expand All @@ -23,8 +22,8 @@ MAX_MEMORY = 256

def launch(
plan,
service_name,
bolt_boost_image,
service_name, # unused as of now
relays_config,
bolt_sidecar_config,
network_params,
Expand All @@ -42,7 +41,7 @@ def launch(
global_node_selectors,
)

bolt_boost_service = plan.add_service(SERVICE_NAME, config)
bolt_boost_service = plan.add_service(service_name, config)

return mev_boost_context_module.new_mev_boost_context(
bolt_boost_service.ip_address, bolt_boost_service.ports["api"].number
Expand Down

0 comments on commit 6ef6ae9

Please sign in to comment.