-
Notifications
You must be signed in to change notification settings - Fork 111
Add shared enum and constant stability tests in remitwise-common #326
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:remitwise-commonRemitWise contracts labelRemitWise contracts labelcompatibilityRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelpriority:mediumRemitWise contracts labelRemitWise contracts labelqualityRemitWise contracts labelRemitWise contracts labeltype:testRemitWise contracts labelRemitWise contracts label
Description
Description
Add compatibility tests for shared enums and constants to prevent breaking changes across dependent contracts.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Validate serialization and variant ordering assumptions
Suggested execution
- Fork the repo and create a branch
git checkout -b test/common-enum-constant-stability- Implement changes
- Write contract:
remitwise-common/src/lib.rs - Write comprehensive tests:
remitwise-common/src/lib.rs - Add documentation:
README.md - Include NatSpec-style comments
- Validate security assumptions
Test and commit
- Run tests:
cargo test -p remitwise-common - Cover edge cases
- Include test output and security notes
Example commit message
test: add stability coverage for shared enums and constants
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 programarea:remitwise-commonRemitWise contracts labelRemitWise contracts labelcompatibilityRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelpriority:mediumRemitWise contracts labelRemitWise contracts labelqualityRemitWise contracts labelRemitWise contracts labeltype:testRemitWise contracts labelRemitWise contracts label