Function serai_coordinator::substrate::expected_next_batch

source ยท
pub(crate) async fn expected_next_batch(
    serai: &Serai,
    network: ExternalNetworkId,
) -> Result<u32, SeraiError>
Expand description

Gets the expected ID for the next Batch.

Will log an error and apply a slight sleep on error, letting the caller simply immediately retry.