-
Notifications
You must be signed in to change notification settings - Fork 77
37 lines (35 loc) · 1.07 KB
/
manual-verify-upgrade.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Manual Verify Upgrade
on:
workflow_dispatch:
inputs:
network:
description: 'Enter the network you want to verify the upgrade on'
required: true
default: 'mainnet'
type: string
rpc:
description: 'Enter network rpc'
required: true
default: 'https://eth.llamarpc.com'
type: string
jobs:
verify-upgrade:
runs-on: ubuntu-latest
env:
RPC_URL: ${{ github.event.inputs.rpc }}
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 20.16.0
pnpm-version: 9.0.6
- name: Verify deployment bytecode
run: |
npx hardhat compile && npx hardhat verify-deployment --network ${{ github.event.inputs.network }}
working-directory: ./packages/solidity-contracts
- name: Upload bytecode as artifact
uses: actions/upload-artifact@v4
with:
name: deployment-bytecode
path: ./packages/solidity-contracts/verification.json
retention-days: 90