storage migration logic for privacy_enabled and PrivacyLevel is intertwined and hard to maintain. Separate legacy compatibility helpers, migration tests, and documentation.
- Impacted files:
app/contract/contracts/Folder/src/storage.rs, app/contract/contracts/Folder/src/privacy.rs, app/contract/contracts/Folder/src/types.rs, app/contract/contracts/Folder/src/storage_test.rs, app/contract/contracts/Folder/src/test.rs, `app/contract/docs/UPGRADE_SAFETY_GATE_QUICK_REFERENCE.md
storage migration logic for
privacy_enabledandPrivacyLevelis intertwined and hard to maintain. Separate legacy compatibility helpers, migration tests, and documentation.app/contract/contracts/Folder/src/storage.rs,app/contract/contracts/Folder/src/privacy.rs,app/contract/contracts/Folder/src/types.rs,app/contract/contracts/Folder/src/storage_test.rs,app/contract/contracts/Folder/src/test.rs, `app/contract/docs/UPGRADE_SAFETY_GATE_QUICK_REFERENCE.md