diff --git a/HISTORY.md b/HISTORY.md index 5862c01338..bddea864e6 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,12 @@ # Release History - open AEA -## 1.45.0 (2024-01-11) +## 1.47.0 (2024-02-13) + +Plugins: +- Bumps `cosmpy@0.9.2` +- Fixes the `_try_send_signed_transaction` on the solana plugin to separate the transaction receipt retrieval + +## 1.46.0 (2024-01-23) AEA: - Updates the `generate-key` command to include ledger specifier when writing keys in a JSON file diff --git a/SECURITY.md b/SECURITY.md index 5e0d5b4e29..cf71f15c64 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,8 +8,8 @@ The following table shows which versions of `open-aea` are currently being suppo | Version | Supported | | --------- | ------------------ | -| `1.46.x` | :white_check_mark: | -| `< 1.46.0` | :x: | +| `1.47.x` | :white_check_mark: | +| `< 1.47.0` | :x: | ## Reporting a Vulnerability diff --git a/aea/__version__.py b/aea/__version__.py index ae219f00f0..8ef8c137ab 100644 --- a/aea/__version__.py +++ b/aea/__version__.py @@ -23,7 +23,7 @@ __title__ = "open-aea" __description__ = "Open Autonomous Economic Agent framework (without vendor lock-in)" __url__ = "https://github.com/valory-xyz/open-aea.git" -__version__ = "1.46.0" +__version__ = "1.47.0" __author__ = "Valory AG" __license__ = "Apache-2.0" __copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited" diff --git a/deploy-image/Dockerfile b/deploy-image/Dockerfile index d7d9e385a8..d8f6e8656a 100644 --- a/deploy-image/Dockerfile +++ b/deploy-image/Dockerfile @@ -16,7 +16,7 @@ RUN apk add --no-cache go # aea installation RUN pip install --upgrade pip -RUN pip install --upgrade --force-reinstall open-aea[all]==1.46.0 "open-aea-cli-ipfs<2.0.0,>=1.46.0" +RUN pip install --upgrade --force-reinstall open-aea[all]==1.47.0 "open-aea-cli-ipfs<2.0.0,>=1.47.0" # directories and aea cli config WORKDIR /home/agents diff --git a/deploy-image/README.md b/deploy-image/README.md index c22743fcb5..e5ead00941 100644 --- a/deploy-image/README.md +++ b/deploy-image/README.md @@ -11,7 +11,7 @@ The example uses the `fetchai/my_first_aea` project. You will likely want to mod Install subversion, then download the example directory to your local working directory ``` bash -svn checkout https://github.com/valory-xyz/open-aea/tags/v1.46.0/packages packages +svn checkout https://github.com/valory-xyz/open-aea/tags/v1.47.0/packages packages ``` ### Modify scripts diff --git a/develop-image/docker-env.sh b/develop-image/docker-env.sh index 1511b4d4ed..4bb5351573 100755 --- a/develop-image/docker-env.sh +++ b/develop-image/docker-env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Swap the following lines if you want to work with 'latest' -DOCKER_IMAGE_TAG=valory/open-aea-develop:1.46.0 +DOCKER_IMAGE_TAG=valory/open-aea-develop:1.47.0 # DOCKER_IMAGE_TAG=valory/open-aea-develop:latest DOCKER_BUILD_CONTEXT_DIR=.. diff --git a/docs/api/plugins/aea_ledger_solana/solana.md b/docs/api/plugins/aea_ledger_solana/solana.md index 0851217c3f..a5f82e6af2 100644 --- a/docs/api/plugins/aea_ledger_solana/solana.md +++ b/docs/api/plugins/aea_ledger_solana/solana.md @@ -313,6 +313,7 @@ Atomically send multiple of transactions. def get_transaction_receipt( tx_digest: str, max_supported_transaction_version: Optional[int] = None, + retries: Optional[int] = None, raise_on_try: bool = False) -> Optional[JSONLike] ``` @@ -322,6 +323,7 @@ Get the transaction receipt for a transaction digest. - `tx_digest`: the digest associated to the transaction. - `max_supported_transaction_version`: The max transaction version to return in responses. +- `retries`: The max amount of retries for fetching the receipt. - `raise_on_try`: whether the method will raise or log on error **Returns**: diff --git a/docs/upgrading.md b/docs/upgrading.md index 5569ad038b..5ee1688eb7 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -9,6 +9,9 @@ Below we describe the additional manual steps required to upgrade between differ ### Upgrade guide +## `v1.46.0` to `v1.47.0` + +The `send_signed_transaction` method implementation is been updated to follow the ledger plugin pattern, which means it will return transaction digest not the transaction receipt. To retrieve the transaction receipt use `get_transaction_receipt` method. ## `v1.45.0` to `v1.46.0` diff --git a/examples/tac_deploy/Dockerfile b/examples/tac_deploy/Dockerfile index c0e91440c4..9828bc8396 100644 --- a/examples/tac_deploy/Dockerfile +++ b/examples/tac_deploy/Dockerfile @@ -19,7 +19,7 @@ RUN apk add --no-cache go # aea installation RUN python -m pip install --upgrade pip -RUN pip install --upgrade --force-reinstall open-aea[all]==1.46.0 +RUN pip install --upgrade --force-reinstall open-aea[all]==1.47.0 # directories and aea cli config COPY /.aea /home/.aea diff --git a/plugins/aea-cli-benchmark/setup.py b/plugins/aea-cli-benchmark/setup.py index e088c13fdb..8522b21dcf 100755 --- a/plugins/aea-cli-benchmark/setup.py +++ b/plugins/aea-cli-benchmark/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-cli-benchmark", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="CLI extension for AEA framework benchmarking.", diff --git a/plugins/aea-cli-ipfs/setup.py b/plugins/aea-cli-ipfs/setup.py index c724a03035..e2ce785966 100755 --- a/plugins/aea-cli-ipfs/setup.py +++ b/plugins/aea-cli-ipfs/setup.py @@ -28,7 +28,7 @@ setup( name="open-aea-cli-ipfs", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="CLI extension for open AEA framework wrapping IPFS functionality.", diff --git a/plugins/aea-ledger-cosmos/setup.py b/plugins/aea-ledger-cosmos/setup.py index 4c14b9df25..a91f7ee156 100644 --- a/plugins/aea-ledger-cosmos/setup.py +++ b/plugins/aea-ledger-cosmos/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-ledger-cosmos", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of Cosmos.", diff --git a/plugins/aea-ledger-ethereum-flashbots/setup.py b/plugins/aea-ledger-ethereum-flashbots/setup.py index b159170fc3..832d430e1b 100644 --- a/plugins/aea-ledger-ethereum-flashbots/setup.py +++ b/plugins/aea-ledger-ethereum-flashbots/setup.py @@ -25,7 +25,7 @@ setup( name="open-aea-ledger-ethereum-flashbots", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="Python package extending the default open-aea ethereum ledger plugin to add support for flashbots.", @@ -41,7 +41,7 @@ }, python_requires=">=3.9,<4.0", install_requires=[ - "open-aea-ledger-ethereum~=1.46.0", + "open-aea-ledger-ethereum~=1.47.0", "open-aea-flashbots==1.4.0", ], tests_require=["pytest"], diff --git a/plugins/aea-ledger-ethereum-hwi/setup.py b/plugins/aea-ledger-ethereum-hwi/setup.py index 57e908a8fc..aa54320c87 100644 --- a/plugins/aea-ledger-ethereum-hwi/setup.py +++ b/plugins/aea-ledger-ethereum-hwi/setup.py @@ -25,7 +25,7 @@ setup( name="open-aea-ledger-ethereum-hwi", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and support for hardware wallet interactions.", @@ -42,7 +42,7 @@ "web3>=6.0.0,<7", "ipfshttpclient==0.8.0a2", "eth-account>=0.8.0,<0.9.0", - "open-aea-ledger-ethereum~=1.46.0", + "open-aea-ledger-ethereum~=1.47.0", "ledgerwallet==0.1.3", "protobuf<4.25.0,>=4.21.6", "construct<=2.10.61", diff --git a/plugins/aea-ledger-ethereum/setup.py b/plugins/aea-ledger-ethereum/setup.py index 4c0de87d25..2805d62548 100644 --- a/plugins/aea-ledger-ethereum/setup.py +++ b/plugins/aea-ledger-ethereum/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-ledger-ethereum", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of Ethereum.", diff --git a/plugins/aea-ledger-fetchai/setup.py b/plugins/aea-ledger-fetchai/setup.py index ac82ce9367..2f0bafa43f 100644 --- a/plugins/aea-ledger-fetchai/setup.py +++ b/plugins/aea-ledger-fetchai/setup.py @@ -31,7 +31,7 @@ setup( name="open-aea-ledger-fetchai", - version="1.46.0", + version="1.47.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger API of Fetch.AI.", @@ -44,7 +44,7 @@ "test_tools/data/*", ] }, - install_requires=["open-aea-ledger-cosmos~=1.46.0"], + install_requires=["open-aea-ledger-cosmos~=1.47.0"], tests_require=["pytest"], entry_points={ "aea.cryptos": ["fetchai = aea_ledger_fetchai:FetchAICrypto"], diff --git a/plugins/aea-ledger-solana/setup.py b/plugins/aea-ledger-solana/setup.py index 888dd364e0..3fe1cf1ca9 100644 --- a/plugins/aea-ledger-solana/setup.py +++ b/plugins/aea-ledger-solana/setup.py @@ -25,7 +25,7 @@ setup( name="open-aea-ledger-solana", - version="1.46.0", + version="1.47.0", author="dassy23", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of solana.", @@ -39,7 +39,7 @@ "PyNaCl==1.5.0", "solders>=0.14.0", "solana>=0.29.0", - "anchorpy>=0.17.0", + "anchorpy>=0.17.0,<0.19.0", ], tests_require=["pytest"], entry_points={ diff --git a/scripts/install.ps1 b/scripts/install.ps1 index e7b270a988..219c17ebe8 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -34,7 +34,7 @@ function instal_choco_golang_gcc { } function install_aea { echo "Install aea" - $output=pip install open-aea[all]==1.46.0 --force --no-cache-dir 2>&1 |out-string; + $output=pip install open-aea[all]==1.47.0 --force --no-cache-dir 2>&1 |out-string; if ($LastExitCode -ne 0) { echo $output echo "AEA install failed!" diff --git a/scripts/install.sh b/scripts/install.sh index 02be252b5a..3290759ae2 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -42,7 +42,7 @@ function is_python_version_ok() { function install_aea (){ echo "Install AEA" - output=$(pip3 install --user open-aea[all]==1.46.0 --force --no-cache-dir) + output=$(pip3 install --user open-aea[all]==1.47.0 --force --no-cache-dir) if [[ $? -ne 0 ]]; then echo "$output" diff --git a/skaffold.yaml b/skaffold.yaml index 159b9de7bc..3984d577f3 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -5,7 +5,7 @@ metadata: build: tagPolicy: envTemplate: - template: "1.46.0" + template: "1.47.0" artifacts: - image: valory/open-aea-develop docker: @@ -24,7 +24,7 @@ profiles: build: tagPolicy: envTemplate: - template: "1.46.0" + template: "1.47.0" artifacts: - image: valory/open-aea-docs docker: diff --git a/user-image/Dockerfile b/user-image/Dockerfile index c62288fd47..27ed5eec14 100644 --- a/user-image/Dockerfile +++ b/user-image/Dockerfile @@ -7,7 +7,7 @@ ENV LANG C.UTF-8 RUN apt update && apt install -y python3.11-dev python3-pip -y && apt autoremove && apt autoclean RUN pip3 install --upgrade pip -RUN pip3 install "open-aea[all]==1.46.0" open-aea-cli-ipfs==1.46.0 +RUN pip3 install "open-aea[all]==1.47.0" open-aea-cli-ipfs==1.47.0 COPY user-image/openssl.cnf /etc/ssl diff --git a/user-image/docker-env.sh b/user-image/docker-env.sh index 403351dc88..aee3924e57 100644 --- a/user-image/docker-env.sh +++ b/user-image/docker-env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Swap the following lines if you want to work with 'latest' -DOCKER_IMAGE_TAG=valory/open-aea-user:1.46.0 +DOCKER_IMAGE_TAG=valory/open-aea-user:1.47.0 # DOCKER_IMAGE_TAG=valory/open-aea-user:latest DOCKER_BUILD_CONTEXT_DIR=..