Skip to content

Add regression test for creator fee recipient receiving correct amount on buy after rotation #488

Description

@Chucks1093

Summary

After a creator rotates their fee recipient address, the new address must receive the creator fee on subsequent trades. The old address must receive nothing. A regression test should confirm the fee routing updates correctly after the rotation.

Scope

  • Register a creator and record the initial fee recipient
  • Execute a buy and confirm the initial recipient received the fee
  • Rotate the creator fee recipient to a new address
  • Execute another buy and confirm the new recipient received the fee
  • Assert the old recipient balance did not increase on the second buy

Acceptance Criteria

  • Initial recipient receives fee before rotation
  • New recipient receives fee after rotation
  • Old recipient receives nothing after rotation

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