diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-09-30 18:22:42 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-09-30 23:36:00 +0800 |
commit | bb6115b737a05e3b8bf70ff2ad74c703589627cb (patch) | |
tree | 72dc4e8df47729e283735a7a3ecb59930c66b2c5 /internal/ethapi/backend.go | |
parent | b4cc8cbac4c1756c179e497c53ee83515669fe13 (diff) | |
download | dexon-bb6115b737a05e3b8bf70ff2ad74c703589627cb.tar.gz dexon-bb6115b737a05e3b8bf70ff2ad74c703589627cb.tar.zst dexon-bb6115b737a05e3b8bf70ff2ad74c703589627cb.zip |
vm, ethapi: add `limit` option to traceTransaction
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`.
Diffstat (limited to 'internal/ethapi/backend.go')
0 files changed, 0 insertions, 0 deletions