You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically, the genesis file creation was handled by the `genesis l2`
65
+
The genesis file creation is handled by the `genesis l2`
63
66
subcommand, provided by the `op-node`. The following is an example of its usage
64
-
from [v1.7.6](https://github.com/ethereum-optimism/optimism/releases/tag/v1.7.6).
67
+
from [v1.7.6](https://github.com/ethereum-optimism/optimism/releases/tag/v1.7.6) --
68
+
note that you need to pass the path to the l2 genesis state dump file output by
69
+
the foundry script above:
65
70
66
71
```bash
67
72
go run cmd/main.go genesis l2 \
68
73
--deploy-config=<Path to deploy config file> \
69
-
--l1-deployments value=<Path to L1 deployments JSON file as in superchain-registry> \
74
+
--l1-deployments=<Path to L1 deployments JSON file as in superchain-registry> \
75
+
--l2-allocs=<Path to L2 genesis state dump> \
70
76
--outfile.l2=<Path to L2 genesis output file: i.e. ./genesis.json> \
71
77
--outfile.rollup=<Path to rollup output file: i.e. ./rollup.json> \
72
78
--l1-rpc=<RPC URL for an Ethereum L1 node. Cannot be used with --l1-starting-bloc>>
@@ -80,5 +86,6 @@ with `--l1-rpc`.
80
86
## Next Steps
81
87
82
88
* Learn how to [initialize](/builders/node-operators/configuration/base-config#initialization-via-genesis-file)
83
-
`op-geth` with your genesis file
89
+
`op-geth` with your `genesis.json` file.
90
+
* Learn how to [initialize](https://docs.optimism.io/builders/node-operators/configuration/base-config#configuring-op-node)`op-node` with your `rollup.json` file.
84
91
* Learn more about the off chain [architecture](/builders/chain-operators/architecture).
0 commit comments