Take a look at the current migration implementation in the epoch manager contract:
/contracts/epoch-manager/src/contract.rs#L78-L85
The contract currently uses the legacy migration signature from older CosmWasm versions. CosmWasm 2.2.0 introduces a new migration signature that provides additional migration information through the MigrateInfo struct:
QA, albeit the current implementation misses out on important migration features that could improve contract maintainability and safety:
Upgrade the protocols CosmWasm dependency to version 2.2.0 or newer and implement the new migration signature.
