Skip to content

Add integration test for activity feed returning price at time of trade not current price #489

Description

@Chucks1093

Summary

The wallet activity feed must return the price that was paid at the time of each trade, not the current key price. An integration test with a price that changes between two trades should confirm historical prices are preserved correctly.

Scope

  • Seed two buy events for the same creator at different prices and timestamps
  • Update the current price snapshot to a third different value
  • Call the activity feed and assert each event shows its own historical price, not the current snapshot price

Acceptance Criteria

  • First trade event shows the price at the time of that trade
  • Second trade event shows a different price matching its own trade time
  • Neither event shows the current snapshot price

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