Skip to main content

build_trace_with_max_len

Function build_trace_with_max_len 

Source
pub fn build_trace_with_max_len(
    execution_output: ExecutionOutput,
    trace_generation_context: TraceGenerationContext,
    program_info: ProgramInfo,
    max_trace_len: usize,
) -> Result<ExecutionTrace, ExecutionError>
Expand description

Same as build_trace, but with a custom hard cap.

When the trace would go over max_trace_len, this returns ExecutionError::TraceLenExceeded.