Function abstract_std::objects::module_version::assert_contract_upgrade
source ยท pub fn assert_contract_upgrade(
storage: &dyn Storage,
to_contract: impl ToString,
to_version: Version,
) -> Result<(), AbstractError>
Expand description
Assert that the new version is greater than the stored version.