generated from proofoftom/buidler-waffle-typechain-quasar
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix finalize action and add recipient registry task
- Loading branch information
Showing
3 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Mantle testnet - Create new round | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch_name: | ||
description: 'Clrfund branch name' | ||
required: true | ||
default: 'cohort/EthSingapore' | ||
factory: | ||
description: 'Clrfund factory address' | ||
required: true | ||
default: '0x006f39E6a6D15323334Be1db34C73088550BB20a' | ||
network: | ||
description: 'Network' | ||
required: true | ||
default: 'mantle-testnet' | ||
|
||
env: | ||
NODE_VERSION: 16.x | ||
WALLET_PRIVATE_KEY: ${{ secrets.MANTLE_TESTNET_COORDINATOR_WALLET_PRIVATE_KEY }} | ||
|
||
jobs: | ||
create-new-round: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Build CLR | ||
run: | | ||
yarn && yarn build | ||
- name: Run create new round script | ||
run: | | ||
cd contracts | ||
export FACTORY_ADDRESS="${{ github.event.inputs.factory }}" | ||
yarn hardhat deploy-recipient-registry \ | ||
--network "${{ github.event.inputs.network }}" \ | ||
--factory "${{ github.event.inputs.factory }}" \ | ||
--type "optimistic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters