Skip to content

Add integration test for wallet activity feed endpoint returning trades in reverse chronological order #637

Description

@Chucks1093

Summary

The wallet activity feed endpoint should return a wallet's buy and sell trades ordered by ledger number descending so the most recent activity appears first. An integration test should seed trades at different ledgers and confirm the response order.

Scope

  • Seed three trades for the same wallet at ledgers 1000, 2000, and 3000
  • Call the wallet activity feed endpoint
  • Assert trades are returned in order: ledger 3000, 2000, 1000
  • Assert the type field correctly identifies each trade as buy or sell

Acceptance Criteria

  • Trades returned in descending ledger order
  • Most recent trade appears first in the response
  • type field correct for each trade
  • Endpoint respects the pagination limit and cursor

ETA: 12 hours


Coordinate on Telegram

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