-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CI Proxy upgrade verification flow (#287)
- closes #205 --------- Co-authored-by: DefiCake <[email protected]>
- Loading branch information
Showing
20 changed files
with
3,238 additions
and
3,838 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@fuel-bridge/solidity-contracts': minor | ||
--- | ||
|
||
ci proxy upgrade verification flow |
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,38 @@ | ||
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: verification.json | ||
retention-days: 90 | ||
working-directory: ./packages/solidity-contracts |
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
Oops, something went wrong.