Skip to content

Commit d123f71

Browse files
committed
fix headers
1 parent 83a65cd commit d123f71

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

docs/0_internal/7_a_setting_aggregator_address.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This doc contains a guide on how to call `setAggregator(address)` to set the `al
44
### NOTE:
55
- This guide assumes the Aligned layer contracts have been sucessfully deployed and the deployment outputs are within `./contracts/script/output/<DEPLOYMENT_FOLDER>`
66

7-
## 1. Locate the deployed Aligned Aggregator Address
7+
### 1. Locate the deployed Aligned Aggregator Address
88

99
The address of Aligned Aggregator can be found in `./contracts/script/output/<DEPLOYMENT_FOLDER>/aligned_deployment_output.json` within:
1010
```
@@ -15,7 +15,7 @@ The address of Aligned Aggregator can be found in `./contracts/script/output/<DE
1515
}
1616
```
1717

18-
## 2. Locate the Aligned Service Manager Address
18+
### 2. Locate the Aligned Service Manager Address
1919

2020
The address of Aligned Service Manager can be found in `./contracts/script/output/<DEPLOYMENT_FOLDER>/aligned_deployment_output.json` within:
2121
```
@@ -26,7 +26,7 @@ The address of Aligned Service Manager can be found in `./contracts/script/outpu
2626
}
2727
```
2828

29-
## 3. Set Environment Variables
29+
### 3. Set Environment Variables
3030

3131
To run the make targets specified in this guide, you must first set the following env vars within `./contracts/scripts/.env.<NETWORK>`:
3232
```
@@ -35,23 +35,23 @@ PRIVATE_KEY=<aligned_service_manager_owner_private_key>
3535
ALIGNED_SERVICE_MANAGER_ADDRESS=<aligned_service_manager_address>
3636
```
3737

38-
## 4. Check the current value of `alignedAggregator` within AlignedServiceManager.sol
38+
### 4. Check the current value of `alignedAggregator` within AlignedServiceManager.sol
3939

4040
```
4141
cast call --rpc-url <RPC_URL> $ALIGNED_SERVICE_MANAGER_ADDRESS "alignedAggregator()(address)"
4242
```
4343

4444
You should see that the returned address matches the address from `./contracts/script/output/<DEPLOYMENT_FOLDER>/aligned_deployment_output.json`
4545

46-
## 5. Change the value of `alignedAggregator` within AlignedServiceManager.sol
46+
### 5. Change the value of `alignedAggregator` within AlignedServiceManager.sol
4747

4848
Set the environment variable `AGGREGATOR_ADDRESS` to the new address of the aggregator.
4949
```
5050
export AGGREGATOR_ADDRESS=<aggregator_address>
5151
make set_aggregator_address
5252
```
5353

54-
## 6. Verify the Aligned Aggreagtor Address has changed
54+
### 6. Verify the Aligned Aggreagtor Address has changed
5555
```
5656
cast call --rpc-url <RPC_URL> $ALIGNED_SERVICE_MANAGER_ADDRESS "alignedAggregator()(address)"
5757
```

docs/0_internal/7_b_1_propose_setting_aggregator_address_multisig.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,51 +10,51 @@ If you want to set the Aggregator Address, you can propose the set Aggregator Ad
1010

1111
To propose the set aggregator address transaction you can follow the steps below:
1212

13-
### 1. Go to [Safe](https://app.safe.global/home)
13+
#### 1. Go to [Safe](https://app.safe.global/home)
1414

15-
### 2. Click on `New transaction` -> `Transaction Builder`
15+
#### 2. Click on `New transaction` -> `Transaction Builder`
1616

1717
![New transaction](./images/7_b_1_set_aggregator_address_1.png)
1818

1919
![Transaction Builder](./images/7_b_1_set_aggregator_address_2.png)
2020

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

23-
### 4. Paste the `AlignedLayerServiceManager` address on `Enter Address or ENS Name`
23+
#### 4. Paste the `AlignedLayerServiceManager` address on `Enter Address or ENS Name`
2424

2525
![Enter Address](./images/7_b_1_set_aggregator_address_3.png)
2626

27-
### 5. As this is a Proxy contract, choose `Use Implementation ABI`
27+
#### 5. As this is a Proxy contract, choose `Use Implementation ABI`
2828

2929
![Use Implementation ABI](./images/7_b_1_set_aggregator_address_4.png)
3030

31-
### 6. In `contract method selector` choose `setAggregator()` and within `_alignedAggregator(address)` enter the ethereum new address of the aggregator.
31+
#### 6. In `contract method selector` choose `setAggregator()` and within `_alignedAggregator(address)` enter the ethereum new address of the aggregator.
3232

3333
![Choose set_aggregator](./images/7_b_1_set_aggregator_address_5.png)
3434

35-
### 7. Click on `+ Add new transaction`
35+
#### 7. Click on `+ Add new transaction`
3636

3737
You should see the new transaction to be executed
3838

39-
### 8. Click on `Create batch` to create the transaction.
39+
#### 8. Click on `Create batch` to create the transaction.
4040

4141
![create batch](./images/7_b_1_set_aggregator_address_6.png)
4242

43-
### 9. Simulate the transaction by clicking on `Simulate`
43+
#### 9. Simulate the transaction by clicking on `Simulate`
4444

45-
### 10. If everything is correct, click on `Send batch` to send the transaction.
45+
#### 10. If everything is correct, click on `Send batch` to send the transaction.
4646

4747
![Send batch](./images/7_b_1_set_aggregator_address_7.png)
4848

49-
### 11. Simulate the transaction, and if everything is correct, click on `Sign`.
49+
#### 11. Simulate the transaction, and if everything is correct, click on `Sign`.
5050

5151
![Send batch](./images/7_b_1_set_aggregator_address_8.png)
5252

5353
> [!NOTE]
5454
> In the `call` field, you will see `fallback`.
55-
### 12. Wait for the transaction to be executed. You can check the transaction status on the `Transactions` tab.
55+
#### 12. Wait for the transaction to be executed. You can check the transaction status on the `Transactions` tab.
5656

57-
### 13. Verify the Aligned Aggreagtor Address has changed
57+
#### 13. Verify the Aligned Aggreagtor Address has changed
5858
```
5959
cast call --rpc-url <RPC_URL> $ALIGNED_SERVICE_MANAGER_ADDRESS "alignedAggregator()(address)"
6060
```

docs/0_internal/7_b_2_approve_setting_aggregator_address_multisig.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ Once the transaction is proposed, the multisig owners must approve the transacti
44

55
## Approve the new Address for the Aggregator
66

7-
### 1. Go to [Safe](https://app.safe.global/home) and connect your wallet.
7+
#### 1. Go to [Safe](https://app.safe.global/home) and connect your wallet.
88

9-
### 2. Go to the `Transactions` tab and find the transaction that was proposed.
9+
#### 2. Go to the `Transactions` tab and find the transaction that was proposed.
1010

11-
### 3. Get the expected raw data by running by running:
11+
#### 3. Get the expected raw data by running by running:
1212

1313
```bash
1414
cast calldata "setAggregator(address)()" <NEW_AGGREGATOR_ADDRESS>
1515
```
1616

17-
### 4. Click on the transaction, and then click on ```Advanced Details```.
17+
#### 4. Click on the transaction, and then click on ```Advanced Details```.
1818

1919
![Check details](images/7_b_2_set_aggregator_address_1.png)
2020

21-
### 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.
21+
#### 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.
2222

23-
### 6. If the data is correct, click on the `Confirm` button.
23+
#### 6. If the data is correct, click on the `Confirm` button.
2424

25-
### 7. Simulate the transaction. If everything is correct, click on the `Sign` button (or `Execute`, if you are the last one signing the transaction).
25+
#### 7. Simulate the transaction. If everything is correct, click on the `Sign` button (or `Execute`, if you are the last one signing the transaction).
2626

2727
![Sign transaction](images/7_b_2_set_aggregator_address_2.png)
2828

29-
### 8. Once the transaction is executed, the change will be effective.
29+
#### 8. Once the transaction is executed, the change will be effective.

0 commit comments

Comments
 (0)