Skip to content

Commit

Permalink
Merge pull request #2100 from valory-xyz/release/v0.13.4
Browse files Browse the repository at this point in the history
Release v0.13.4
  • Loading branch information
angrybayblade authored Nov 2, 2023
2 parents 2c7e453 + a4ee459 commit a93a4d1
Show file tree
Hide file tree
Showing 52 changed files with 216 additions and 193 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History - `open-autonomy`

# 0.13.4 (2023-11-01)

- Updates the mint tools to propogate `token` address to update service transactions

# 0.13.3 (2023-11-01)

- Synchronises the `on-chain` addresses with the latest protocol release
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ open-aea-cosmpy = "==0.6.7"
grpcio = "==1.53.0"
hypothesis = "==6.21.6"
# latest supported for Python 3.7
protobuf = "<5.0.0,>=4.21.6"
protobuf = "<4.25.0,>=4.21.6"
pytz = "==2022.2.1"
py-ecc = "==6.0.0"
python-dotenv = ">=0.14.0,<0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following table shows which versions of `open-autonomy` are currently being

| Version | Supported |
| --------- | ------------------ |
| `0.13.3` | :white_check_mark: |
| `0.13.4` | :white_check_mark: |
| `< 0.13.x` | :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.13.3"
__version__ = "0.13.4"
__author__ = "Valory AG"
__license__ = "Apache-2.0"
__copyright__ = "2021-2022 Valory AG"
4 changes: 4 additions & 0 deletions autonomy/chain/mint.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def update_service( # pylint: disable=too-many-arguments,too-many-locals
number_of_slots_per_agent: List[int],
cost_of_bond_per_agent: List[int],
threshold: int,
token: Optional[str] = None,
) -> Optional[int]:
"""Publish component on-chain."""

Expand Down Expand Up @@ -379,6 +380,8 @@ def update_service( # pylint: disable=too-many-arguments,too-many-locals
[n, c] for n, c in zip(number_of_slots_per_agent, cost_of_bond_per_agent)
]

print(token)

try:
tx = registry_contracts.service_manager.get_update_transaction(
ledger_api=ledger_api,
Expand All @@ -391,6 +394,7 @@ def update_service( # pylint: disable=too-many-arguments,too-many-locals
agent_ids=agent_ids,
agent_params=agent_params,
threshold=threshold,
token=token,
raise_on_try=True,
)
tx_receipt = transact(
Expand Down
2 changes: 2 additions & 0 deletions autonomy/cli/helpers/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def update_service(
number_of_slots: int,
cost_of_bond: int,
threshold: int,
token: Optional[str] = None,
) -> None:
"""Update service"""

Expand Down Expand Up @@ -615,6 +616,7 @@ def update_service(
cost_of_bond,
],
threshold=threshold,
token=token,
)
except ComponentMintFailed as e:
raise click.ClickException(
Expand Down
1 change: 1 addition & 0 deletions autonomy/cli/mint.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ def service( # pylint: disable=too-many-arguments # pylint: disable=too-many-a
number_of_slots=number_of_slots,
cost_of_bond=cost_of_bond,
threshold=threshold,
token=token,
)
return mint_helper.mint_service(
number_of_slots=number_of_slots,
Expand Down
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:bafybeib5d3tt3jkd5b3sr2pbf2jkogicxxywve3z7n5ebau7vz4ibfsvq4"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeigrqhygo2hl2owisj5rqyh3acdvee773ajije64snlzalcgtaac7q"
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.13.3
open-autonomy[all]==0.13.4
open-aea[all]==1.41.0.post1
open-aea-cli-ipfs==1.41.0.post1
open-aea-ledger-ethereum==1.41.0.post1
Expand Down
13 changes: 9 additions & 4 deletions docs/api/chain/mint.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,16 @@ Publish component on-chain.
#### update`_`service

```python
def update_service(ledger_api: LedgerApi, crypto: Crypto, service_id: int,
metadata_hash: str, chain_type: ChainType,
agent_ids: List[int], number_of_slots_per_agent: List[int],
def update_service(ledger_api: LedgerApi,
crypto: Crypto,
service_id: int,
metadata_hash: str,
chain_type: ChainType,
agent_ids: List[int],
number_of_slots_per_agent: List[int],
cost_of_bond_per_agent: List[int],
threshold: int) -> Optional[int]
threshold: int,
token: Optional[str] = None) -> Optional[int]
```

Publish component on-chain.
Expand Down
6 changes: 4 additions & 2 deletions docs/api/cli/helpers/chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ Update agent.
#### update`_`service

```python
def update_service(number_of_slots: int, cost_of_bond: int,
threshold: int) -> None
def update_service(number_of_slots: int,
cost_of_bond: int,
threshold: int,
token: Optional[str] = None) -> None
```

Update service
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:bafybeiaudl7qgji6mkdon5prheasttalb7y5jve6ixe4yzpu7xedrs7ryi --remote --service
autonomy fetch valory/counter:0.1.0:bafybeifr23kiw2i4qdxclcu7mxq2onrs2x6p733cn3vshu4335rjgfwrla --remote --service
cd counter
```

Expand Down
8 changes: 4 additions & 4 deletions docs/guides/set_up.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ If you plan to follow the guides in the next sections, you need to populate the
"third_party": {
"service/valory/hello_world/0.1.0": "bafybeicdcrhpekqbwzeam2fi7npnl6qfwejgo73ftwoy4tofwbrsl5ene4",
"agent/valory/hello_world/0.1.0": "bafybeiakoj6jpj5gqyjk5qz2ibgvplgd4azqwxmi56aei7xpu5z47np3e4",
"connection/valory/abci/0.1.0": "bafybeibiwiza4rqma5pzeoucndsibnu2pvune6cm37mpnvf5ilkrqyvg44",
"connection/valory/abci/0.1.0": "bafybeigzgupmh6kwwx4jbqkw7qri5vr6vz53xbi4uksulh6oiovdplmviu",
"connection/valory/http_client/0.23.0": "bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny",
"connection/valory/ipfs/0.1.0": "bafybeigfmqvlzbp67fttccpl4hsu3zaztbxv6vd7ikzra2hfppfkalgpji",
"connection/valory/ledger/0.19.0": "bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm",
"contract/valory/service_registry/0.1.0": "bafybeiatuyvnip3gzzc26oieudmkgdkvil3nerzbfa2j7woi4sbusgxtye",
"contract/valory/service_registry/0.1.0": "bafybeic4bgql6x5jotp43ddazybmyb7macifjzudavqll3547ayhawttpi",
"protocol/open_aea/signing/1.0.0": "bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii",
"protocol/valory/abci/0.1.0": "bafybeihmzlmmb4pdo3zkhg6ehuyaa4lhw7bfpclln2o2z7v3o6fcep26iu",
"protocol/valory/acn/1.1.0": "bafybeic2pxzfc3voxl2ejhcqyf2ehm4wm5gxvgx7bliloiqi2uppmq6weu",
Expand All @@ -121,8 +121,8 @@ If you plan to follow the guides in the next sections, you need to populate the
"protocol/valory/ipfs/0.1.0": "bafybeiedxeismnx3k5ty4mvvhlqideixlhqmi5mtcki4lxqfa7uqh7p33u",
"protocol/valory/ledger_api/1.0.0": "bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru",
"protocol/valory/tendermint/0.1.0": "bafybeig6g6twajlwssfbfp5rlnu5mwzuu5kgak5cs4fich7rlkx6whesnu",
"skill/valory/abstract_abci/0.1.0": "bafybeih6ilyszil7opntt3tkasryghu7j2qj2m5txwoo4tsdsvkuxas7di",
"skill/valory/abstract_round_abci/0.1.0": "bafybeib5d3tt3jkd5b3sr2pbf2jkogicxxywve3z7n5ebau7vz4ibfsvq4",
"skill/valory/abstract_abci/0.1.0": "bafybeifmfv4bgt5vzvgawlocksacqeadzg72zs4usvgjaf245hbbptpiki",
"skill/valory/abstract_round_abci/0.1.0": "bafybeigrqhygo2hl2owisj5rqyh3acdvee773ajije64snlzalcgtaac7q",
"skill/valory/hello_world_abci/0.1.0": "bafybeibu3fdkjmawysvbwcn77pzpfw2d4the4ok7jod3jmdiqn4rzms37e",
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq"
}
Expand Down
Loading

0 comments on commit a93a4d1

Please sign in to comment.