Skip to content

Commit 7bd8e0b

Browse files
Merge pull request #1121 from zhiqiangxu/main
fix op-deployer commands
2 parents 104f346 + 153b1b0 commit 7bd8e0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,16 @@ Inspect the `state.json` file by navigating to your working directory. With the
138138

139139
```
140140
cd .deployer
141-
op-deployer --workdir .deployer inspect genesis <l2-chain-id> > genesis.json
142-
op-deployer --workdir .deployer inspect rollup <l2-chain-id> > rollup.json
141+
op-deployer inspect genesis --workdir .deployer <l2-chain-id> > genesis.json
142+
op-deployer inspect rollup --workdir .deployer <l2-chain-id> > rollup.json
143143
```
144144

145145
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:
146146

147147
```
148-
op-deployer --workdir .deployer inspect l1 <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
149-
op-deployer --workdir .deployer inspect deploy-config <l2-chain-id> # outputs the deploy config for an L2 chain
150-
op-deployer --workdir .deployer inspect l2-semvers <l2-chain-id> # outputs the semvers for all L2 chains
148+
op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
149+
op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
150+
op-deployer inspect l2-semvers --workdir .deployer <l2-chain-id> # outputs the semvers for all L2 chains
151151
```
152152
</Steps>
153153

0 commit comments

Comments
 (0)