Skip to content

Add regression test for protocol fee recipient receiving correct amount on sell #296

@aniokedianne

Description

@aniokedianne

Summary
Event tests confirm the sell fee fields are emitted, but there is no regression test that verifies the protocol fee recipient actually receives the correct token amount after a sell. A direct balance assertion closes this gap.

Scope

  • add a regression test that records the protocol fee recipient balance before a sell
  • perform a sell and assert the recipient balance increased by the expected fee amount
  • assert the fee amount matches the protocol fee bps applied to the sell price

Acceptance Criteria

  • the protocol fee recipient balance increases by the correct fee amount after a sell
  • the fee amount matches the bps calculation
  • the test is distinct from existing sell event field tests

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

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