Function stringifyDebugTraceSummary

  • Return a string with the result of summarizeDebugTrace including one step per line.

    Parameters

    • summary: {
          alternateStack: string[];
          error?: string;
          execute: boolean;
          instruction: undefined | AuthenticationInstruction;
          ip: number;
          stack: string[];
      }[]

      a summary produced by summarizeDebugTrace

    • __namedParameters: {
          opcodes: Readonly<{
              [opcode: number]: string;
          }>;
          padInstruction: number;
      } = ...
      • opcodes: Readonly<{
            [opcode: number]: string;
        }>

        An opcode enum, e.g. OpcodesBCH.

      • padInstruction: number

        The width of the instruction column.

    Returns string

Generated using TypeDoc