referrerpolicy=no-referrer-when-downgrade

Module polkadot_parachain::chain_spec

source ·

Modules§

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§

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))