From 4ff030f9f4852730445d50cf542f8f6a2c76433b Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Fri, 14 Jun 2024 12:21:15 +0100 Subject: [PATCH] fix --- .github/workflows/build-gateway-lib.yml | 2 +- .github/workflows/build-pr.yml | 4 ++-- .github/workflows/deploy-gateway-lib.yml | 2 +- .github/workflows/hardhat-pr-check.yml | 2 +- .github/workflows/manual-deploy-dexynth-gateway.yml | 2 +- .../manual-deploy-obscuro-gateway-database.yml | 2 +- .github/workflows/manual-deploy-obscuro-gateway.yml | 2 +- .../workflows/manual-deploy-ten-gateway-frontend.yml | 2 +- .github/workflows/manual-deploy-ten-scan.yml | 2 +- .github/workflows/manual-deploy-testnet-faucet.yml | 2 +- .github/workflows/manual-deploy-testnet-l1.yml | 2 +- .github/workflows/manual-deploy-testnet-l2.yml | 10 +++++----- .github/workflows/manual-deploy-testnet-validator.yml | 8 ++++---- .github/workflows/manual-recover-network-funds.yml | 2 +- .github/workflows/manual-upgrade-testnet-l2.yml | 6 +++--- go/enclave/l2chain/l2_chain.go | 2 +- 16 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-gateway-lib.yml b/.github/workflows/build-gateway-lib.yml index 5583b23641..7c936df9b6 100644 --- a/.github/workflows/build-gateway-lib.yml +++ b/.github/workflows/build-gateway-lib.yml @@ -15,7 +15,7 @@ jobs: steps: # Check out the repository - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Set up Node.js - name: Set up Node.js diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 774bbe3db6..1bc3e8ea24 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -14,9 +14,9 @@ jobs: build: runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.21.8 diff --git a/.github/workflows/deploy-gateway-lib.yml b/.github/workflows/deploy-gateway-lib.yml index f1d8b39c24..60132c9584 100644 --- a/.github/workflows/deploy-gateway-lib.yml +++ b/.github/workflows/deploy-gateway-lib.yml @@ -15,7 +15,7 @@ jobs: steps: # Check out the repository - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Set up Node.js - name: Set up Node.js diff --git a/.github/workflows/hardhat-pr-check.yml b/.github/workflows/hardhat-pr-check.yml index 758a59c883..ab6f85a364 100644 --- a/.github/workflows/hardhat-pr-check.yml +++ b/.github/workflows/hardhat-pr-check.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/.github/workflows/manual-deploy-dexynth-gateway.yml b/.github/workflows/manual-deploy-dexynth-gateway.yml index 0e75d3c8ad..4e846cd0aa 100644 --- a/.github/workflows/manual-deploy-dexynth-gateway.yml +++ b/.github/workflows/manual-deploy-dexynth-gateway.yml @@ -25,7 +25,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Extract branch name' shell: bash diff --git a/.github/workflows/manual-deploy-obscuro-gateway-database.yml b/.github/workflows/manual-deploy-obscuro-gateway-database.yml index af448b43e7..a6f5c48f96 100644 --- a/.github/workflows/manual-deploy-obscuro-gateway-database.yml +++ b/.github/workflows/manual-deploy-obscuro-gateway-database.yml @@ -27,7 +27,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Extract branch name' shell: bash diff --git a/.github/workflows/manual-deploy-obscuro-gateway.yml b/.github/workflows/manual-deploy-obscuro-gateway.yml index c49be6783f..f18131692d 100644 --- a/.github/workflows/manual-deploy-obscuro-gateway.yml +++ b/.github/workflows/manual-deploy-obscuro-gateway.yml @@ -27,7 +27,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Extract branch name' shell: bash diff --git a/.github/workflows/manual-deploy-ten-gateway-frontend.yml b/.github/workflows/manual-deploy-ten-gateway-frontend.yml index 16545153ef..8ac6e17e70 100644 --- a/.github/workflows/manual-deploy-ten-gateway-frontend.yml +++ b/.github/workflows/manual-deploy-ten-gateway-frontend.yml @@ -37,7 +37,7 @@ jobs: echo "Selected Testnet Type: ${{ matrix.testnet_type }}" echo "Gateway API URL: ${{ matrix.GATEWAY_API_URL }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Extract branch name' shell: bash diff --git a/.github/workflows/manual-deploy-ten-scan.yml b/.github/workflows/manual-deploy-ten-scan.yml index 02dd88839d..f6811fd749 100644 --- a/.github/workflows/manual-deploy-ten-scan.yml +++ b/.github/workflows/manual-deploy-ten-scan.yml @@ -27,7 +27,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Set up Docker" uses: docker/setup-buildx-action@v1 diff --git a/.github/workflows/manual-deploy-testnet-faucet.yml b/.github/workflows/manual-deploy-testnet-faucet.yml index 9550c78ef8..a6765a89b1 100644 --- a/.github/workflows/manual-deploy-testnet-faucet.yml +++ b/.github/workflows/manual-deploy-testnet-faucet.yml @@ -43,7 +43,7 @@ jobs: - run: echo "Workflow_dispatch inputs ${{ github.event.inputs.testnet_type }}" - run: echo "Workflow_call inputs ${{ inputs.testnet_type }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Set up Docker' uses: docker/setup-buildx-action@v1 diff --git a/.github/workflows/manual-deploy-testnet-l1.yml b/.github/workflows/manual-deploy-testnet-l1.yml index ea48890965..346d1afc9e 100644 --- a/.github/workflows/manual-deploy-testnet-l1.yml +++ b/.github/workflows/manual-deploy-testnet-l1.yml @@ -39,7 +39,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Set up Docker' uses: docker/setup-buildx-action@v1 diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index 5f474f2d70..6de89da32b 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -47,9 +47,9 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21.8 @@ -271,7 +271,7 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Wait until obscuro node is healthy" shell: bash @@ -288,7 +288,7 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Deploy L2 contracts' id: deployL2Contracts @@ -326,7 +326,7 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Login via Azure CLI' uses: azure/login@v1 diff --git a/.github/workflows/manual-deploy-testnet-validator.yml b/.github/workflows/manual-deploy-testnet-validator.yml index 6f2fbb6520..8da4740e47 100644 --- a/.github/workflows/manual-deploy-testnet-validator.yml +++ b/.github/workflows/manual-deploy-testnet-validator.yml @@ -73,9 +73,9 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21.8 @@ -200,7 +200,7 @@ jobs: # environment: # name: ${{ github.event.inputs.testnet_type }} # steps: -# - uses: actions/checkout@v3 +# - uses: actions/checkout@v4 # # - name: 'Login via Azure CLI' # uses: azure/login@v1 @@ -229,7 +229,7 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Wait until obscuro node is healthy" shell: bash diff --git a/.github/workflows/manual-recover-network-funds.yml b/.github/workflows/manual-recover-network-funds.yml index 832dadfc59..7642d110d9 100644 --- a/.github/workflows/manual-recover-network-funds.yml +++ b/.github/workflows/manual-recover-network-funds.yml @@ -34,7 +34,7 @@ jobs: run: | echo "GitHub Variables = ${{ toJSON(vars) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-upgrade-testnet-l2.yml b/.github/workflows/manual-upgrade-testnet-l2.yml index ecc8e05254..33395c9074 100644 --- a/.github/workflows/manual-upgrade-testnet-l2.yml +++ b/.github/workflows/manual-upgrade-testnet-l2.yml @@ -43,9 +43,9 @@ jobs: VM_BUILD_NUMBER: ${{ steps.outputVars.outputs.VM_BUILD_NUMBER }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21.8 @@ -188,7 +188,7 @@ jobs: environment: name: ${{ github.event.inputs.testnet_type }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Wait until obscuro node is healthy" shell: bash diff --git a/go/enclave/l2chain/l2_chain.go b/go/enclave/l2chain/l2_chain.go index 39989e578c..3b3cdb76a8 100644 --- a/go/enclave/l2chain/l2_chain.go +++ b/go/enclave/l2chain/l2_chain.go @@ -70,7 +70,7 @@ func (oc *obscuroChain) AccountOwner(ctx context.Context, address gethcommon.Add // check if the account is a contract and return the owner owner, err := oc.storage.ReadContractOwner(ctx, address) if err != nil { - // it is not a conract, so it's an EOA + // it is not a contract, so it's an EOA if errors.Is(err, errutil.ErrNotFound) { return &address, nil }