pub fn trace_upgrade_event(
trace_builder_opt: &mut Option<MoveTraceBuilder>,
) -> Result<(), ExecutionError>
Expand description
Inserts upgrade event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.