Skip to content

Commit e6ad363

Browse files
committed
Auto-fix: Update breadcrumbs, spelling dictionary and other automated fixes
1 parent 9c708f5 commit e6ad363

File tree

2 files changed

+53
-53
lines changed

2 files changed

+53
-53
lines changed

pages/operators/chain-operators/tools/op-validator.mdx

Lines changed: 51 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ is_imported_content: 'false'
1515

1616
import {Callout, Steps} from 'nextra/components'
1717

18-
1918
# op-validator
2019

2120
<Callout type="info">
@@ -33,53 +32,51 @@ The `op-validator` is a tool for validating Standard OP Stack chain configuratio
3332
## How to use op-validator
3433

3534
<Steps>
36-
37-
### Clone the monorepo
38-
39-
```bash
40-
git clone https://github.com/ethereum-optimism/optimism.git
41-
```
42-
43-
### Build the `op-validator` binary
44-
45-
```bash
46-
cd optimism/op-validator
47-
just build
48-
```
49-
50-
### Run the `op-validator` binary
51-
52-
```bash
53-
./bin/op-validator validate v1.8.0 \
54-
--l1-rpc-url "https://ethereum-sepolia-rpc.publicnode.com" \
55-
--absolute-prestate "0x03f89406817db1ed7fd8b31e13300444652cdb0b9c509a674de43483b2f83568" \
56-
--proxy-admin "0x189aBAAaa82DfC015A588A7dbaD6F13b1D3485Bc" \
57-
--system-config "0x034edD2A225f7f429A63E0f1D2084B9E0A93b538" \
58-
--l2-chain-id "11155420" \
59-
--fail
60-
```
61-
62-
### Understanding the output
63-
64-
In the previous command, we provided a non-standard absolute prestate. The `op-validator` returned the following output to describe the descrepancies between the provided absolute prestate and the expected prestate in the L1 smart contracts:
65-
66-
```
67-
| ERROR | DESCRIPTION |
68-
|-----------------|--------------------------------|
69-
| PDDG-40 | Permissioned dispute game |
70-
| | absolute prestate mismatch |
71-
| PDDG-ANCHORP-40 | Permissioned dispute game |
72-
| | anchor state registry root |
73-
| | hash mismatch |
74-
| PLDG-40 | Permissionless dispute game |
75-
| | absolute prestate mismatch |
76-
| PLDG-ANCHORP-40 | Permissionless dispute game |
77-
| | anchor state registry root |
78-
| | hash mismatch |
79-
80-
Validation errors found
81-
```
82-
35+
### Clone the monorepo
36+
37+
```bash
38+
git clone https://github.com/ethereum-optimism/optimism.git
39+
```
40+
41+
### Build the `op-validator` binary
42+
43+
```bash
44+
cd optimism/op-validator
45+
just build
46+
```
47+
48+
### Run the `op-validator` binary
49+
50+
```bash
51+
./bin/op-validator validate v1.8.0 \
52+
--l1-rpc-url "https://ethereum-sepolia-rpc.publicnode.com" \
53+
--absolute-prestate "0x03f89406817db1ed7fd8b31e13300444652cdb0b9c509a674de43483b2f83568" \
54+
--proxy-admin "0x189aBAAaa82DfC015A588A7dbaD6F13b1D3485Bc" \
55+
--system-config "0x034edD2A225f7f429A63E0f1D2084B9E0A93b538" \
56+
--l2-chain-id "11155420" \
57+
--fail
58+
```
59+
60+
### Understanding the output
61+
62+
In the previous command, we provided a non-standard absolute prestate. The `op-validator` returned the following output to describe the descrepancies between the provided absolute prestate and the expected prestate in the L1 smart contracts:
63+
64+
```
65+
| ERROR | DESCRIPTION |
66+
|-----------------|--------------------------------|
67+
| PDDG-40 | Permissioned dispute game |
68+
| | absolute prestate mismatch |
69+
| PDDG-ANCHORP-40 | Permissioned dispute game |
70+
| | anchor state registry root |
71+
| | hash mismatch |
72+
| PLDG-40 | Permissionless dispute game |
73+
| | absolute prestate mismatch |
74+
| PLDG-ANCHORP-40 | Permissionless dispute game |
75+
| | anchor state registry root |
76+
| | hash mismatch |
77+
78+
Validation errors found
79+
```
8380
</Steps>
8481

8582
## Usage
@@ -92,15 +89,15 @@ op-validator validate [version] [flags]
9289

9390
Where version is one of:
9491

95-
- `v1.8.0` - For validating `op-contracts/1.8.0`
96-
- `v2.0.0` - For validating `op-contracts/2.0.0`
92+
* `v1.8.0` - For validating `op-contracts/1.8.0`
93+
* `v2.0.0` - For validating `op-contracts/2.0.0`
9794

9895
### Required Flags
9996

100-
* `--l1-rpc-url`: L1 RPC URL (can also be set via L1_RPC_URL environment variable)
97+
* `--l1-rpc-url`: L1 RPC URL (can also be set via L1\_RPC\_URL environment variable)
10198
* `--absolute-prestate`: Absolute prestate as hex string
102-
* `--proxy-admin`: Proxy admin address as hex string. This should be a specific chain's proxy admin contract on L1.
103-
It is not the proxy admin owner or the superchain proxy admin.
99+
* `--proxy-admin`: Proxy admin address as hex string. This should be a specific chain's proxy admin contract on L1.
100+
It is not the proxy admin owner or the superchain proxy admin.
104101
* `--system-config`: System config proxy address as hex string
105102
* `--l2-chain-id`: L2 chain ID
106103

@@ -115,3 +112,4 @@ op-validator validate v2.0.0 \
115112
--l1-rpc-url "L1_RPC_URL" \
116113
--absolute-prestate "0x1234..." \
117114
--proxy-admin "0xabcd..." \
115+
```

words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ DATACAP
9191
datacap
9292
DATADIR
9393
datadir
94+
descrepancies
9495
Devnet
9596
devnet
9697
Devnets
@@ -115,6 +116,7 @@ ETHERBASE
115116
etherbase
116117
Ethernity
117118
Ethernow
119+
ethpandaops
118120
ETHSTATS
119121
ethstats
120122
EVMTIMEOUT

0 commit comments

Comments
 (0)