Description
Add workspace-level compatibility tests that validate contract version evolution and migration assumptions.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Cover version changes across core contract crates
Suggested execution
- Fork the repo and create a branch
git checkout -b test/workspace-version-matrix-compatibility
- Implement changes
- Write contract:
Cargo.toml, integration_tests/tests/multi_contract_integration.rs
- Write comprehensive tests:
integration_tests/tests/multi_contract_integration.rs
- Add documentation:
VERSION_COMPATIBILITY.md
- Include NatSpec-style comments
- Validate security assumptions
Test and commit
- Run tests:
cargo test -p integration_tests
- Cover edge cases
- Include test output and security notes
Example commit message
test: add workspace contract version migration compatibility matrix
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Description
Add workspace-level compatibility tests that validate contract version evolution and migration assumptions.
Requirements and context
Suggested execution
git checkout -b test/workspace-version-matrix-compatibilityCargo.toml,integration_tests/tests/multi_contract_integration.rsintegration_tests/tests/multi_contract_integration.rsVERSION_COMPATIBILITY.mdTest and commit
cargo test -p integration_testsExample commit message
test: add workspace contract version migration compatibility matrixGuidelines