From 68b41f206b21cf267516e8d9f9a971c0071f2b97 Mon Sep 17 00:00:00 2001 From: YoshihitoAso Date: Tue, 12 Mar 2024 20:39:15 +0900 Subject: [PATCH 1/3] Bump packages --- Makefile | 5 ++++- tests/poetry.lock | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 5317c98..fe40d63 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ -.PHONY: format isort black test +.PHONY: install update format isort black test install: cd tests && poetry install --no-root --sync +update: + cd tests && poetry update + format: isort black isort: diff --git a/tests/poetry.lock b/tests/poetry.lock index 7f7ec6c..7c3ce50 100644 --- a/tests/poetry.lock +++ b/tests/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "aiohttp" @@ -607,13 +607,13 @@ test = ["coverage", "hypothesis (>=4.18.0,<5)", "pytest (>=7.0.0)", "pytest-xdis [[package]] name = "eth-hash" -version = "0.6.0" +version = "0.7.0" description = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3" optional = false python-versions = ">=3.8, <4" files = [ - {file = "eth-hash-0.6.0.tar.gz", hash = "sha256:ae72889e60db6acbb3872c288cfa02ed157f4c27630fcd7f9c8442302c31e478"}, - {file = "eth_hash-0.6.0-py3-none-any.whl", hash = "sha256:9f8daaa345764f8871dc461855049ac54ae4291d780279bce6fce7f24e3f17d3"}, + {file = "eth-hash-0.7.0.tar.gz", hash = "sha256:bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a"}, + {file = "eth_hash-0.7.0-py3-none-any.whl", hash = "sha256:b8d5a230a2b251f4a291e3164a23a14057c4a6de4b0aa4a16fa4dc9161b57e2f"}, ] [package.dependencies] @@ -1108,13 +1108,13 @@ files = [ [[package]] name = "packaging" -version = "23.2" +version = "24.0" description = "Core utilities for Python packages" optional = false python-versions = ">=3.7" files = [ - {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, - {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, + {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, + {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, ] [[package]] @@ -1594,13 +1594,13 @@ files = [ [[package]] name = "typing-extensions" -version = "4.9.0" +version = "4.10.0" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, - {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, + {file = "typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475"}, + {file = "typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb"}, ] [[package]] From 25f586c448fe68db7ded298254e100833501997b Mon Sep 17 00:00:00 2001 From: YoshihitoAso Date: Tue, 12 Mar 2024 21:26:09 +0900 Subject: [PATCH 2/3] Upgrade gh actions --- .github/workflows/build_ibet_for_fin_general.yml | 6 +++--- .github/workflows/build_ibet_for_fin_validator.yml | 6 +++--- .github/workflows/build_ibet_general.yml | 6 +++--- .github/workflows/build_ibet_validator.yml | 6 +++--- .github/workflows/build_localnet_general.yml | 6 +++--- .github/workflows/build_localnet_validator.yml | 6 +++--- .github/workflows/build_testnet_general.yml | 6 +++--- .github/workflows/build_testnet_validator.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 2 +- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build_ibet_for_fin_general.yml b/.github/workflows/build_ibet_for_fin_general.yml index 2c601bd..aaf3e02 100644 --- a/.github/workflows/build_ibet_for_fin_general.yml +++ b/.github/workflows/build_ibet_for_fin_general.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet for Fin (General) - name: Build and Push (ibet for Fin / General) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./ibet-for-fin-network/general file: ./ibet-for-fin-network/general/Dockerfile diff --git a/.github/workflows/build_ibet_for_fin_validator.yml b/.github/workflows/build_ibet_for_fin_validator.yml index debf0a1..d62e7b7 100644 --- a/.github/workflows/build_ibet_for_fin_validator.yml +++ b/.github/workflows/build_ibet_for_fin_validator.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet for Fin (Validator) - name: Build and Push (ibet for Fin / Validator) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./ibet-for-fin-network/validator file: ./ibet-for-fin-network/validator/Dockerfile diff --git a/.github/workflows/build_ibet_general.yml b/.github/workflows/build_ibet_general.yml index e54ebc8..885c183 100644 --- a/.github/workflows/build_ibet_general.yml +++ b/.github/workflows/build_ibet_general.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet (General) - name: Build and Push (ibet / General) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./ibet-network/general file: ./ibet-network/general/Dockerfile diff --git a/.github/workflows/build_ibet_validator.yml b/.github/workflows/build_ibet_validator.yml index d7e9b68..5703b6a 100644 --- a/.github/workflows/build_ibet_validator.yml +++ b/.github/workflows/build_ibet_validator.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet (Validator) - name: Build and Push (ibet / Validator) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./ibet-network/validator file: ./ibet-network/validator/Dockerfile diff --git a/.github/workflows/build_localnet_general.yml b/.github/workflows/build_localnet_general.yml index 9f0d95b..773e48b 100644 --- a/.github/workflows/build_localnet_general.yml +++ b/.github/workflows/build_localnet_general.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # local network (General) - name: Build and Push (local network / General) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./local-network/general file: ./local-network/general/Dockerfile diff --git a/.github/workflows/build_localnet_validator.yml b/.github/workflows/build_localnet_validator.yml index ca9d393..513b349 100644 --- a/.github/workflows/build_localnet_validator.yml +++ b/.github/workflows/build_localnet_validator.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # local network (Validator) - name: Build and Push (local network / Validator) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./local-network/validator file: ./local-network/validator/Dockerfile diff --git a/.github/workflows/build_testnet_general.yml b/.github/workflows/build_testnet_general.yml index d2a92ae..dbec61e 100644 --- a/.github/workflows/build_testnet_general.yml +++ b/.github/workflows/build_testnet_general.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet testnet (General) - name: Build and Push (ibet testnet / General) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./test-network/general file: ./test-network/general/Dockerfile diff --git a/.github/workflows/build_testnet_validator.yml b/.github/workflows/build_testnet_validator.yml index 707684c..d6daa1f 100644 --- a/.github/workflows/build_testnet_validator.yml +++ b/.github/workflows/build_testnet_validator.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -28,7 +28,7 @@ jobs: # ibet testnet (Validator) - name: Build and Push (ibet testnet / Validator) - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: ./test-network/validator file: ./test-network/validator/Dockerfile diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3c55875..56bee9b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From ddbd57d439fb713558d54f26da9b907f2d0b7637 Mon Sep 17 00:00:00 2001 From: YoshihitoAso Date: Tue, 12 Mar 2024 21:28:42 +0900 Subject: [PATCH 3/3] Upgrade gh actions --- .github/workflows/build_ibet_for_fin_general.yml | 2 +- .github/workflows/build_ibet_for_fin_validator.yml | 2 +- .github/workflows/build_ibet_general.yml | 2 +- .github/workflows/build_ibet_validator.yml | 2 +- .github/workflows/build_localnet_general.yml | 2 +- .github/workflows/build_localnet_validator.yml | 2 +- .github/workflows/build_testnet_general.yml | 2 +- .github/workflows/build_testnet_validator.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_ibet_for_fin_general.yml b/.github/workflows/build_ibet_for_fin_general.yml index aaf3e02..eb95ccd 100644 --- a/.github/workflows/build_ibet_for_fin_general.yml +++ b/.github/workflows/build_ibet_for_fin_general.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_ibet_for_fin_validator.yml b/.github/workflows/build_ibet_for_fin_validator.yml index d62e7b7..03896b9 100644 --- a/.github/workflows/build_ibet_for_fin_validator.yml +++ b/.github/workflows/build_ibet_for_fin_validator.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_ibet_general.yml b/.github/workflows/build_ibet_general.yml index 885c183..15ea382 100644 --- a/.github/workflows/build_ibet_general.yml +++ b/.github/workflows/build_ibet_general.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_ibet_validator.yml b/.github/workflows/build_ibet_validator.yml index 5703b6a..5bee579 100644 --- a/.github/workflows/build_ibet_validator.yml +++ b/.github/workflows/build_ibet_validator.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_localnet_general.yml b/.github/workflows/build_localnet_general.yml index 773e48b..9f36fc6 100644 --- a/.github/workflows/build_localnet_general.yml +++ b/.github/workflows/build_localnet_general.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_localnet_validator.yml b/.github/workflows/build_localnet_validator.yml index 513b349..43d6cb1 100644 --- a/.github/workflows/build_localnet_validator.yml +++ b/.github/workflows/build_localnet_validator.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_testnet_general.yml b/.github/workflows/build_testnet_general.yml index dbec61e..e591404 100644 --- a/.github/workflows/build_testnet_general.yml +++ b/.github/workflows/build_testnet_general.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/.github/workflows/build_testnet_validator.yml b/.github/workflows/build_testnet_validator.yml index d6daa1f..81e9e4f 100644 --- a/.github/workflows/build_testnet_validator.yml +++ b/.github/workflows/build_testnet_validator.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3