Skip to content

Commit 3d94285

Browse files
committed
address Gaston's comments
1 parent ce34fd0 commit 3d94285

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/0_internal/setting_aggregator_address.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
This doc contains a guide on how to call `setAggregator(address)` to set the `alignedAggregator` value of the AlignedServiceManager.sol contract.
33

44
### NOTE:
5-
- This guide assumes the Aligned layer contracts have been sucessfully deployed and the deployment outputs are within `./contracts/script/output/<DEPLOYMENT_FOLDER>
5+
- This guide assumes the Aligned layer contracts have been sucessfully deployed and the deployment outputs are within `./contracts/script/output/<DEPLOYMENT_FOLDER>`
66

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

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

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

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

29-
## 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`:
3232
```
@@ -35,23 +35,23 @@ export PRIVATE_KEY=<aligned_service_manager_pauser_private_key>
3535
export ALIGNED_SERVICE_MANAGER_ADDRESS=<aligned_service_manager_address>
3636
```
3737

38-
## 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

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

46-
## 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-
## Verify the Aligend 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
```

0 commit comments

Comments
 (0)