Skip to content

Commit ac71447

Browse files
authored
Merge pull request #3190 from keep-network/use-forked-sortition-pools
Use forked sorition pools in testnet deployment We want to modify sortition pools used in the test environment to make joining applications easier for operators. With the changes from the forked sortition pools we will not require the sortition pool to be unlocked when an operator wants to join. Even in case, the DKG process is in progress we will let operators join. This is just a temporary change that should be reverted in the near future.
2 parents 53e8c2e + fd3f26b commit ac71447

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/contracts-ecdsa.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,19 @@ jobs:
204204
@keep-network/random-beacon@${{ steps.upstream-builds-query.outputs.random-beacon-version }} \
205205
@keep-network/sortition-pools
206206
207+
# TODO: Remove this step. We replace sortition pools for deployment on testnet
208+
# with forked contracts that were tweaked to make operators joining the pool
209+
# easier. This should never be used outside of the test environment. On
210+
# test environment it should be used temporarily only.
211+
- name: Use Sortition Pool forked contracts
212+
run: |
213+
yarn upgrade github:keep-network/sortition-pools#test-fork
214+
207215
- name: Configure tenderly
208216
env:
209217
TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }}
210218
run: ./config_tenderly.sh
211-
219+
212220
- name: Deploy contracts
213221
env:
214222
CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}

.github/workflows/contracts-random-beacon.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,19 @@ jobs:
200200
@threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.threshold-contracts-version }} \
201201
@keep-network/sortition-pools
202202
203+
# TODO: Remove this step. We replace sortition pools for deployment on testnet
204+
# with forked contracts that were tweaked to make operators joining the pool
205+
# easier. This should never be used outside of the test environment. On
206+
# test environment it should be used temporarily only.
207+
- name: Use Sortition Pool forked contracts
208+
run: |
209+
yarn upgrade github:keep-network/sortition-pools#test-fork
210+
203211
- name: Configure tenderly
204212
env:
205213
TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }}
206214
run: ./config_tenderly.sh
207-
215+
208216
- name: Deploy contracts
209217
env:
210218
CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}

0 commit comments

Comments
 (0)