Expand description

The #[pallet::genesis_config] attribute allows you to define the genesis configuration for the pallet.

Item is defined as either an enum or a struct. It needs to be public and implement the trait GenesisBuild with #[pallet::genesis_build]. The type generics are constrained to be either none, or T or T: Config.


pub struct GenesisConfig<T: Config> {
	_myfield: BalanceOf<T>,