Skip to content

Commit 7a23b49

Browse files
committed
docs: update propose pause process
1 parent d2ad5f9 commit 7a23b49

File tree

6 files changed

+24
-72
lines changed

6 files changed

+24
-72
lines changed

docs/0_internal/4_b_1_propose_pause.md

Lines changed: 24 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -10,76 +10,46 @@ If you want to pause the contracts, you can propose the pause transaction using
1010

1111
To propose the pause transaction you can follow the steps below:
1212

13-
1. Create the pause transaction on [Safe](https://app.safe.global/home)
13+
1. Go to [Safe](https://app.safe.global/home)
1414

1515
2. Click on `New transaction` -> `Transaction Builder`
1616

1717
![New transaction](./images/4_b_1_pause_1.png)
1818

1919
![Transaction Builder](./images/4_b_1_pause_2.png)
2020

21-
3. . Enable `Custom data`
22-
23-
4. . Get the `AlignedLayerServiceManager` address:
24-
25-
```bash
26-
# SEPOLIA
27-
jq -r ".addresses.alignedLayerServiceManager" contracts/script/output/sepolia/alignedlayer_deployment_output.json | pbcopy
28-
```
29-
30-
```bash
31-
# HOLESKY
32-
jq -r ".addresses.alignedLayerServiceManager" contracts/script/output/holesky/alignedlayer_deployment_output.json | pbcopy
33-
```
21+
3. . Get the `AlignedLayerServiceManager` address from ```contracts/script/output/mainnet/alignedlayer_deployment_output.json``` or ```contracts/script/output/holesky/alignedlayer_deployment_output.json``` or ```contracts/script/output/sepolia/alignedlayer_deployment_output.json```
3422

35-
```bash
36-
# MAINNET
37-
jq -r ".addresses.alignedLayerServiceManager" contracts/script/output/mainnet/alignedlayer_deployment_output.json | pbcopy
38-
```
39-
40-
> [!NOTE]
41-
> Make sure to set the path to the correct deployment output file.
42-
43-
5. Paste the `AlignedLayerServiceManager` address on `Enter Address or ENS Name`
23+
4. Paste the `AlignedLayerServiceManager` address on `Enter Address or ENS Name`
4424

4525
![Enter Address](./images/4_b_1_pause_3.png)
4626

47-
6. Set the `ETH Value` to 0.
48-
49-
7. . Generate the function calldata
27+
5. As this is a Proxy contract, choose `Use Implementation ABI`
5028

51-
```bash
52-
cast calldata "pauseAll()"
53-
```
29+
![Use Implementation ABI](./images/4_b_1_pause_4.png)
5430

55-
This will show the `pauseAll()` calldata: `0x595c6a67`.
31+
6. In `contract method selector` choose `pauseAll()`
5632

57-
8. Paste the `calldata` on `Enter Data`
33+
![Choose pause](./images/4_b_1_pause_5.png)
5834

59-
![Enter Data](./images/4_b_1_pause_4.png)
60-
61-
9. Click on `+ Add new transaction`
35+
7. Click on `+ Add new transaction`
6236

6337
You should see the new transaction to be executed
6438

65-
10. Click on `Create batch` to create the transaction.
66-
67-
11. Simulate the transaction by clicking on `Simulate`
39+
8. Click on `Create batch` to create the transaction.
6840

69-
12. Check the data matches with the generated data on step 7.
41+
9. Simulate the transaction by clicking on `Simulate`
7042

71-
![Validate data](./images/4_b_1_pause_5.png)
43+
10. If everything is correct, click on `Send batch` to send the transaction.
7244

73-
13. If everything is correct, click on `Send batch` to send the transaction.
74-
75-
14. Simulate the transaction, and if everything is correct, click on `Sign`.
45+
11. Simulate the transaction, and if everything is correct, click on `Sign`.
7646

7747
![Send batch](./images/4_b_1_pause_6.png)
7848

7949
> [!NOTE]
8050
> In the `call` field, you will see `fallback`.
8151
82-
15. Wait for the transaction to be executed. You can check the transaction status on the `Transactions` tab.
52+
12. Wait for the transaction to be executed. You can check the transaction status on the `Transactions` tab.
8353

8454

8555
## Propose transaction for Pause BatcherPaymentService
@@ -94,54 +64,36 @@ To propose the pause transaction you can follow the steps below:
9464

9565
![Transaction Builder](./images/4_b_1_pause_2.png)
9666

97-
3. . Get the `BatcherPaymentService` address:
98-
99-
```bash
100-
# SEPOLIA
101-
jq -r ".addresses.batcherPaymentService" contracts/script/output/sepolia/alignedlayer_deployment_output.json | pbcopy
102-
```
103-
104-
```bash
105-
# HOLESKY
106-
jq -r ".addresses.batcherPaymentService" contracts/script/output/holesky/alignedlayer_deployment_output.json | pbcopy
107-
```
108-
109-
```bash
110-
# MAINNET
111-
jq -r ".addresses.batcherPaymentService" contracts/script/output/mainnet/alignedlayer_deployment_output.json | pbcopy
112-
```
113-
114-
> [!NOTE]
115-
> Make sure to set the path to the correct deployment output file.
67+
3. . Get the `BatcherPaymentService` address from ```contracts/script/output/mainnet/alignedlayer_deployment_output.json``` or ```contracts/script/output/holesky/alignedlayer_deployment_output.json``` or ```contracts/script/output/sepolia/alignedlayer_deployment_output.json```
11668

117-
5. Paste the `BatcherPaymentService` address on `Enter Address or ENS Name`
69+
4. Paste the `BatcherPaymentService` address on `Enter Address or ENS Name`
11870

11971
![Enter Address](./images/4_b_1_pause_3.png)
12072

121-
6. As this is a Proxy contract, choose `Use Implementation ABI`
73+
5. As this is a Proxy contract, choose `Use Implementation ABI`
12274

123-
![Use Implementation ABI](./images/4_b_1_pause_7.png)
75+
![Use Implementation ABI](./images/4_b_1_pause_4.png)
12476

125-
7. In `contract method selector` choose `pause()`
77+
6. In `contract method selector` choose `pause()`
12678

12779
![Choose pause](./images/4_b_1_pause_8.png)
12880

129-
8. Then click on `+ Add new transaction`
81+
7. Then click on `+ Add new transaction`
13082

13183
You should see the new transaction to be executed. Then click on `Create batch` to create the transaction.
13284

13385
![Add new transaction](./images/4_b_1_pause_9.png)
13486

135-
9. Review and confirm you are interacting with the correct `BatcherPaymentService` contract and you are calling the `pause` function.
87+
8. Review and confirm you are interacting with the correct `BatcherPaymentService` contract and you are calling the `pause` function.
13688

13789
![Review transaction](./images/4_b_1_pause_10.png)
13890

139-
10. Simulate the transaction by clicking on `Simulate`
91+
9. Simulate the transaction by clicking on `Simulate`
14092

141-
11. If everything is correct, click on `Send batch` to send the transaction.
93+
10. If everything is correct, click on `Send batch` to send the transaction.
14294

143-
12. Review the transaction and click on `Sign` to sign the transaction.
95+
11. Review the transaction and click on `Sign` to sign the transaction.
14496

14597
![Send batch](./images/4_b_1_pause_11.png)
14698

147-
13. If the transaction is correctly created, you have to wait until the required Multisig member signs the transaction to send it.
99+
12. If the transaction is correctly created, you have to wait until the required Multisig member signs the transaction to send it.
2.07 KB
Loading
-175 KB
Loading
72.7 KB
Loading
41.1 KB
Loading
-32.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)