Skip to content

[Refactor] Refactor group state reads into a GroupRepository abstraction #905

@Xoulomon

Description

@Xoulomon

Description:
Extract all direct env.storage() calls related to group state into a GroupRepository struct to improve testability and reduce duplication.

Tasks:

  • Create repository.rs with GroupRepository struct wrapping env.storage() calls
  • Migrate all storage reads/writes in group.rs and payout.rs to use the repository
  • Verify all existing tests pass without modification after the refactor

Difficulty: medium
Points: 150


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions