Skip to content

Feature/vault reconciliation script#100

Merged
JerryIdoko merged 3 commits intoVesting-Vault:mainfrom
LaGodxy:feature/vault-reconciliation-script
Feb 25, 2026
Merged

Feature/vault reconciliation script#100
JerryIdoko merged 3 commits intoVesting-Vault:mainfrom
LaGodxy:feature/vault-reconciliation-script

Conversation

@LaGodxy
Copy link
Copy Markdown
Contributor

@LaGodxy LaGodxy commented Feb 25, 2026

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 met:

[ ] 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.

closes #81

@JerryIdoko JerryIdoko merged commit 65acdb8 into Vesting-Vault:main Feb 25, 2026
JerryIdoko added a commit that referenced this pull request Mar 29, 2026
…upgrades

feat: Institutional Reliability and Governance Suite (#97, #98, #99, #100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants