Function polkadot_sdk_frame::runtime::prelude::build_state
pub fn build_state<GC>(json: Vec<u8>) -> Result<(), RuntimeString>where
GC: BuildGenesisConfig,
Expand description
For building genesis config.
Build GenesisConfig
from a JSON blob not using any defaults and store it in the storage. For
more info refer to sp_genesis_builder::GenesisBuilder::build_state
.