pub fn set_module_data<T, U, M>(
store: &mut dyn Storage,
name: T,
version: U,
dependencies: &[StaticDependency],
metadata: Option<M>,
) -> Result<(), StdError>Expand description
set_module_version should be used in instantiate to store the original version, and after a successful migrate to update it