Skip to content

Create core ledger cursor table #24

Description

@pragmaticAweds

Repository

This issue belongs in Fundable-Protocol/Backend under indexer/.

Migrated from Fundable-Protocol/stellar_indexer#5.

Context

The poller needs durable progress tracking before it can safely resume after restarts or failures.

Scope

  • Define the ledger cursor schema
  • Add migration for cursor storage
  • Track source/domain and last processed ledger
  • Add useful timestamps and indexes

Out of Scope

  • Unrelated package work
  • Docker, CI, or deployment work unless named in scope
  • Broad refactors outside the touched package

Acceptance Criteria

  • Scope items are complete
  • Relevant tests are added or updated
  • Documentation is updated when needed
  • bun run type-check passes
  • bun run test passes
  • bun run lint passes
  • bun run indexer:type-check passes
  • bun run indexer:test passes
  • bun run indexer:lint passes

Dependencies

Suggested Files or Packages

  • indexer/common/src/db/
  • migration files

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions