referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::BuildGenesisConfig

pub trait BuildGenesisConfig: MaybeSerializeDeserialize {
    // Required method
    fn build(&self);
}
Expand description

A trait to define the build function of a genesis config for both runtime and pallets.

Replaces deprecated GenesisBuild<T,I>.

Required Methods§

fn build(&self)

The build function puts initial GenesisConfig keys/values pairs into the storage.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> BuildGenesisConfig for GenesisConfig<T>
where T: Config,