Skip to content

Commit a0ce7b6

Browse files
Revert "Breadcrumb fixes"
This reverts commit 04c1b13.
1 parent 21d13a3 commit a0ce7b6

File tree

3 files changed

+21
-31
lines changed

3 files changed

+21
-31
lines changed

pages/builders/app-developers.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@ If you're a developer looking to build on OP Mainnet, you've come to the right p
2222
<Card title="Transactions" href="/builders/app-developers/transactions" />
2323

2424
<Card title="Tutorials" href="/builders/app-developers/tutorials" />
25-
26-
<Card title="Getting started developing for OP Stack chains" href="/builders/app-developers/getting-started" />
27-
<Card title="Testing apps for OP Stack chains" href="/builders/app-developers/testing-apps" />
2825
</Cards>

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

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Callout } from 'nextra/components'
99
# OP Stack genesis creation
1010

1111
<Callout type="info">
12-
The recommended way to generate genesis and rollup configuration files is using `op-deployer`.
12+
The recommended way to generate genesis and rollup configuration files is using `op-deployer`.
1313
This ensures standardization and compatibility with the Superchain.
1414
</Callout>
1515

@@ -18,31 +18,28 @@ These files are crucial for initializing the execution client (`op-geth`) and co
1818

1919
The recommended flow for creating a genesis file and rollup configuration file on the OP Stack is as follows:
2020

21-
1. **Deploy the L1 contracts** using [op-deployer](/builders/chain-operators/tools/op-deployer).
22-
2. **Generate** both the L2 genesis file (`genesis.json`) and the rollup configuration file (`rollup.json`) using op-deployer's `inspect` commands.
23-
3. **Initialize** your off-chain components (e.g., execution client, consensus client).
21+
1. **Deploy the L1 contracts** using [op-deployer](/builders/chain-operators/tools/op-deployer).
22+
2. **Generate** both the L2 genesis file (`genesis.json`) and the rollup configuration file (`rollup.json`) using op-deployers `inspect` commands.
23+
3. **Initialize** your off-chain components (e.g., execution client, consensus client).
2424

2525
## Recommended method: using op-deployer
2626

2727
### Prerequisites
2828

29-
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/builders/chain-operators/tools/op-deployer#installation).
30-
After installation, extract the `op-deployer` into your `PATH` and `cd op-deployer`.
31-
32-
2. You have created and customized an intent file in a `.deployer` directory, typically by running:
33-
34-
```bash
35-
./bin/op-deployer init --l1-chain-id <YOUR_L1_CHAIN_ID> --l2-chain-ids <YOUR_L2_CHAIN_ID> --workdir .deployer
29+
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/builders/chain-operators/tools/op-deployer#installation).
30+
After installation, extract the `op-deployer` into your `PATH` and `cd op-deployer`.
31+
2. You have created and customized an intent file in a `.deployer` directory, typically by running:
32+
```bash
33+
./bin/op-deployer init --l1-chain-id <YOUR_L1_CHAIN_ID> --l2-chain-ids <YOUR_L2_CHAIN_ID> --workdir .deployer
3634
```
3735

3836
Replace `<YOUR_L1_CHAIN_ID>` and `<YOUR_L2_CHAIN_ID>` with their respective values, see a list of [`chainIds`](https://chainid.network/).
3937

40-
3. You have edited that intent file to your liking (roles, addresses, etc.).
38+
3. You have edited that intent file to your liking (roles, addresses, etc.).
4139

4240
### Step 1: Deploy the L1 contracts
4341

4442
To deploy your chain to L1, run:
45-
4643
```bash
4744
./bin/op-deployer apply --workdir .deployer \
4845
--l1-rpc-url <RPC_URL_FOR_L1> \
@@ -51,36 +48,35 @@ To deploy your chain to L1, run:
5148

5249
This command:
5350

54-
* Reads your intent file in `.deployer/.`
55-
* Deploys the OP Stack contracts to the specified L1.
56-
* Updates a local `state.json` file with the results of the deployment.
51+
* Reads your intent file in `.deployer/.`
52+
* Deploys the OP Stack contracts to the specified L1.
53+
* Updates a local `state.json` file with the results of the deployment.
5754

5855
### Step 2: Generate your L2 genesis file and rollup file
5956

60-
After your L1 contracts have been deployed, generate the L2 genesis and rollup configuration files by inspecting the deployer's `state.json.`
61-
57+
After your L1 contracts have been deployed, generate the L2 genesis and rollup configuration files by inspecting the deployer’s `state.json.`
6258
```bash
6359
./bin/op-deployer inspect genesis --workdir .deployer <L2_CHAIN_ID> > .deployer/genesis.json
6460
./bin/op-deployer inspect rollup --workdir .deployer <L2_CHAIN_ID> > .deployer/rollup.json
6561
```
6662

67-
* genesis.json is the file you will provide to your execution client (e.g. op-geth).
68-
* rollup.json is the file you will provide to your consensus client (e.g. op-node).
63+
* genesis.json is the file you will provide to your execution client (e.g. op-geth).
64+
* rollup.json is the file you will provide to your consensus client (e.g. op-node).
6965

7066
### Step 3: Initialize your off-chain components
7167

7268
Once you have `genesis.json` and `rollup.json`:
7369

74-
1. Initialize op-geth using genesis.json.
75-
2. Configure op-node with rollup.json.
76-
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/builders/chain-operators/architecture).
70+
1. Initialize op-geth using genesis.json.
71+
2. Configure op-node with rollup.json.
72+
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/builders/chain-operators/architecture).
7773

7874
### Step 3: Get data
7975

8076
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
8177
You can also use the following inspect subcommands to get additional data:
8278

83-
````bash
79+
```bash
8480
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
8581
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
8682

@@ -147,7 +143,7 @@ DEPLOY_CONFIG_PATH=<PATH_TO_MY_DEPLOY_CONFIG> \
147143
STATE_DUMP_PATH=<PATH_TO_WRITE_L2_ALLOCS> \
148144
forge script scripts/L2Genesis.s.sol:L2Genesis \
149145
--sig 'runWithStateDump()'
150-
````
146+
```
151147

152148
## Subcommand (op-node genesis l2)
153149

pages/stack/security.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@ Documentation covering Faq, Pause in the Security section of the OP Stack ecosys
1616
<Card title="Pausing the bridge" href="/stack/security/pause" />
1717

1818
<Card title="Audit report" href="/stack/security/audits-report" />
19-
20-
<Card title="OP Stack security model" href="/stack/security/faq-sec-model" />
21-
<Card title="Security policy and bug bounty program" href="/stack/security/security-policy" />
2219
</Cards>
2320

0 commit comments

Comments
 (0)