pub trait Config {
    type System: Config;
    type Solver: NposSolver<AccountId = <Self::System as Config>::AccountId, Error = Error>;
    type DataProvider: ElectionDataProvider<AccountId = <Self::System as Config>::AccountId, BlockNumber = <Self::System as Config>::BlockNumber>;
    type WeightInfo: WeightInfo;
}
Expand description

Configuration trait for an onchain election execution.

Required Associated Types§

Needed for weight registration.

NposSolver that should be used, an example would be PhragMMS.

Something that provides the data for election.

Weight information for extrinsics in this pallet.

Implementors§