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
Description:
Extract all direct
env.storage()calls related to group state into aGroupRepositorystruct to improve testability and reduce duplication.Tasks:
repository.rswithGroupRepositorystruct wrappingenv.storage()callsgroup.rsandpayout.rsto use the repositoryDifficulty: medium
Points: 150