From 9f2f92615f5a5b2f90815e9f85f964f0d1a6dd63 Mon Sep 17 00:00:00 2001 From: "Yuri (solarw) Turchenkov" Date: Wed, 19 Jul 2023 09:41:41 +0300 Subject: [PATCH 1/4] cosmpy bumped to 0.6.0 --- Pipfile | 2 +- plugins/aea-ledger-cosmos/setup.py | 2 +- setup.py | 4 ++-- tox.ini | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Pipfile b/Pipfile index 73c9b89e28..6a8ae27618 100644 --- a/Pipfile +++ b/Pipfile @@ -39,7 +39,7 @@ GitPython = "==3.1.27" requests = "==2.28.1" idna = "<=3.3" web3 = "==5.31.4" -cosmpy = ">=0.4.1,<0.5.0" +cosmpy = "==0.6.0" semver = "<3.0.0,>=2.9.1" py-multibase = ">=1.0.0" py-multicodec = ">=0.2.0" diff --git a/plugins/aea-ledger-cosmos/setup.py b/plugins/aea-ledger-cosmos/setup.py index 58dd572821..1e175cb24c 100644 --- a/plugins/aea-ledger-cosmos/setup.py +++ b/plugins/aea-ledger-cosmos/setup.py @@ -43,7 +43,7 @@ "ecdsa>=0.15,<0.17.0", "bech32==1.2.0", "pycryptodome>=3.10.1,<4.0.0", - "cosmpy>=0.2.0", + "cosmpy==0.6.0", ], tests_require=["pytest"], entry_points={ diff --git a/setup.py b/setup.py index b386676af0..5a6ab3616b 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def get_all_extras() -> Dict: cli_deps = [ "click==8.0.2", "pyyaml==6.0.1", - "jsonschema>=3.0.0,<4.0.0", + "jsonschema<5.0.0,>=4.16.0", "packaging>=23.1,<24.0", "pytest>=7.0.0,<7.3.0", "coverage>=6.4.4,<8.0.0", @@ -56,7 +56,7 @@ def get_all_extras() -> Dict: base_deps = [ "semver>=2.9.1,<3.0.0", "base58>=1.0.3,<3.0.0", - "jsonschema>=3.0.0,<4.0.0", + "jsonschema<5.0.0,>=4.16.0", "packaging>=23.1,<24.0", "protobuf>=3.19.0,<4.0.0", "pymultihash==0.8.2", diff --git a/tox.ini b/tox.ini index 171bda5e74..e6f3c2c28b 100644 --- a/tox.ini +++ b/tox.ini @@ -49,7 +49,7 @@ deps = eth-account>=0.5.9,<0.6.0 ; for password encryption in cosmos pycryptodome>=3.10.1 - cosmpy>=0.4.1,<0.5.0 + cosmpy==0.6.0 certifi<=2022.6.15.1 google-api-python-client<=2.60.0 idna<=3.3 From a9e01a12cbba579bcb580ad3c8e87a8271a504ab Mon Sep 17 00:00:00 2001 From: "Yuri (solarw) Turchenkov" Date: Wed, 19 Jul 2023 12:46:57 +0300 Subject: [PATCH 2/4] a new release 1.36.0 --- .github/workflows/workflow.yml | 30 +++++++++---------- .spelling | 7 ++++- HISTORY.md | 10 +++++++ SECURITY.md | 4 +-- aea/__version__.py | 2 +- deploy-image/Dockerfile | 2 +- deploy-image/README.md | 2 +- develop-image/docker-env.sh | 2 +- docs-image/Dockerfile | 2 +- docs/upgrading.md | 5 ++++ examples/tac_deploy/Dockerfile | 2 +- plugins/aea-cli-benchmark/setup.py | 2 +- plugins/aea-cli-ipfs/setup.py | 2 +- plugins/aea-ledger-cosmos/setup.py | 2 +- .../aea-ledger-ethereum-flashbots/setup.py | 4 +-- plugins/aea-ledger-ethereum-hwi/setup.py | 4 +-- plugins/aea-ledger-ethereum/setup.py | 2 +- plugins/aea-ledger-fetchai/setup.py | 4 +-- plugins/aea-ledger-solana/setup.py | 2 +- scripts/install.ps1 | 2 +- scripts/install.sh | 2 +- skaffold.yaml | 4 +-- user-image/docker-env.sh | 2 +- 23 files changed, 60 insertions(+), 40 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b76870f425..50101a85c4 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -60,7 +60,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Security Check run: tox -e bandit - name: Safety Check @@ -99,7 +99,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Pylint check run: | tox -e pylint @@ -120,7 +120,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 pip install --user --upgrade setuptools # install Protobuf compiler wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip @@ -162,7 +162,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 pip install --user --upgrade setuptools - name: Copyright Check run: tox -e check-copyright @@ -187,7 +187,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Install markdown-spellcheck run: sudo npm install -g markdown-spellcheck - name: Check API Docs updated @@ -215,7 +215,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Check Docs links and IPFS hashes run: tox -e check-doc-links-hashes @@ -249,7 +249,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install tox run: | - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Check Pipfile and tox.ini consistency run: | python ./scripts/check_pipfile_and_toxini.py @@ -281,7 +281,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install tox run: | - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Check plugin aea-ledger-cosmos run: | tox -r -e plugins_env -- sh -c "pip install ./plugins/aea-ledger-cosmos && aea generate-key cosmos && echo aea-ledger-cosmos checked!" @@ -345,7 +345,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 # install Protobuf compiler wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip unzip protoc-3.19.4-linux-x86_64.zip -d protoc @@ -382,7 +382,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 # install Protobuf compiler wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip unzip protoc-3.19.4-linux-x86_64.zip -d protoc @@ -411,7 +411,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 - name: Framework integration tests run: tox -e py3.10 -- -m 'integration and not unstable and ledger and not profiling' - name: Packages integration tests @@ -448,7 +448,7 @@ jobs: sudo apt-get update --fix-missing sudo apt-get autoremove sudo apt-get autoclean - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 # install Protobuf compiler wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip unzip protoc-3.19.4-linux-x86_64.zip -d protoc @@ -470,7 +470,7 @@ jobs: - if: matrix.os == 'macos-latest' name: Install dependencies (macos-latest) run: | - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 brew install gcc # brew install protobuf # brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb @@ -501,7 +501,7 @@ jobs: choco install make -y # to check make was installed make --version - pip install tomte[tox]==0.2.4 + pip install tomte[tox]==0.2.13 # wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-win64.zip # unzip protoc-3.19.4-win64.zip -d protoc # sudo mv protoc/bin/protoc /usr/local/bin/protoc @@ -531,7 +531,7 @@ jobs: - if: matrix.os == 'ubuntu-latest' && matrix.python_version == '3.10' name: Show full coverage report run: | - pip install tomte[tests]==0.2.4 + pip install tomte[tests]==0.2.13 coverage report -m -i - if: matrix.os == 'ubuntu-latest' && matrix.python_version == '3.10' diff --git a/.spelling b/.spelling index df66c8ba93..8c0b795b72 100644 --- a/.spelling +++ b/.spelling @@ -372,4 +372,9 @@ ABI ERC20 WETH Solana -plug-in \ No newline at end of file +plug-in +0.6.0 +cosmpy +tomte +pyyaml +1.36.0 \ No newline at end of file diff --git a/HISTORY.md b/HISTORY.md index a8c4197f58..04ad39a151 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,15 @@ # Release History - open AEA + +## 1.36.0 (2023-07-19) + +Plugins: +- cosmpy updated to 0.6.0 + +Framework: +- pyyaml updated, tomte updated + + ## 1.35.0 (2023-06-20) Plugins: diff --git a/SECURITY.md b/SECURITY.md index f877354fc0..acda13aa23 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.35.x` | :white_check_mark: | -| `< 1.35.0` | :x: | +| `1.36.x` | :white_check_mark: | +| `< 1.36.0` | :x: | ## Reporting a Vulnerability diff --git a/aea/__version__.py b/aea/__version__.py index 1ad9d362df..32adbfabb8 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.35.0" +__version__ = "1.36.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 a4736b07ec..69c33cf2b8 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.35.0 "open-aea-cli-ipfs<2.0.0,>=1.35.0" +RUN pip install --upgrade --force-reinstall open-aea[all]==1.36.0 "open-aea-cli-ipfs<2.0.0,>=1.36.0" # directories and aea cli config WORKDIR /home/agents diff --git a/deploy-image/README.md b/deploy-image/README.md index f9c941dcd3..e0fc5655ed 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.35.0/packages packages +svn checkout https://github.com/valory-xyz/open-aea/tags/v1.36.0/packages packages ``` ### Modify scripts diff --git a/develop-image/docker-env.sh b/develop-image/docker-env.sh index abf6b4cd1b..8d8dabfee6 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.35.0 +DOCKER_IMAGE_TAG=valory/open-aea-develop:1.36.0 # DOCKER_IMAGE_TAG=valory/open-aea-develop:latest DOCKER_BUILD_CONTEXT_DIR=.. diff --git a/docs-image/Dockerfile b/docs-image/Dockerfile index 905b76dd44..f0be33419c 100644 --- a/docs-image/Dockerfile +++ b/docs-image/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /build COPY docs/ /build/docs COPY mkdocs.yml /build -RUN python3 -m pip install "tomte[docs]==0.2.4" +RUN python3 -m pip install "tomte[docs]==0.2.13" RUN python3 -m pip install git+https://github.com/pugong/mkdocs-mermaid-plugin.git RUN mkdocs build diff --git a/docs/upgrading.md b/docs/upgrading.md index fb463fb889..e6e81b6fa2 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -9,6 +9,11 @@ Below we describe the additional manual steps required to upgrade between differ ### Upgrade guide +## `v1.35.0` to `v1.36.0` + +- No backwards incompatible changes + + ## `v1.34.0` to `v1.35.0` - No backwards incompatible changes diff --git a/examples/tac_deploy/Dockerfile b/examples/tac_deploy/Dockerfile index d2864c0490..bd5d610f50 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 aea[all]==1.35.0 +RUN pip install --upgrade --force-reinstall aea[all]==1.36.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 74b97067d2..3eae875ef8 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.35.0", + version="1.36.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 628e31d684..f99e927fed 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.35.0", + version="1.36.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 1e175cb24c..495cab3bbb 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.35.0", + version="1.36.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 616f1fdef0..4c14c885f4 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.35.0", + version="1.36.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.35.0", + "open-aea-ledger-ethereum~=1.36.0", "flashbots==1.1.1", ], tests_require=["pytest"], diff --git a/plugins/aea-ledger-ethereum-hwi/setup.py b/plugins/aea-ledger-ethereum-hwi/setup.py index 5a33e9d7df..1b7ac5d337 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.35.0", + version="1.36.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==5.31.4", "ipfshttpclient==0.8.0a2", "eth-account>=0.5.9,<0.6.0", - "open-aea-ledger-ethereum~=1.35.0", + "open-aea-ledger-ethereum~=1.36.0", "apduboy>=0.5.0", "protobuf==3.19.5", "construct<=2.10.61", diff --git a/plugins/aea-ledger-ethereum/setup.py b/plugins/aea-ledger-ethereum/setup.py index 443bc8fb5c..fe4640c59b 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.35.0", + version="1.36.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 f4d5adedfb..af6bc291c4 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.35.0", + version="1.36.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.35.0"], + install_requires=["open-aea-ledger-cosmos~=1.36.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 da9ae473cc..39997c7cc1 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.35.0", + version="1.36.0", author="dassy23", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of solana.", diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 93234425f7..0a470f49de 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.35.0 --force --no-cache-dir 2>&1 |out-string; + $output=pip install open-aea[all]==1.36.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 986cddf7e4..0b508be39d 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.35.0 --force --no-cache-dir) + output=$(pip3 install --user open-aea[all]==1.36.0 --force --no-cache-dir) if [[ $? -ne 0 ]]; then echo "$output" diff --git a/skaffold.yaml b/skaffold.yaml index 58a54910a3..efdf0928df 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -5,7 +5,7 @@ metadata: build: tagPolicy: envTemplate: - template: "1.35.0" + template: "1.36.0" artifacts: - image: valory/open-aea-develop docker: @@ -24,7 +24,7 @@ profiles: build: tagPolicy: envTemplate: - template: "1.35.0" + template: "1.36.0" artifacts: - image: valory/open-aea-docs docker: diff --git a/user-image/docker-env.sh b/user-image/docker-env.sh index aedd4cd22d..1080d8ad85 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.35.0 +DOCKER_IMAGE_TAG=valory/open-aea-user:1.36.0 # DOCKER_IMAGE_TAG=valory/open-aea-user:latest DOCKER_BUILD_CONTEXT_DIR=.. From 7834dc9d9776b3a075a65dd0471bf9c7ef0176c7 Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Tue, 25 Jul 2023 06:52:23 +0000 Subject: [PATCH 3/4] fix: add fallback gas for gas station API --- .../aea_ledger_ethereum/ethereum.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/aea-ledger-ethereum/aea_ledger_ethereum/ethereum.py b/plugins/aea-ledger-ethereum/aea_ledger_ethereum/ethereum.py index 9ee11d35b6..27bd467522 100644 --- a/plugins/aea-ledger-ethereum/aea_ledger_ethereum/ethereum.py +++ b/plugins/aea-ledger-ethereum/aea_ledger_ethereum/ethereum.py @@ -115,6 +115,8 @@ DEFAULT_GAS_STATION_STRATEGY = {"gas_price_api_key": "", "gas_price_strategy": "fast"} +GAS_STATION_FALLBACK_ESTIMATE = 20 # gwei + DEFAULT_GAS_PRICE_STRATEGIES = { EIP1559: DEFAULT_EIP1559_STRATEGY, GAS_STATION: DEFAULT_GAS_STATION_STRATEGY, @@ -337,11 +339,16 @@ def gas_station_gas_price_strategy( :param transaction_params: transaction parameters :return: wei """ + _default_logger.info( # pragma: nocover + "`ethgasstation.info` has been deprecated and will be replaced with an alternative on the next release." + ) response = requests.get(f"{ETH_GASSTATION_URL}?api-key={gas_price_api_key}") - if response.status_code != 200: - raise ValueError( # pragma: nocover - f"Gas station API response: {response.status_code}, {response.text}" + if response.status_code != 200: # pragma: nocover + # TODO : Use some other gas station API # pylint: disable=fixme + _default_logger.error( + f"Gas station API response: {response.status_code}, {response.text}, using fallback gas price." ) + return {"gasPrice": web3.toWei(GAS_STATION_FALLBACK_ESTIMATE, "gwei")} response_dict = response.json() _default_logger.debug("Gas station API response: {}".format(response_dict)) result = response_dict.get(gas_price_strategy, None) From c62ed2aaed97e6bd3e723755e8b79301303ecb89 Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Tue, 25 Jul 2023 07:05:08 +0000 Subject: [PATCH 4/4] chore: docs --- docs/api/plugins/aea_ledger_ethereum/ethereum.md | 6 ++++++ scripts/check_doc_links.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/docs/api/plugins/aea_ledger_ethereum/ethereum.md b/docs/api/plugins/aea_ledger_ethereum/ethereum.md index 534c0858e1..ef366ae494 100644 --- a/docs/api/plugins/aea_ledger_ethereum/ethereum.md +++ b/docs/api/plugins/aea_ledger_ethereum/ethereum.md @@ -16,6 +16,12 @@ safeLow, standard, fast percentage + + +#### GAS`_`STATION`_`FALLBACK`_`ESTIMATE + +gwei + #### wei`_`to`_`gwei diff --git a/scripts/check_doc_links.py b/scripts/check_doc_links.py index 3b1cf842b6..e6d9bf44b0 100755 --- a/scripts/check_doc_links.py +++ b/scripts/check_doc_links.py @@ -45,6 +45,8 @@ # Remove non-url-allowed characters like ` before adding them here URL_SKIPS: List[str] = [ "https://faucet.dimensions.network/", + "https://www.cs.ox.ac.uk/people/michael.wooldridge/", + "https://multiformats.io/multiaddr/", ] # Define here custom timeouts for some edge cases