pub trait ValidatorProvider {
    type AccountId;

    // Required methods
    fn current_era_validators() -> EraValidators<Self::AccountId>;
    fn current_era_committee_size() -> CommitteeSeats;
}

Required Associated Types§

Required Methods§

source

fn current_era_validators() -> EraValidators<Self::AccountId>

returns validators for the current era.

source

fn current_era_committee_size() -> CommitteeSeats

returns committee seats for the current era.

Object Safety§

This trait is not object safe.

Implementors§