-
Notifications
You must be signed in to change notification settings - Fork 93
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Enforce a maximum number of tags per invoice (e.g. 10) in add_invoice_tag and at creation; return TagLimitExceeded when exceeded.
Requirements and context
- Must be secure, tested, and documented
- Prevents unbounded storage growth
- Smart contracts only (Soroban/Rust)
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/max-tags-per-invoice - Implement changes
- Implement: validation in
src/invoice.rs,src/verification.rs - Add tests for at-limit and over-limit
- Document in
docs/contracts/invoice.md
- Implement: validation in
- Test and commit
- Run
cargo test - Include test output and security notes
- Run
Example commit message
feat: maximum tags per invoice enforcement with tests and docs
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