Summary
The indexer processes sell events from the Soroban transaction stream but there is no integration test confirming sell events are persisted correctly. A test should feed a mock sell event into the pipeline and assert the database record matches the event fields.
Scope
- Feed a mock Soroban sell event into the indexer pipeline
- Assert a trade record is created with type
sell and correct fields: seller, creator_id, quantity, proceeds, ledger, timestamp
- Assert duplicate sell events are deduplicated using the same hash+index logic as buy events
- Assert a sell event with a missing required field is skipped with a warn-level log
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The indexer processes sell events from the Soroban transaction stream but there is no integration test confirming sell events are persisted correctly. A test should feed a mock sell event into the pipeline and assert the database record matches the event fields.
Scope
selland correct fields:seller,creator_id,quantity,proceeds,ledger,timestampAcceptance Criteria
type: sellETA: 12 hours
Coordinate on Telegram