Skip to content

Commit c4928e6

Browse files
Add temporary config to debug deployment failures
1 parent 7bbb6f6 commit c4928e6

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/contracts.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,25 @@ jobs:
7979
- name: Install dependencies
8080
run: yarn install --frozen-lockfile
8181

82+
# TODO: restore commented config before merge to `main`
83+
84+
# - name: Get upstream packages' versions
85+
# uses: keep-network/ci/actions/upstream-builds-query@v1
86+
# id: upstream-builds-query
87+
# with:
88+
# upstream-builds: ${{ github.event.inputs.upstream_builds }}
89+
# query: |
90+
# keep-core-contracts-version = github.com/keep-network/keep-core/solidity-v1#version
91+
# tbtc-contracts-version = github.com/keep-network/tbtc/solidity#version
92+
# solidity-contracts-version = github.com/threshold-network/solidity-contracts#version
93+
94+
# - name: Resolve latest contracts
95+
# run: |
96+
# yarn upgrade \
97+
# @keep-network/keep-core@${{ steps.upstream-builds-query.outputs.keep-core-contracts-version }} \
98+
# @keep-network/tbtc@${{ steps.upstream-builds-query.outputs.tbtc-contracts-version }} \
99+
# @threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.solidity-contracts-version }}
100+
82101
- name: Get upstream packages' versions
83102
uses: keep-network/ci/actions/upstream-builds-query@v1
84103
id: upstream-builds-query
@@ -87,14 +106,13 @@ jobs:
87106
query: |
88107
keep-core-contracts-version = github.com/keep-network/keep-core/solidity-v1#version
89108
tbtc-contracts-version = github.com/keep-network/tbtc/solidity#version
90-
solidity-contracts-version = github.com/threshold-network/solidity-contracts#version
91109

92110
- name: Resolve latest contracts
93111
run: |
94112
yarn upgrade \
95113
@keep-network/keep-core@${{ steps.upstream-builds-query.outputs.keep-core-contracts-version }} \
96114
@keep-network/tbtc@${{ steps.upstream-builds-query.outputs.tbtc-contracts-version }} \
97-
@threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.solidity-contracts-version }}
115+
@threshold-network/solidity-contracts@github:threshold-network/solidity-contracts#6664c73
98116

99117
- name: Configure tenderly
100118
if: github.event.inputs.environment == 'ropsten'

0 commit comments

Comments
 (0)