You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Always use a specific tagged version of op-program as specified in the Superchain registry or official release notes. Current releases use versions like `op-program/v1.6.0-rc.2` for Isthmus hardfork support.
Replace `[CANNON64_PRESTATE_HASH]` with the actual `Cannon64` absolute prestate hash value from the output.
120
+
This file needs to be uploaded to a location that's accessible by your op-challenger instances.
122
121
</Steps>
123
122
124
123
## Official prestate hashes for Superchain registry chains
@@ -138,29 +137,71 @@ If your chain is not included in the Superchain registry, you'll need to generat
138
137
139
138
For these cases, follow these additional steps:
140
139
141
-
### For chains not in the Superchain registry
142
-
143
140
<Steps>
144
-
### Prepare configuration files
145
141
146
-
Ensure your chain's rollup configuration and L2 genesis file are accessible
142
+
### Create a directory for your custom chain configuration
143
+
```bash
144
+
mkdir -p op-program/chainconfig/configs
145
+
```
147
146
148
-
### Generate custom prestate
149
-
Generate the absolute prestate using your specific configuration:
147
+
### Copy your chain configuration files to this directory
150
148
151
-
```bash
152
-
cd op-program
153
-
make cannon-prestate ROLLUP_CONFIG=/path/to/your/rollup.json L2_GENESIS=/path/to/your/genesis-l2.json
154
-
```
149
+
First, you need to obtain your chain's configuration files. These are typically generated when you [deploy your L2 chain](/operators/chain-operators/deploy/smart-contracts) with op-deployer:
The initial prestate used for permissioned games doesn't include the necessary chain configuration for the Fault proof system.
159
-
The assumption is that the chain operator, the single permissioned actor, will not challenge their own games.
160
-
So the absolute prestate on the initial `PermissionedDisputeGame` will never be used.
199
+
For current production use, you should use the `Cannon64` Absolute prestate hash.
161
200
162
-
When deploying a new chain, you must first deploy the L1 contracts and then retrieve the artifacts.
163
-
These are inputs to the creation of the absolute prestate and this circular dependency is the reason chains cannot be deployed directly to the permissionless Fault Proof System.
201
+
### Locate and prepare the preimage File
202
+
Follow this [step](/operators/chain-operators/tutorials/absolute-prestate#prepare-the-preimage-file)
203
+
204
+
</Steps>
164
205
165
206
## Deploying and configuring with the absolute prestate
166
207
@@ -180,24 +221,29 @@ After generating the absolute prestate and preimage files, you'll need to:
Replace `<URL_TO_PRESTATES_DIRECTORY>` with the URL where you've stored your prestate files.
234
+
The `--prestates-url` should point to the directory where you've uploaded the renamed prestate file from step 3.
188
235
189
236
</Steps>
190
237
191
-
## Next Steps
192
-
193
-
After successfully generating and deploying the absolute prestate:
194
-
195
-
1. Monitor your op-challenger service to ensure it can properly participate in dispute games
196
-
2. Consider setting up redundant challenger instances for enhanced reliability
197
-
3. Keep track of future upgrades that may require new absolute prestates
238
+
<Callouttype="info">
239
+
Ensure you're using the latest op-challenger version, see the [release page](https://github.com/ethereum-optimism/optimism/release)
240
+
The dispute game factory address must be manually specified via the `--game-factory-address` option.
241
+
If your chain uses interoperability features, you'll need to add a `depsets.json` file to the `op-program/chainconfig/configs` directory.
242
+
This file contains dependency set configurations in the same format as the op-supervisor's configs. You can extract this from your existing op-supervisor setup.
243
+
</Callout>
198
244
199
-
For more information, refer to the following resources:
245
+
## Next Steps
200
246
201
-
*[Migrating to Permissionless Fault Proofs Guide](/operators/chain-operators/tutorials/migrating-permissionless)
202
-
*[Deploying New Dispute Games with OPCM](/operators/chain-operators/tutorials/dispute-games)
0 commit comments