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)
fn build(&self)
The build function puts initial GenesisConfig
keys/values pairs into the storage.
Object Safety§
This trait is not object safe.