Skip to content

Add integration test for wallet activity feed returning 400 for malformed Stellar address #535

Description

@Chucks1093

Summary

The wallet activity feed endpoint must validate the address path param before querying the database. An integration test should confirm a malformed address returns 400 with a descriptive error and no database query is attempted.

Scope

  • Call GET /wallets/:address/activity with an invalid Stellar address format
  • Assert response is 400 with a field-level error identifying address
  • Repeat for: wrong prefix, too short, invalid characters

Acceptance Criteria

  • Returns 400 for wrong prefix
  • Returns 400 for too-short address
  • Returns 400 for invalid characters
  • Error body identifies the address field in all cases

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions