Skip to content

#46 Issue 46: [Indexer] "Ghost Vault" Detection #81

@JerryIdoko

Description

@JerryIdoko

Description:
If the database drops a connection during ingestion, a vault might exist on-chain but not in our Postgres DB. Run a reconciliation script.
Acceptance Criteria:

[ ] Create a cron script that queries the contract for the total_vault_count.

[ ] Compare to SELECT COUNT(*) FROM vaults.

[ ] If a mismatch is found, trigger a backfill job.
Labels: indexer, reliability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions