Skip to content

Commit 0fa8eb4

Browse files
committed
docs: multisig propose upgrade [WIP]
1 parent 4fdd075 commit 0fa8eb4

File tree

8 files changed

+61
-3
lines changed

8 files changed

+61
-3
lines changed

contracts/script/output/sepolia/alignedlayer_deployment_output.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"addresses": {
33
"alignedLayerProxyAdmin": "0x6b0E241bFf4A1596E0E826E55Cc285D7E2E7A45D",
44
"alignedLayerServiceManager": "0xc3F9c9f9CABdCe9679F5Aa184b02369f1c2A4E16",
5-
"alignedLayerServiceManagerImplementation": "0xc0A467b8Bdb6963fE922c07939c47FA7Ae7b97cC",
5+
"alignedLayerServiceManagerImplementation": "0xEB59ae25809b5B20db43371f0ca7f135b862647E",
66
"blsApkRegistry": "0xBDdBd0869b10079c5B00B8Da9B6e22A2C4a99040",
77
"blsApkRegistryImplementation": "0xAf33669eb4c062c1cdc756d96a43a1e734d9BC35",
88
"indexRegistry": "0x77042702606eC5A3c9d49a550dEE400681691c08",
@@ -27,4 +27,4 @@
2727
"alignedLayerPauser": "0x1Fa835Be4f67eA84617F16917FaF54A4e336F9b0",
2828
"alignedLayerUpgrader": "0x1Fa835Be4f67eA84617F16917FaF54A4e336F9b0"
2929
}
30-
}
30+
}

docs/0_internal/3_b_2_propose_upgrade.md

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,62 @@ To propose the upgrade transaction you can follow the steps below:
6666
>
6767
> Make sure the `batcherPaymentServiceImplementation` address is the same as the one you deployed in this guide.
6868

69-
3.
69+
3. Verify the contract bytecode running the following command:
70+
71+
```
72+
TODO
73+
```
74+
75+
4. Once the calldata and the proposed upgrade are validated, you can create the upgrade transaction on [Safe](https://app.safe.global/home)
76+
77+
5. Click on `New transaction` -> `Transaction Builder`
78+
79+
![New transaction](./images/3_b_2_multisig_1.png)
80+
81+
![Transaction Builder](./images/3_b_2_multisig_2.png)
82+
83+
6. Enable `Custom data`
84+
85+
7. Get the `ProxyAdmin` address, and paste it on `Enter Address or ENS Name`
86+
87+
To get the `ProxyAdmin` address the following command will copy the address to the clipboard:
88+
89+
```bash
90+
# SEPOLIA
91+
jq -r ".addresses.alignedLayerProxyAdmin" contracts/script/output/sepolia/alignedlayer_deployment_output.json | pbcopy
92+
```
93+
94+
```bash
95+
# HOLESKY
96+
jq -r ".addresses.alignedLayerProxyAdmin" contracts/script/output/holesky/alignedlayer_deployment_output.json | pbcopy
97+
```
98+
99+
```bash
100+
# MAINNET
101+
jq -r ".addresses.alignedLayerProxyAdmin" contracts/script/output/mainnet/alignedlayer_deployment_output.json | pbcopy
102+
```
103+
104+
> [!NOTE]
105+
>
106+
> Make sure to set the path to the correct deployment output file.
107+
108+
8. If the ABI is not automatically filled, get the ABI and paste it on the corresponding box:
109+
110+
```bash
111+
jq ".abi" contracts/out/ProxyAdmin.sol/ProxyAdmin.json | pbcopy
112+
```
113+
114+
![Enter Address or ENS Name](./images/3_b_2_multisig_3.png)
115+
116+
![Enter ABI](./images/3_b_2_multisig_4.png)
117+
118+
9. Set the `ETH Value` as 0
119+
120+
![ETH Value](./images/3_b_2_multisig_5.png)
121+
122+
10. Paste the calldata obtained from the deployment of the new implementation on the `Data` box and click on `+ Add new transaction`.
123+
124+
![Data](./images/3_b_2_multisig_6.png)
125+
126+
127+
1.8 MB
Loading
1.72 MB
Loading
1.47 MB
Loading
1.64 MB
Loading
1.45 MB
Loading
1000 KB
Loading

0 commit comments

Comments
 (0)