From 5c012d1167468e44859685e94063f541fb21569c Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Fri, 28 Jul 2023 16:00:17 +0000 Subject: [PATCH] temp commit [no ci] --- autonomy/__version__.py | 2 +- autonomy/deploy/generators/docker_compose/base.py | 2 +- autonomy/deploy/generators/docker_compose/templates.py | 7 +------ .../test_cli/test_deploy/test_build/test_deployment.py | 2 -- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/autonomy/__version__.py b/autonomy/__version__.py index 45659f29df..6e8ecf65ae 100644 --- a/autonomy/__version__.py +++ b/autonomy/__version__.py @@ -22,7 +22,7 @@ __title__ = "open-autonomy" __description__ = "A framework for the creation of autonomous agent services." __url__ = "https://github.com/valory-xyz/open-autonomy.git" -__version__ = "0.10.10.post1" +__version__ = "0.10.10" __author__ = "Valory AG" __license__ = "Apache-2.0" __copyright__ = "2021-2022 Valory AG" 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", ) )