-
Notifications
You must be signed in to change notification settings - Fork 111
Harden CSV export and import schema normalization #322
Copy link
Copy link
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programarea:data-migrationRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelmigrationRemitWise contracts labelRemitWise contracts labelpriority:mediumRemitWise contracts labelRemitWise contracts labeltestsRemitWise contracts labelRemitWise contracts labeltype:featureRemitWise contracts labelRemitWise contracts label
Description
Description
Implement stricter CSV schema normalization and validation for migration flows involving savings goal data.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Reject ambiguous headers and malformed row types
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/migration-csv-schema-normalization- Implement changes
- Write contract:
data_migration/src/lib.rs - Write comprehensive tests:
data_migration/src/lib.rs - Add documentation:
README.md - Include NatSpec-style comments
- Validate security assumptions
Test and commit
- Run tests:
cargo test -p data_migration - Cover edge cases
- Include test output and security notes
Example commit message
feat: harden csv schema normalization for migration flows
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:data-migrationRemitWise contracts labelRemitWise contracts labelcontractsRemitWise contracts labelRemitWise contracts labelmigrationRemitWise contracts labelRemitWise contracts labelpriority:mediumRemitWise contracts labelRemitWise contracts labeltestsRemitWise contracts labelRemitWise contracts labeltype:featureRemitWise contracts labelRemitWise contracts label