Skip to content

Commit

Permalink
Use forked sorition pools in testnet deployment
Browse files Browse the repository at this point in the history
We want to modify sortiion pools used in test environment to make
joining applications easier for operators. With the changes from forked
sortition pools we will not require sortition pool to be unlocked when
operator wants to join. Even in case the DKG process is in progress we
will let operators to join.

This is just a temporary change that should be reverted in the near
future.

Refs keep-network/sortition-pools#186
  • Loading branch information
nkuba committed Aug 22, 2022
1 parent 554dfe4 commit fd3f26b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/contracts-ecdsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,19 @@ jobs:
@keep-network/random-beacon@${{ steps.upstream-builds-query.outputs.random-beacon-version }} \
@keep-network/sortition-pools
# TODO: Remove this step. We replace sortition pools for deployment on testnet
# with forked contracts that were tweaked to make operators joining the pool
# easier. This should never be used outside of the test environment. On
# test environment it should be used temporarily only.
- name: Use Sortition Pool forked contracts
run: |
yarn upgrade github:keep-network/sortition-pools#test-fork
- name: Configure tenderly
env:
TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }}
run: ./config_tenderly.sh

- name: Deploy contracts
env:
CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/contracts-random-beacon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,19 @@ jobs:
@threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.threshold-contracts-version }} \
@keep-network/sortition-pools
# TODO: Remove this step. We replace sortition pools for deployment on testnet
# with forked contracts that were tweaked to make operators joining the pool
# easier. This should never be used outside of the test environment. On
# test environment it should be used temporarily only.
- name: Use Sortition Pool forked contracts
run: |
yarn upgrade github:keep-network/sortition-pools#test-fork
- name: Configure tenderly
env:
TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }}
run: ./config_tenderly.sh

- name: Deploy contracts
env:
CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}
Expand Down

0 comments on commit fd3f26b

Please sign in to comment.