Skip to content

Commit a1ecb27

Browse files
committed
resolve comments
1 parent c3e1207 commit a1ecb27

File tree

4 files changed

+12
-33
lines changed

4 files changed

+12
-33
lines changed

pages/operators/chain-operators/deploy/genesis.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@ Once you have `genesis.json` and `rollup.json`:
7575
2. Configure op-node with rollup.json.
7676
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/operators/chain-operators/architecture).
7777

78-
### Step 4: Get data
79-
80-
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
81-
You can also use the following inspect subcommands to get additional data:
82-
83-
```bash
84-
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
85-
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
86-
```
87-
8878
## Legacy method: using foundry script
8979

9080
The following guide shows you how to generate the L2 genesis file `genesis.json`. This is a JSON

pages/operators/chain-operators/deploy/smart-contracts.mdx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ official contract releases**. You can visit the [smart contract overview](/stack
1919
for the official release versions. Changes to the smart contracts are
2020
generally not considered backwards compatible.
2121

22-
<Callout type="warning">
23-
The following deployment information outlines the legacy method for deploying the OP Stack L1 contracts.
24-
This method is not recommended and is provided only for historical context.
25-
</Callout>
26-
2722
## Deployment configuration
2823

2924
Deploying your OP Stack contracts requires creating a deployment configuration
@@ -34,8 +29,19 @@ can see the [rollup deployment configuration page](/operators/chain-operators/co
3429

3530
For a detailed explanation of the configuration options and their meanings, refer to the [rollup deployment configuration page](/operators/chain-operators/configuration/rollup).
3631

32+
## Using `op-deployer`
33+
34+
The recommended way to deploy the L1 smart contracts is with the `op-deployer` tool.
35+
Follow the steps in this [section](/operators/chain-operators/tutorials/create-l2-rollup#using-op-deployer) to learn how it works.
36+
37+
3738
## Deployment script (Legacy method)
3839

40+
<Callout type="warning">
41+
The following deployment information outlines the legacy method for deploying the OP Stack L1 contracts.
42+
This method is not recommended and is provided only for historical context.
43+
</Callout>
44+
3945
The legacy method for deploying smart contracts uses [foundry](https://github.com/foundry-rs) and the deployment script located in the monorepo at
4046
[packages/contracts-bedrock/scripts/deploy/Deploy.s.sol](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/scripts/deploy/Deploy.s.sol).
4147

@@ -84,11 +90,6 @@ All functions for deploying a single contract are public, meaning that
8490
the `--sig` argument to forge script can be used to target the deployment of a
8591
single contract.
8692

87-
## Using `op-deployer`
88-
89-
The recommended way to deploy the L1 smart contracts is with the `op-deployer` tool.
90-
Follow the steps in this [section](/operators/chain-operators/tutorials/create-l2-rollup#using-op-deployer) to learn how it works.
91-
9293
## Best practices
9394

9495
Production users should deploy their L1 contracts from a contracts release.

pages/operators/chain-operators/tools/op-deployer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Inspect the `state.json` file by navigating to your working directory. With the
128128
./bin/op-deployer inspect rollup --workdir .deployer <l2-chain-id> > .deployer/rollup.json
129129
```
130130

131-
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network. You can also use the following inspect subcommands to get additional data:
131+
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network. You can also use the following inspect subcommands to get additional chain artifacts:
132132

133133
```bash
134134
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain

pages/operators/chain-operators/tutorials/create-l2-rollup.mdx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,6 @@ Using op-deployer for chain initialization is a requirement for all chains inten
433433
This ensures standardization and compatibility across the OP Stack ecosystem.
434434
</Callout>
435435

436-
## Recommended method: using op-deployer
437-
438436
### Prerequisites
439437

440438
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/operators/chain-operators/tools/op-deployer#installation).
@@ -489,16 +487,6 @@ Once you have `genesis.json` and `rollup.json`:
489487
2. Configure op-node with rollup.json.
490488
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/operators/chain-operators/architecture).
491489

492-
### Step 4: Get data
493-
494-
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
495-
You can also use the following inspect subcommands to get additional data:
496-
497-
```bash
498-
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
499-
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
500-
```
501-
502490
## Initialize `op-geth`
503491

504492
You're almost ready to run your chain!

0 commit comments

Comments
 (0)