pub(super) async fn upcoming_era_validators<REv>(
    effect_builder: EffectBuilder<REv>,
    era_that_is_ending: EraId,
    upcoming_era_validators: BTreeMap<EraId, BTreeMap<PublicKey, U512>>,
) where
    REv: From<ContractRuntimeAnnouncement>,
{
    effect_builder
        .schedule_regular(ContractRuntimeAnnouncement::UpcomingEraValidators {
            era_that_is_ending,
            upcoming_era_validators,
        })
        .await
}
/// Announce validators for upcoming era.
Announce validators for upcoming era.
Announce validators for upcoming era .
pub(super) async fn upcoming_era_validators<REv>(
    effect_builder: EffectBuilder<REv>,
    era_that_is_ending: EraId,
    upcoming_era_validators: BTreeMap<EraId, BTreeMap<PublicKey, U512>>,
) where
    REv: From<ContractRuntimeAnnouncement>,
{
    effect_builder
        .schedule_regular(ContractRuntimeAnnouncement::UpcomingEraValidators {
            era_that_is_ending,
            upcoming_era_validators,
        })
        .await
}
pub ( super ) async fn upcoming_era_validators < REv > ( effect_builder : EffectBuilder < REv > , era_that_is_ending : EraId , upcoming_era_validators : BTreeMap < EraId , BTreeMap < PublicKey , U512 > > , ) where REv : From < ContractRuntimeAnnouncement > , { effect_builder . schedule_regular ( ContractRuntimeAnnouncement :: UpcomingEraValidators { era_that_is_ending , upcoming_era_validators , } ) . await }
Announce validators for upcoming era.
Announce validators for upcoming era .
effect_builder
EffectBuilder<REv>
era_that_is_ending
EraId
upcoming_era_validators
BTreeMap<EraId, BTreeMap<PublicKey, U512>>
effect_builder
EffectBuilder<REv>
era_that_is_ending
EraId
upcoming_era_validators
BTreeMap<EraId, BTreeMap<PublicKey, U512>>