Implement Automated Contract Upgrade Testing and Validation
Priority: High
Estimated Time: 2.5 hours
Description
Contract upgrades are manual and risky. Automated testing of upgrades would prevent breaking changes and data corruption.
Tasks
- Implement
upgrade_simulation_tests.rs that tests upgrade path
- Verify: state is preserved, old match data is accessible, fees are correct
- Add upgrade compatibility checks (same storage keys, same function signatures)
- Run upgrade tests in CI on every contract change
- Add upgrade testing guide to
docs/upgrade-safety.md
Auto-created from UNSOLVED_ISSUES_40.md
Implement Automated Contract Upgrade Testing and Validation
Priority: High
Estimated Time: 2.5 hours
Description
Contract upgrades are manual and risky. Automated testing of upgrades would prevent breaking changes and data corruption.
Tasks
upgrade_simulation_tests.rsthat tests upgrade pathdocs/upgrade-safety.mdAuto-created from UNSOLVED_ISSUES_40.md