diff --git a/.github/workflows/deploy_and_release.yml b/.github/workflows/deploy_and_release.yml index 0448f4a..a27cc64 100644 --- a/.github/workflows/deploy_and_release.yml +++ b/.github/workflows/deploy_and_release.yml @@ -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 }} @@ -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 }} diff --git a/package.json b/package.json index 53fac50..69c2622 100644 --- a/package.json +++ b/package.json @@ -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'",