sui_types::move_package

Function normalize_modules

Source
pub fn normalize_modules<'a, S: Hash + Eq + Clone + ToString, Pool: StringPool<String = S>, I>(
    pool: &mut Pool,
    modules: I,
    binary_config: &BinaryConfig,
    include_code: bool,
) -> SuiResult<BTreeMap<String, Module<S>>>
where I: Iterator<Item = &'a Vec<u8>>,
Expand description

If include_code is set to false, the normalized module will skip function bodies but still include the signatures.