Commit 7311d884 authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

Merge pull request #23 from kurtosis-tech/gyani/remove-used-oprts

remove ports that were passed empty
parents 92467d11 b11926b6
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
- Renamed `num_validators_per_keynode` to `num_validator_keys_per_node` - Renamed `num_validators_per_keynode` to `num_validator_keys_per_node`
- Moved away from `load` infavor of `import_module` - Moved away from `load` infavor of `import_module`
- Moved away from `store_files_from_service` to `store_service_files` - Moved away from `store_files_from_service` to `store_service_files`
- Removed empty `ports` from a few service configs as passing it is now optional
# 0.0.1 # 0.0.1
......
...@@ -26,8 +26,6 @@ def get_config( ...@@ -26,8 +26,6 @@ def get_config(
files_artifact_mountpoints, files_artifact_mountpoints,
): ):
return struct( return struct(
# TODO remove this when ports is optional to pass
ports = {},
image = IMAGE, image = IMAGE,
entrypoint = ENTRYPOINT_ARGS, entrypoint = ENTRYPOINT_ARGS,
files = files_artifact_mountpoints, files = files_artifact_mountpoints,
......
...@@ -54,8 +54,6 @@ def get_asynchronous_verification_config(params, el_client_contexts, cl_client_c ...@@ -54,8 +54,6 @@ def get_asynchronous_verification_config(params, el_client_contexts, cl_client_c
return struct( return struct(
image = IMAGE_NAME, image = IMAGE_NAME,
cmd = commands, cmd = commands,
# TODO remove this when ports is optional in add_service
ports = {},
) )
...@@ -63,6 +61,4 @@ def get_synchronous_verification_config(): ...@@ -63,6 +61,4 @@ def get_synchronous_verification_config():
return struct( return struct(
image = IMAGE_NAME, image = IMAGE_NAME,
entrypoint = SYNCHRONOUS_ENTRYPOINT_ARGS, entrypoint = SYNCHRONOUS_ENTRYPOINT_ARGS,
# TODO remove this when ports is optional in add_service
ports = {},
) )
...@@ -23,7 +23,6 @@ def get_config(prefunded_addresses, el_client_context): ...@@ -23,7 +23,6 @@ def get_config(prefunded_addresses, el_client_context):
"spam", "spam",
comma_separated_private_keys, comma_separated_private_keys,
comma_separated_addresses comma_separated_addresses
], ]
ports = {}
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment