pub trait BuildGenesisConfig: Default + 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§

source

fn build(&self)

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

Implementors§