Skip to content
  • Yoichi Hirai's avatar
    vm, ethapi: add `limit` option to traceTransaction · bb6115b7
    Yoichi Hirai authored
    that specifies the maximum number of elements in the `structLogs`
    output.  This option is useful for debugging a transaction that
    involves a large number of repetition.
    
    For example,
    ```
    debug.traceTransaction(tx, {disableStorage: true, limit: 2})
    ```
    shows at most the first two steps in the `structLogs`.
    bb6115b7