Skip to content

Commit

Permalink
fix: formatting - missing jwt secret (#312)
Browse files Browse the repository at this point in the history
Co-authored-by: shana <avalonche@protonmail.com>
  • Loading branch information
barnabasbusa and avalonche authored Oct 19, 2023
1 parent 743ba44 commit 728964c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions main.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
parse_input = import_module("./src/package_io/parse_input.star")
constants = import_module("./src/package_io/constants.star")

participant_network = import_module("./src/participant_network.star")

Expand Down Expand Up @@ -128,12 +129,17 @@ def run(plan, args={}):
beacon_uri = "{0}:{1}".format(
all_cl_client_contexts[0].ip_addr, all_cl_client_contexts[0].http_port_num
)
jwt_secret = all_el_client_contexts[0].jwt_secret
jwt_secret = plan.run_sh(
run="cat " + constants.JWT_AUTH_PATH + " | tr -d '\n'",
image="busybox",
files={"/data": el_cl_data_files_artifact_uuid},
wait=None,
)
endpoint = mock_mev_launcher_module.launch_mock_mev(
plan,
el_uri,
beacon_uri,
jwt_secret,
jwt_secret.output,
args_with_right_defaults.global_client_log_level,
)
mev_endpoints.append(endpoint)
Expand Down

0 comments on commit 728964c

Please sign in to comment.