-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Write comprehensive test cases for batch claim winnings atomicity and validation.
Requirements and Context:
- Must achieve minimum 95% test coverage
- Should test all claims succeed in one batch
- Should test atomic revert when one claim invalid
- Should test no double claim
- Should test event emission
- Should test empty batch and max batch size if limited
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b test/batch-claim-winnings-tests
-
Implement changes
- Write tests:
src/test.rs(batch claim winnings tests) - Validate test coverage
- Write tests:
-
Test and commit
- Run tests with coverage; include test output
Example Commit Message:
test: add comprehensive tests for batch claim winnings
Guidelines:
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 24 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program