Skip to content

Commit 2afdd3b

Browse files
authored
Merge pull request #796 from richardgreg/op-conductor-improvement
Improve op-conductor docs.
2 parents 9eca3f3 + 09a0591 commit 2afdd3b

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

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

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,38 @@ This guide provides a walkthrough of setting up the configuration and monitoring
8181

8282
#### `--rollup-rpc`
8383

84-
* This needs to be an`op-node` archive node because challenger needs access to output roots from back when the games start.
84+
* This needs to be an`op-node` archive node because challenger needs access to output roots from back when the games start. See below for important configuration details:
85+
86+
1. Safe Head Database (SafeDB) Configuration for op-node:
87+
88+
* The `op-node` behind the `op-conductor` must have the SafeDB enabled to ensure it is not stateless.
89+
* To Enable SafeDB, set the `--safedb.path` value in your configuration. This specifies the file path used to persist safe head update data.
90+
* Example Configuration:
91+
92+
```
93+
--safedb.path <path-to-safe-head-db> # Replace <path-to-safe-head-db> with your actual path
94+
```
95+
96+
<Callout type="info">
97+
If this path is not set, the SafeDB feature will be disabled.
98+
</Callout>
99+
100+
2. Ensuring Historical Data Availability:
101+
102+
* Both `op-node` and `op-geth` must have data from the start of the games to maintain network consistency and allow nodes to reference historical state and transactions.
103+
* For `op-node`: Configure it to maintain a sufficient history of blockchain data locally or use an archive node.
104+
* For `op-geth`: Similarly, configure to store or access historical data.
105+
* Example Configuration:
106+
107+
```
108+
op-node \
109+
--rollup-rpc <op-node-archive-node-url> \
110+
--safedb.path <path-to-safe-head-db>
111+
```
112+
113+
<Callout type="info">
114+
Replace `<op-node-archive-node-url>` with the URL of your archive node and `<path-to-safe-head-db>` with the desired path for storing SafeDB data.
115+
</Callout>
85116

86117
#### `--private-key`
87118

0 commit comments

Comments
 (0)