sui_indexer::test_utils

Function wait_for_checkpoint

Source
pub async fn wait_for_checkpoint(
    pg_store: &PgIndexerStore,
    checkpoint_sequence_number: u64,
) -> Result<(), IndexerError>
Expand description

Wait for the indexer to catch up to the given checkpoint sequence number.