Module frame_support::genesis_builder_helper
source · Expand description
Helper functions for implementing sp_genesis_builder::GenesisBuilder
for runtimes.
Provides common logic. For more info refer to sp_genesis_builder::GenesisBuilder
.
Functions§
- Build
GenesisConfig
from a JSON blob not using any defaults and store it in the storage. For more info refer tosp_genesis_builder::GenesisBuilder::build_state
. - Get the default
GenesisConfig
as a JSON blob ifname
is None.