Skip to content

[1013] Improve Blockchain Indexer Reliability with Checkpointing - #1053

Merged
Devsol-01 merged 1 commit into
Devsol-01:mainfrom
Goodnessukaigwe:fix/1013-improve-blockchain-indexer-reliability-with-checkpointing
Jun 29, 2026
Merged

[1013] Improve Blockchain Indexer Reliability with Checkpointing#1053
Devsol-01 merged 1 commit into
Devsol-01:mainfrom
Goodnessukaigwe:fix/1013-improve-blockchain-indexer-reliability-with-checkpointing

Conversation

@Goodnessukaigwe

Copy link
Copy Markdown
Contributor

Summary

  • Adds durable indexer checkpointing with ledger + event cursor persistence, SHA-256 checksum validation, and transactional processed-event deduplication.
  • Introduces IndexerCheckpointService and extends IndexerState for per-stream resume after crashes or restarts.
  • Includes build-stability fixes required for backend compilation.

Checkpoint persistence approach

  • Checkpoints advance only after successful handler execution inside a DB transaction.
  • Processed events use unique (contractId, eventId) constraints for idempotency.
  • Checksum guards against corrupted checkpoint rows on startup.

Test coverage

  • Checkpoint persistence, duplicate prevention, resume, and indexer integration specs.

Closes #1013

Made with Cursor

Persist ledger and event cursor checkpoints transactionally, verify
checksum integrity on resume, and deduplicate processed events to support
safe crash recovery without duplicate execution.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nestera Skipped Skipped Jun 28, 2026 10:38pm

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Goodnessukaigwe Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Devsol-01
Devsol-01 merged commit 6f9fb4f into Devsol-01:main Jun 29, 2026
3 of 5 checks passed
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.

[Backend] -- Improve Blockchain Indexer Reliability with Checkpointing

2 participants