sui_indexer/backfill/backfill_instances/ingestion_backfills/
digest_task.rsuse crate::backfill::backfill_instances::ingestion_backfills::IngestionBackfillTrait;
use crate::database::ConnectionPool;
use sui_types::full_checkpoint_content::CheckpointData;
use tracing::info;
pub struct DigestBackfill;
#[async_trait::async_trait]
impl IngestionBackfillTrait for DigestBackfill {
type ProcessedType = ();
fn process_checkpoint(checkpoint: &CheckpointData) -> Vec<Self::ProcessedType> {
let cp = checkpoint.checkpoint_summary.sequence_number;
let digest = checkpoint.checkpoint_summary.content_digest;
info!("{cp}: {digest}");
vec![]
}
async fn commit_chunk(_pool: ConnectionPool, _processed_data: Vec<Self::ProcessedType>) {}
}