-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Add tests for cleanup_expired_bids: returns correct count of removed bids; get_bids_for_invoice no longer includes expired; get_ranked_bids excludes them; idempotent when called again.
Requirements and context
- Achieve minimum 95% test coverage for cleanup_expired_bids
- Smart contracts only (Soroban/Rust)
Suggested execution
- Fork the repo and create a branch
git checkout -b test/cleanup-expired-bids-state - Implement changes
- Add tests in
src/test_bid.rsor test_bid_ranking
- Add tests in
- Test and commit
- Run
cargo test - Attach test output
- Run
Example commit message
test: cleanup_expired_bids return value and state
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program