Skip to main content

Module jam_chain_spec

Module jam_chain_spec 

Source
Expand description

Build the JIP-4 chain spec of a JAM chain in process, with jam-chainspec.

The chain id, the genesis validators (the network’s validator nodes) and the protocol parameters always come from zombienet; services, auth queues and privileges from the network’s JamGenesisConfig, layered over its optional native config_file. With the defaults on, the genesis has the bootstrap service under id 0, hosting the null authorizer, and every core’s auth queue filled with the null authorizer (the same genesis polkajam’s own gen-spec writes).

Structs§

BuiltSpec
A spec built in process.

Functions§

build
Build the chain spec of jam_spec with the genesis genesis.