Skip to content

Add Test for Transfer of Shares During Active Epoch #197

@Jayy4rl

Description

@Jayy4rl

Description

Transferring shares during an active epoch affects snapshot-based yield accounting. Add a test that verifies current behavior for sender and receiver.

Requirements

  • In test_token.rs or test_lifecycle.rs, add a test that:
    • Has a user transfer shares to another user mid-epoch
    • Performs a yield distribution and subsequent claims
    • Verifies both users’ yield claims match current expectations

Definition of Done

  • Mid-epoch share transfer behavior is tested
  • No changes to snapshot logic
  • All tests pass

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