Module polkadot_parachain::chain_spec
source · Modules§
- ChainSpecs dedicated to Rococo parachain setups (for testing and example purposes)
Structs§
Enums§
- Helper enum that is used for better distinction of different parachain/runtime configuration (it is based/calculated on ChainSpec’s ID attribute)
Constants§
- The default XCM version to set in genesis config.
Functions§
- Extracts the normalized chain id and parachain id from the input chain id. (H/T to Phala for the idea) E.g. “penpal-kusama-2004” yields (“penpal-kusama”, Some(2004))