[][src]Function cw2::set_contract_version

pub fn set_contract_version<S: Storage, T: Into<String>, U: Into<String>>(
    storage: &mut S,
    name: T,
    version: U
) -> StdResult<()>

set_contract_version should be used in init to store the original version, and after a successful migrate to update it