Skip to content

Commit

Permalink
refactor: do not redefine SERVICE_URLS dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Nov 23, 2023
1 parent 644944a commit e6d009e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ MOCK_MEV_TYPE = "mock"
FULL_MEV_TYPE = "full"
PATH_TO_PARSED_BEACON_STATE = "/genesis/output/parsedBeaconState.json"


def run(plan, args={}):
args_with_right_defaults = input_parser.input_parser(plan, args)

Expand Down Expand Up @@ -337,11 +338,9 @@ def run(plan, args={}):
network_params.electra_fork_epoch,
)
plan.print("Successfully launched dora")
SERVICE_URLS = {
"dora": "http://{0}:{1}".format(
dora_config.ip_address, dora_config.ports["http"].number
)
}
SERVICE_URLS["dora"] = "http://{0}:{1}".format(
dora_config.ip_address, dora_config.ports["http"].number
)
elif additional_service == "blobscan":
plan.print("Launching blobscan")
blobscan.launch_blobscan(
Expand Down

0 comments on commit e6d009e

Please sign in to comment.