Class SimulationEvalOverrides

The set of parameters and limits override during simulation. If this set of parameters is present, then evaluation parameters may differ from standard evaluation in certain ways.

Hierarchy

Constructors

  • Creates a new SimulationEvalOverrides object.

    Parameters

    • __namedParameters: { allowEmptySignatures?: boolean; allowUnnamedResources?: boolean; extraOpcodeBudget?: number | bigint; maxLogCalls?: number | bigint; maxLogSize?: number | bigint }
      • Optional allowEmptySignatures?: boolean
      • Optional allowUnnamedResources?: boolean
      • Optional extraOpcodeBudget?: number | bigint
      • Optional maxLogCalls?: number | bigint
      • Optional maxLogSize?: number | bigint

    Returns SimulationEvalOverrides

Properties

allowEmptySignatures?: boolean

If true, transactions without signatures are allowed and simulated as if they were properly signed.

allowUnnamedResources?: boolean

If true, allows access to unnamed resources during simulation.

attribute_map: Record<string, string>
extraOpcodeBudget?: number | bigint

The extra opcode budget added to each transaction group during simulation

maxLogCalls?: number | bigint

The maximum log calls one can make during simulation

maxLogSize?: number | bigint

The maximum byte number to log during simulation

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc