-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Update chain-deployment docs #728
Comments
We may want to de-duplicate the first few steps with the tutorial in https://docs.optimism.io/builders/chain-operators/management/custom-gas-token The |
Specifically: the https://docs.optimism.io/builders/chain-operators/tutorials/create-l2-rollup docs are missing the |
Hey proto, I'm going to take a stab at this, but I'm going to approach it as a |
Brief Description of the Docs Request
https://docs.optimism.io/builders/chain-operators/tutorials/create-l2-rollup
is one of the core docs, very essential to developers test-running the stack, and starts with a warning of "Please do not rely on the content of this page".
Description of the Documentation You'd Like
Split in 3 pages:
For develop, the approximate process is (to my understanding):
deploy-config.json
Deploy.s.sol
to deploy the L1 smart-contracts. Get a contract-addresses summary and a deployment-artifacts directory.L2Genesis.s.sol
to generate the L2genesis.json
op-node genesis l2
with the CLI flag options pointing to L1 RPC and various config inputs / outputs.op-geth init --datadir=somepathhere genesis.json
to create a datadir for the L2 chainop-geth
from that datadirop-node
, with sequencer flags, and--rollup.config=rollup.json
pointing to the previously generated L2 rollup config.op-batcher
, with flags pointed at op-geth and op-node and L1 nodeop-proposer
(assumes geth is running in archive mode! Fixed in future Granite hardfork maybe), necessary for L2 withdrawals.Links to Related Pages
https://docs.optimism.io/builders/chain-operators/tutorials/create-l2-rollup
https://docs.optimism.io/builders/chain-operators/management/configuration
Additional Context
Core dev teams, external RaaS and devops teams all heavily rely on this documentation.
The text was updated successfully, but these errors were encountered: