We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841b70b commit 97a6ec6Copy full SHA for 97a6ec6
crates/genesis/README.md
@@ -20,8 +20,9 @@ This library contains the following:
20
21
```
22
# use signet_genesis::GenesisSpec;
23
+# use signet_constants::KnownChains;
24
# fn _main() -> Result<(), Box<dyn std::error::Error>> {
-let genesis = GenesisSpec::Parmigiana.load_genesis()?;
25
+let genesis = GenesisSpec::Known(KnownChains::Parmigiana).load_genesis()?;
26
// Access rollup (L2/Signet) genesis
27
let rollup = &genesis.rollup;
28
// Access host (L1/Ethereum) genesis
0 commit comments