Skip to content

Commit

Permalink
Merge pull request #164 from BitGo/COIN-716-add-a-script-and-github-a…
Browse files Browse the repository at this point in the history
…ction-workflow-to-deploy-batcher-smart-contracts-in-eth-multisig-v-4-repo

chore(eth-multisig-v4): add deploy batcher smart contract in workflow
  • Loading branch information
MohammedRyaan786 authored Aug 19, 2024
2 parents 47c6bcb + e36ae36 commit ea9dd1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
cache: 'npm'
- run: npm install
- run: npm run deploy-test --network ${{ needs.get-network.outputs.network }}
- run: npm run deploy-batcher-test --network ${{ needs.get-network.outputs.network }}
env:
MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
Expand Down Expand Up @@ -129,6 +130,7 @@ jobs:
cache: 'npm'
- run: npm install
- run: npm run deploy-prod --network ${{ needs.get-network.outputs.network }}
- run: npm run deploy-batcher-prod --network ${{ needs.get-network.outputs.network }}
env:
MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"scripts": {
"deploy-prod": "hardhat run scripts/deploy.ts --network",
"deploy-test": "hardhat run scripts/deploy.ts --network",
"deploy-batcher-test" : "hardhat run scripts/deployBatcherContract.js --network",
"deploy-batcher-prod" : "hardhat run scripts/deployBatcherContract.js --network",
"test": "hardhat test",
"coverage": "hardhat coverage",
"solhint": "./node_modules/.bin/solhint --fix 'contracts/**/*.sol'",
Expand Down

0 comments on commit ea9dd1b

Please sign in to comment.