pub fn assert_cw_contract_upgrade( storage: &dyn Storage, to_contract: impl ToString, to_version: Version, ) -> Result<(), AbstractError>
Assert that the new version is greater than the stored version.