Trait sov_modules_api::Genesis
source · pub trait Genesis {
type Context: Context;
type Config;
// Required method
fn genesis(
&self,
config: &Self::Config,
working_set: &mut WorkingSet<<<Self as Genesis>::Context as Spec>::Storage>
) -> Result<(), Error>;
}
Expand description
Methods from this trait should be called only once during the rollup deployment.