Skip to content

Commit f3a7624

Browse files
committed
docs: improve deploy_new_impl calldata verification
1 parent 12e50db commit f3a7624

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/0_internal/3_b_1_deploy_new_impl.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,20 @@ You can deploy the new implementation of the following contracts:
5656

5757
This will show the `upgrade` signature hash: `0x99a88ec4`.
5858

59-
3. Validate the `calldata` by running:
59+
Verify the first 8 digits of the `calldata` are the same as the signature hash obtained in this step.
60+
61+
3. Validate the contracts addresses of the `calldata` by running:
6062

6163
```sh
6264
cast calldata-decode "upgrade(address, address)" <calldata>
6365
```
6466

6567
This will show two addresses. The first one is the `alignedLayerServiceManager` address, and the second one is the new implementation address of `alignedServiceManagerImplementation`.
6668

67-
> [!NOTE]
68-
> Make sure the `alignedLayerServiceManager` address is the same as the one you deployed in the [Deploy Contracts Guide](./2_deploy_contracts.md).
69-
>
70-
> Make sure the `alignedServiceManagerImplementation` address is the same as the one you deployed in this guide.
69+
Make sure the `alignedLayerServiceManager` address is the same as the one you deployed in the [Deploy Contracts Guide](./2_deploy_contracts.md).
70+
71+
Make sure the `alignedServiceManagerImplementation` address is the same as the one you deployed in this guide.
72+
7173

7274
## Deploy New Implementation for BatcherPaymentService
7375

@@ -105,16 +107,17 @@ You can deploy the new implementation of the following contracts:
105107

106108
This will show the `upgradeTo` signature hash: `0x3659cfe6`.
107109

110+
Verify the first 8 digits of the `calldata` are the same as the signature hash obtained in this step.
111+
108112
3. Validate the `calldata` by running:
109113

110114
```shell
111115
cast calldata-decode "upgradeTo(address)" <calldata>
112116
```
113117

114118
This will show the `batcherPaymentServiceImplementation` address.
115-
116-
> [!NOTE]
117-
> Make sure the `batcherPaymentServiceImplementation` address is the same as the one you deployed in this guide.
119+
120+
Make sure the `batcherPaymentServiceImplementation` address is the same as the one you deployed in this guide.
118121

119122

120123
## Next Steps

0 commit comments

Comments
 (0)