Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.10.10.post1 #2019

Merged
merged 7 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,5 @@ my_fsm_app_skill
fuzzer
selection_key
0.10.0.post1
0.10.0.post2
0.10.0.post2
0.10.10.post1
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release History - `open-autonomy`

# 0.10.10.post1 (2023-07-28)

Autonomy:
- Update `tendermint` testnet command generator to accommodate for new container naming format

# 0.10.10 (2023-07-26)

Autonomy:
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The following table shows which versions of `open-autonomy` are currently being

| Version | Supported |
| --------- | ------------------ |
| `0.10.10` | :white_check_mark: |
| `< 0.10.10` | :x: |
| `0.10.10.post1` | :white_check_mark: |
| `< 0.10.10.post1` | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion autonomy/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
__version__ = "0.10.10.post1"
__author__ = "Valory AG"
__license__ = "Apache-2.0"
__copyright__ = "2021-2022 Valory AG"
2 changes: 1 addition & 1 deletion autonomy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
ACN_IMAGE_NAME = os.environ.get("ACN_IMAGE_NAME", "valory/open-acn-node")
DEFAULT_DOCKER_IMAGE_AUTHOR = "valory"
OAR_IMAGE = "{image_author}/oar-{agent}:{version}"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeihgxynrcpkil66gak4qwnixojy5vbhsulbgo22ldz3owza7vajhua"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeibqpzbklnljvtc67yon4ciijxj75d7vazm7rurcvbbfnk6jtudukm"
12 changes: 5 additions & 7 deletions autonomy/deploy/generators/docker_compose/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,11 @@ def generate_config_tendermint(self) -> "DockerComposeGenerator":
if not self.use_tm_testnet_setup:
return self

hosts = (
" \\\n".join(
[
f"--hostname=node{k}"
for k in range(self.service_builder.service.number_of_agents)
]
),
hosts = " ".join(
[
"--hostname=" + self.service_builder.get_tm_container_name(index=k)
for k in range(self.service_builder.service.number_of_agents)
]
)
self.tendermint_job_config = TENDERMINT_CONFIG_TEMPLATE.format(
validators=self.service_builder.service.number_of_agents, hosts=hosts
Expand Down
7 changes: 1 addition & 6 deletions autonomy/deploy/generators/docker_compose/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion deployments/Dockerfiles/autonomy-user/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open-autonomy[all]==0.10.10
open-autonomy[all]==0.10.10.post1
open-aea[all]==1.37.0
open-aea-cli-ipfs==1.37.0
open-aea-ledger-ethereum==1.37.0
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_reference/commands/autonomy_fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ autonomy --registry-path=./packages fetch valory/hello_world:0.1.0 --service --l

Fetch the agent service `hello_world` from a remote registry ([IPFS](https://ipfs.io)):
```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiad7mronnrcxetg4allxrvohp5vajke6fl2oisahai2zcb3so6mi4 --service --remote
autonomy fetch valory/hello_world:0.1.0:bafybeifbyghd5robjp3vklbaaa2gsawly27hfgtscjnhbwzcxbau6cuwoa --service --remote
```
4 changes: 2 additions & 2 deletions docs/configure_service/analise_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The `valory/abstract_round_abci` skill packages come with a number of testing to
Fetch the `hello_world` agent, which comes with the `hello_world_abci` {{fsm_app}} skill within:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiczdj62utdpcwqegdccvmrz7z5qpgawcy4lt3oac4ureqhuqld7si
autonomy fetch valory/hello_world:0.1.0:bafybeigvj6ck2algnigdggnci6hffzaaexvkcn7fsz5hurypcf6w6ry7ba
mv hello_world hello_world_agent
```

Expand All @@ -77,7 +77,7 @@ The same plugin also provides tools for writing end-to-end tests for agents. The
Fetch the `hello_world` agent:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiczdj62utdpcwqegdccvmrz7z5qpgawcy4lt3oac4ureqhuqld7si
autonomy fetch valory/hello_world:0.1.0:bafybeigvj6ck2algnigdggnci6hffzaaexvkcn7fsz5hurypcf6w6ry7ba
mv hello_world hello_world_agent
```

Expand Down
2 changes: 1 addition & 1 deletion docs/counter_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ you have followed the [setup instructions](guides/quick_start.md#setup). As a re

2. Use the CLI to download the `valory/counter` service.
```bash
autonomy fetch valory/counter:0.1.0:bafybeif7y5sj2pjcxhjmd6bwgq3ym56wyy3ne7qxzstu7oitmc5k7jkkwi --remote --service
autonomy fetch valory/counter:0.1.0:bafybeicwi3chi7fon4ptlytx5ela4aqabfpe5wa5q5l3iaaqglomsl43mq --remote --service
cd counter
```

Expand Down
4 changes: 2 additions & 2 deletions docs/demos/hello_world_demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ You can find the instructions on how to run the Hello World service in the [quic
If you have [set up the framework](../guides/set_up.md#set-up-the-framework), you can fetch the source code of the Hello World agent:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiczdj62utdpcwqegdccvmrz7z5qpgawcy4lt3oac4ureqhuqld7si
autonomy fetch valory/hello_world:0.1.0:bafybeigvj6ck2algnigdggnci6hffzaaexvkcn7fsz5hurypcf6w6ry7ba
mv hello_world hello_world_agent
```

and the Hello World service:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiad7mronnrcxetg4allxrvohp5vajke6fl2oisahai2zcb3so6mi4 --service
autonomy fetch valory/hello_world:0.1.0:bafybeifbyghd5robjp3vklbaaa2gsawly27hfgtscjnhbwzcxbau6cuwoa --service
mv hello_world hello_world_service
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/define_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ If you have [populated the local registry](./set_up.md#populate-the-local-regist
open-aea-ledger-ethereum:
version: ==1.37.0
open-aea-test-autonomy:
version: ==0.10.10
version: ==0.10.10.post1
default_connection: null
---
public_id: valory/hello_world_abci:0.1.0
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/deploy_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ We illustrate the full local deployment workflow using the `hello_world` service

=== "Remote registry"
```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiad7mronnrcxetg4allxrvohp5vajke6fl2oisahai2zcb3so6mi4 --service
autonomy fetch valory/hello_world:0.1.0:bafybeifbyghd5robjp3vklbaaa2gsawly27hfgtscjnhbwzcxbau6cuwoa --service
```

2. **Build the agents' image.** Navigate to the service runtime folder that you have just created and build the Docker image of the agents of the service:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Before starting this guide, ensure that your machine satisfies the framework req
1. Fetch the [Hello World service](../demos/hello_world_demo.md) from the remote registry. Within the workspace folder (not the remote registry) run:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiad7mronnrcxetg4allxrvohp5vajke6fl2oisahai2zcb3so6mi4 --service
autonomy fetch valory/hello_world:0.1.0:bafybeifbyghd5robjp3vklbaaa2gsawly27hfgtscjnhbwzcxbau6cuwoa --service
```

2. Build the Docker image of the service agents:
Expand Down
16 changes: 8 additions & 8 deletions docs/guides/set_up.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This is roughly how your workspace should look like:
You can override the default registry in use (set up with `autonomy init`) for a particular command through the flags `--registry-path` and `--local`. For example, if the framework was initialized with the remote registry, the following command will fetch a runtime folder for the `hello_world` agent from the remote registry:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeiczdj62utdpcwqegdccvmrz7z5qpgawcy4lt3oac4ureqhuqld7si
autonomy fetch valory/hello_world:0.1.0:bafybeigvj6ck2algnigdggnci6hffzaaexvkcn7fsz5hurypcf6w6ry7ba
```

On the other hand, if you want to fetch the copy stored in your local registry, then you can use:
Expand Down Expand Up @@ -106,13 +106,13 @@ If you plan to follow the guides in the next sections, you need to populate the
"dev": {
},
"third_party": {
"service/valory/hello_world/0.1.0": "bafybeiad7mronnrcxetg4allxrvohp5vajke6fl2oisahai2zcb3so6mi4",
"agent/valory/hello_world/0.1.0": "bafybeiczdj62utdpcwqegdccvmrz7z5qpgawcy4lt3oac4ureqhuqld7si",
"connection/valory/abci/0.1.0": "bafybeiaypgtypslk6fekvkesqd2s3tvmkghdhn32knglz3ywyopypawd7u",
"service/valory/hello_world/0.1.0": "bafybeifbyghd5robjp3vklbaaa2gsawly27hfgtscjnhbwzcxbau6cuwoa",
"agent/valory/hello_world/0.1.0": "bafybeigvj6ck2algnigdggnci6hffzaaexvkcn7fsz5hurypcf6w6ry7ba",
"connection/valory/abci/0.1.0": "bafybeic6beo7cpd2qtotntlbmsrs3qfn7fw5eh2vkav6milat6awao46pu",
"connection/valory/http_client/0.23.0": "bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y",
"connection/valory/ipfs/0.1.0": "bafybeicwe4fksbhaqs4qycfdqbzgqtikfn3u4g5y5fucxfmriezwwf7hse",
"connection/valory/ledger/0.19.0": "bafybeiejc7g7ebv3cleiqb4f4h4pspcu6vtr54332szwlqiabfs3sfdh44",
"contract/valory/service_registry/0.1.0": "bafybeihwuijs3xpam5w3rah6yecx6nu3trlv5g6ssuyftxgevl4zgdxpqq",
"contract/valory/service_registry/0.1.0": "bafybeidjm7w7pugc6kzrxlhbtnnc4rpgr3pkrg3owdxacrccar5qqwyu2e",
"protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m",
"protocol/valory/abci/0.1.0": "bafybeigootsvqpk6th5xpdtzanxum3earifrrezfyhylfrit7yvqdrtgpe",
"protocol/valory/acn/1.1.0": "bafybeiapa5ilsobggnspoqhspftwolrx52udrwmaxdxgrk26heuvl4oooa",
Expand All @@ -121,9 +121,9 @@ If you plan to follow the guides in the next sections, you need to populate the
"protocol/valory/ipfs/0.1.0": "bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa",
"protocol/valory/ledger_api/1.0.0": "bafybeigsvceac33asd6ecbqev34meyyjwu3rangenv6xp5rkxyz4krvcby",
"protocol/valory/tendermint/0.1.0": "bafybeidjqmwvgi4rqgp65tbkhmi45fwn2odr5ecezw6q47hwitsgyw4jpa",
"skill/valory/abstract_abci/0.1.0": "bafybeihueuvsgfwkyjgmv3wnr2yopbokunr6vkygoci6uayyn2ueywqvca",
"skill/valory/abstract_round_abci/0.1.0": "bafybeihgxynrcpkil66gak4qwnixojy5vbhsulbgo22ldz3owza7vajhua",
"skill/valory/hello_world_abci/0.1.0": "bafybeidctfrljdafxwgs7d67r3m45weoysxletm6c3n4t7huialkxmaw5y",
"skill/valory/abstract_abci/0.1.0": "bafybeih3bwx5apteinnoxts7sqmjlskntdbo7vvnmdbs5noo2pv76by7fu",
"skill/valory/abstract_round_abci/0.1.0": "bafybeibqpzbklnljvtc67yon4ciijxj75d7vazm7rurcvbbfnk6jtudukm",
"skill/valory/hello_world_abci/0.1.0": "bafybeibvako6umiwdfhamluvlxdj4b67ugslacohocxdq6d7zo3rsdc34y",
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq"
}
}
Expand Down
Loading
Loading