-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add transfer admin role workflow and scripts for multi-chain su… #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 13 commits
c221857
2379869
07c4d7b
484c6be
266e94c
f83d5d7
2bbfac6
7328144
1707f23
d2c4479
ea6801f
fcc0607
34eb919
749a8bf
40ab8c3
9835548
6c65563
632d8ff
6853fef
2fb7dfb
122c285
5552f3e
8ad0628
dcced88
0fc947e
982a700
75528a0
8514c7e
9d1c452
42251ee
dfda2cd
2743dd4
a3c8e88
7931ece
b38d231
cef039a
e353cc0
b5229b9
a7254a8
2c3d917
4e62e76
66cf967
bb43519
5451587
59be92d
bf0f0c0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Transfer Admin Role | ||
| name: Transfer Default Admin Role | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
@@ -13,10 +13,13 @@ on: | |
| - sepolia | ||
| - arbitrum_sepolia | ||
| default: sepolia | ||
| new_default_admin_address: | ||
| description: 'New admin address' | ||
| required: true | ||
| type: string | ||
|
|
||
| jobs: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are we sure we can transmit the ownership to the same wallet (multi-sig) address other all networks ? @zguesmi
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes it's better to do each chain separately to avoid issues. For example if we use a multisig that is not available on a specific network. |
||
| transfer-admin: | ||
| needs: build-and-test | ||
| runs-on: ubuntu-latest | ||
| environment: ${{ inputs.network }} | ||
|
|
||
|
|
@@ -31,11 +34,10 @@ jobs: | |
| version: stable | ||
| cache: true | ||
|
|
||
| - name: Transfer admin role | ||
| - name: Transfer default admin role | ||
| env: | ||
| ADMIN_PRIVATE_KEY: ${{ secrets.ADMIN_PRIVATE_KEY }} | ||
| CHAIN: ${{ inputs.network }} | ||
| RPC_URL: ${{ secrets.RPC_URL }} | ||
| NEW_ADMIN: ${{ vars.NEW_ADMIN_ADDRESS }} | ||
| run: | | ||
| make transfer-admin-single-chain | ||
| NEW_DEFAULT_ADMIN: ${{ inputs.new_default_admin_address }} | ||
| run: make begin-default-admin-transfer | ||
gfournierPro marked this conversation as resolved.
Show resolved
Hide resolved
gfournierPro marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it could be nice to move run() function as the first function of each contracts
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use mainnets & testnets here