File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5050
5151 - name : Deploy contracts
5252 env :
53+ # Note: it is required to define both private key env variables when calling Hardhat.
5354 DEPLOYER_PRIVATE_KEY : ${{ secrets.DEPLOYER_PRIVATE_KEY }}
55+ ADMIN_PRIVATE_KEY : ${{ secrets.ADMIN_PRIVATE_KEY }}
5456 RPC_URL : ${{ secrets.RPC_URL }}
5557 ARBISCAN_API_KEY : ${{ secrets.ARBISCAN_API_KEY }}
5658 # TODO: Use Etherscan V2 API
6163 - name : Update config.json with Diamond address
6264 if : inputs.network != 'hardhat'
6365 env :
64- DEPLOYER_PRIVATE_KEY : ${{ secrets.DEPLOYER_PRIVATE_KEY }} # Fixes hardhat issue.
66+ # Note: it is required to define both private key env variables when calling Hardhat.
67+ DEPLOYER_PRIVATE_KEY : ${{ secrets.DEPLOYER_PRIVATE_KEY }}
68+ ADMIN_PRIVATE_KEY : ${{ secrets.ADMIN_PRIVATE_KEY }}
6569 run : npx hardhat run scripts/tools/update-config.ts --network ${{ inputs.network }}
6670
6771 - name : Save deployment artifacts and updated config
Original file line number Diff line number Diff line change 4848
4949 - name : Set callback gas on ${{ inputs.network }}
5050 env :
51+ # Note: it is required to define both private key env variables when calling Hardhat.
52+ DEPLOYER_PRIVATE_KEY : ${{ secrets.DEPLOYER_PRIVATE_KEY }}
5153 ADMIN_PRIVATE_KEY : ${{ secrets.ADMIN_PRIVATE_KEY }}
5254 RPC_URL : ${{ secrets.RPC_URL }}
5355 CALLBACK_GAS : ${{ inputs.callback_gas-value }}
You can’t perform that action at this time.
0 commit comments