Skip to content

Commit a884b48

Browse files
committed
docs: update approve pause process
1 parent 7a23b49 commit a884b48

File tree

3 files changed

+19
-36
lines changed

3 files changed

+19
-36
lines changed

docs/0_internal/4_b_1_propose_pause.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To propose the pause transaction you can follow the steps below:
6464

6565
![Transaction Builder](./images/4_b_1_pause_2.png)
6666

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```
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```
6868

6969
4. Paste the `BatcherPaymentService` address on `Enter Address or ENS Name`
7070

docs/0_internal/4_b_2_approve_pause.md

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,35 @@
22

33
Once the transaction is proposed, the multisig owners must approve the transaction.
44

5-
## Prerequisites
6-
7-
- One of the multisig owners must have proposed the pause transaction.
8-
95
## Approve the Pause for AlignedLayerServiceManager
106

11-
To approve the pause transaction, you can follow the steps below:
12-
137
1. Go to [Safe](https://app.safe.global/home) and connect your wallet.
148

159
2. Go to the `Transactions` tab and find the transaction that was proposed.
1610

17-
3. Click on the transaction and validate the data is correct.
11+
3. Get the ```pauseAll()``` signature by running:
12+
13+
```bash
14+
cast calldata "pauseAll()"
15+
```
16+
17+
It must show you ```0x595c6a67```.
18+
19+
4. Click on the transaction, and then click on ```Advanced Details```.
1820

19-
The called function must be `pauseAll()`.
21+
![Check details](images/4_b_2_approve_1.png)
2022

21-
Also check contract addresses are the ones you received from the deployment.
23+
5. Copy the ```Raw Data```, paste it in a text editor and verify it is the same value as the one you got in step 3.
2224

23-
![Check details](images/4_b_2_approve_1.png)
25+
6. If the data is correct, click on the `Confirm` button.
2426

25-
[//]: # (TODO finish it has a bug)
27+
7. Simulate the transaction. If everything is correct, click on the `Sign` button.
2628

27-
## Approve the Pause for BatcherPaymentService
29+
![Sign transaction](images/4_b_2_approve_3.png)
2830

29-
To approve the pause transaction, you can follow the steps below:
31+
8. Once the transaction is executed, the pause will be effective.
32+
33+
## Approve the Pause for BatcherPaymentService
3034

3135
1. Go to [Safe](https://app.safe.global/home) and connect your wallet.
3236

@@ -38,25 +42,7 @@ To approve the pause transaction, you can follow the steps below:
3842

3943
![Check details](images/4_b_2_approve_2.png)
4044

41-
You can get the `BatcherPaymentService` address:
42-
43-
```bash
44-
# SEPOLIA
45-
jq -r ".addresses.batcherPaymentService" contracts/script/output/sepolia/alignedlayer_deployment_output.json | pbcopy
46-
```
47-
48-
```bash
49-
# HOLESKY
50-
jq -r ".addresses.batcherPaymentService" contracts/script/output/holesky/alignedlayer_deployment_output.json | pbcopy
51-
```
52-
53-
```bash
54-
# MAINNET
55-
jq -r ".addresses.batcherPaymentService" contracts/script/output/mainnet/alignedlayer_deployment_output.json | pbcopy
56-
```
57-
58-
> [!NOTE]
59-
> Make sure to set the path to the correct deployment output file.
45+
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```
6046

6147
4. If the data is correct, click on the `Confirm` button.
6248

@@ -65,7 +51,4 @@ To approve the pause transaction, you can follow the steps below:
6551
![Sign transaction](images/4_b_2_approve_3.png)
6652

6753
6. Once the transaction is executed, the pause will be effective.
68-
69-
You can check the pause status on Etherscan by checking the `paused` variable of the contract.
70-
7154

109 KB
Loading

0 commit comments

Comments
 (0)