-
Notifications
You must be signed in to change notification settings - Fork 16
Reorg simulation tests #79
Copy link
Copy link
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:indexerEvent ingestionEvent ingestionarea:testsTesting and coverageTesting and coveragedifficulty:advancedMulti-day projectMulti-day projecthelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:indexerEvent ingestionEvent ingestionarea:testsTesting and coverageTesting and coveragedifficulty:advancedMulti-day projectMulti-day projecthelp wantedExtra attention is neededExtra attention is needed
Background
Stellar doesn't reorg in classic sense, but skipped ledgers + retries can produce duplicates. Tests simulate and verify dedup.
What to build
A test that re-feeds the same horizon page twice and asserts no duplicate rows.
Key files
tests/integration/reorg.test.ts(new)Acceptance criteria