Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use forked sorition pools in testnet deployment #3190

Merged
merged 1 commit into from
Aug 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use forked sorition pools in testnet deployment
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
nkuba committed Aug 22, 2022
commit fd3f26b3639ec044ae2e439bb60511b9ce03ca17
10 changes: 9 additions & 1 deletion .github/workflows/contracts-ecdsa.yml
Original file line number Diff line number Diff line change
@@ -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 }}
10 changes: 9 additions & 1 deletion .github/workflows/contracts-random-beacon.yml
Original file line number Diff line number Diff line change
@@ -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 }}