Skip to content

Commit 45a9539

Browse files
Add code block formatting
1 parent a528cf1 commit 45a9539

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Ensure both files are correctly formatted, using the exact field names shown in
4747

4848
`deployments.json`:
4949

50-
```
50+
```json
5151
{
5252
"AddressManager": "0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef",
5353
"L2OutputOracleProxy": "0x9E6204F750cD866b299594e2aC9eA824E2e5f95c",
@@ -63,7 +63,7 @@ Ensure both files are correctly formatted, using the exact field names shown in
6363

6464
`deploy-config.json`:
6565

66-
```
66+
```json
6767
{
6868
"l1StartingBlockTag": "0x10aa183",
6969
"l1ChainID": 1,
@@ -145,22 +145,22 @@ Ensure both files are correctly formatted, using the exact field names shown in
145145
}
146146
```
147147

148-
Make sure that important addresses (like the ProxyAdmin, PAO, all L1 addresses, L2OO) are actually up to date by cross checking the Superchain Registry and on-chain (you can do this easily with [`op-fetcher`](https://github.com/ethereum-optimism/optimism/tree/develop/op-fetcher), especially for the `deployments.json`.
148+
Make sure that important addresses (like the `ProxyAdmin`, `PAO`, all L1 addresses, `L2OO`) are actually up to date by cross checking the Superchain Registry and on-chain (you can do this easily with [`op-fetcher`](https://github.com/ethereum-optimism/optimism/tree/develop/op-fetcher), especially for the `deployments.json`.
149149

150150
## Step-by-step upgrade process
151151

152152
### 1. Create your working directory
153153

154154
Create a working directory:
155155

156-
```
156+
```shell
157157
mkdir upgrade-dir
158158
cd upgrade-dir
159159
```
160160

161161
And then create an outputs directory:
162162

163-
```
163+
```shell
164164
mkdir outputs
165165
```
166166

@@ -172,7 +172,7 @@ Copy your `deployments.json` and `deploy-config.json` into the working directory
172172

173173
Create and update an `.env` file with the required information:
174174

175-
```
175+
```json
176176
##############################################
177177
# ↓ Required ↓ #
178178
##############################################

0 commit comments

Comments
 (0)