Attribute Macro frame_support::pallet_macros::genesis_config

source ยท
#[genesis_config]
Expand description

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 frame_support::traits::BuildGenesisConfig.

See genesis_build for an example.


Documentation for this macro can be found at frame_support::pallet_macros::genesis_config.