Skip to content

Commit

Permalink
op-node: add description to l2 genesis command
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Nov 8, 2023
1 parent d84ab9e commit fb0d08f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions op-node/cmd/genesis/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ var Subcommands = cli.Commands{
{
Name: "l2",
Usage: "Generates an L2 genesis file and rollup config suitable for a deployed network",
Description: "Generating the L2 genesis depends on knowledge of L1 contract addresses for the bridge to be secure. " +
"A deploy config and either a deployment directory or an L1 deployments file are used to create the L2 genesis. " +
"The deploy directory and L1 deployments file are generated by the L1 contract deployments.",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "l1-rpc",
Expand Down

0 comments on commit fb0d08f

Please sign in to comment.