pub fn substitute_package_id(
modules: &mut [CompiledModule],
object_id: ObjectID,
) -> Result<(), ExecutionError>
Expand description
Given a list of modules
and an object_id
, mutate each module’s self ID (which must be
0x0) to be object_id
.