Skip to content

feat(activity): add on-chain indexed events, idempotency dedup, and reconciliation job - #581

Merged
Akatenvictor merged 1 commit into
AudioBitsStellar:mainfrom
blurbeast:feat/indexed-events-activity-and-reconciliation
Aug 31, 2026
Merged

feat(activity): add on-chain indexed events, idempotency dedup, and reconciliation job #581
Akatenvictor merged 1 commit into
AudioBitsStellar:mainfrom
blurbeast:feat/indexed-events-activity-and-reconciliation

Conversation

@blurbeast

Copy link
Copy Markdown
Contributor

closes #236
closes #237
closes #238
closes #239

this pr resolves the issues tagged above ...

…econciliation job

- Add GET /api/activity/onchain endpoint with filters (contractType, eventType, address) and pagination
- Create IndexedEvent entity and TypeORM migration with unique constraint (network, contractId, ledger, eventId) and query indexes
- Implement idempotent event upsert and deduplication in IndexedEventService and ActivityService
- Add OnChainReconciliationService and scheduled OnChainReconciliationJob to reconcile TransactionLog vs IndexedEvent
- Document indexed_events table in database-schema.md and endpoint in openapi.yaml
- Add comprehensive test suites with 100% passing tests
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@blurbeast 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

@Akatenvictor
Akatenvictor merged commit 9965d93 into AudioBitsStellar:main Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants