Skip to content

Add regression test for buy event containing correct buyer address #341

@Chucks1093

Description

@Chucks1093

Summary
Buy event fee field tests exist, but the buyer address field in the emitted event is not independently asserted. A regression test that confirms the buyer address in the event matches the caller address prevents a silent field mismatch.

Scope

  • add a regression test that performs a buy and inspects the emitted buy event
  • assert the buyer address field matches the address that initiated the call
  • assert the field is present and non-zero

Acceptance Criteria

  • the buyer address in the buy event matches the caller
  • the test fails if the field is absent or contains a different address
  • the test is distinct from existing buy fee field tests

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

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