read_from_contract

Function read_from_contract 

Source
pub(super) async fn read_from_contract(
    _attempt: u32,
    node: &TempoFullNode,
    for_epoch: Epoch,
    epoch_length: u64,
) -> Result<OrderedAssociated<PublicKey, DecodedValidator>>
Expand description

Reads the validator config of epoch.

The validator config for epoch is always read from the last height of epoch-1.