diff --git a/autonomy/deploy/generators/docker_compose/base.py b/autonomy/deploy/generators/docker_compose/base.py index 0d2df50534..887439414f 100644 --- a/autonomy/deploy/generators/docker_compose/base.py +++ b/autonomy/deploy/generators/docker_compose/base.py @@ -215,7 +215,7 @@ def generate_config_tendermint(self) -> "DockerComposeGenerator": if not self.use_tm_testnet_setup: return self - hosts = " \\\n".join( + hosts = " ".join( [ "--hostname=" + self.service_builder.get_tm_container_name(index=k) for k in range(self.service_builder.service.number_of_agents) diff --git a/autonomy/deploy/generators/docker_compose/templates.py b/autonomy/deploy/generators/docker_compose/templates.py index bd19678e28..1e201343b3 100644 --- a/autonomy/deploy/generators/docker_compose/templates.py +++ b/autonomy/deploy/generators/docker_compose/templates.py @@ -20,12 +20,7 @@ """Deployment Templates.""" -TENDERMINT_CONFIG_TEMPLATE: str = """/usr/bin/tendermint testnet \ - --config /etc/tendermint/config-template.toml \ - --v {validators} \ - --o . \ - {hosts} -""" +TENDERMINT_CONFIG_TEMPLATE: str = """/usr/bin/tendermint testnet --config /etc/tendermint/config-template.toml --v {validators} --o . {hosts}""" DOCKER_COMPOSE_TEMPLATE: str = """version: "2.4" services: diff --git a/tests/test_autonomy/test_cli/test_deploy/test_build/test_deployment.py b/tests/test_autonomy/test_cli/test_deploy/test_build/test_deployment.py index 79aa92801a..13451f56b5 100644 --- a/tests/test_autonomy/test_cli/test_deploy/test_build/test_deployment.py +++ b/tests/test_autonomy/test_cli/test_deploy/test_build/test_deployment.py @@ -188,8 +188,6 @@ def test_docker_compose_build_with_testnet( str(self.t / DEFAULT_BUILD_FOLDER), "--local", "--local-tm-setup", - "--n", - "1", ) )