diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-14 21:42:45 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-14 21:43:14 +0800 |
commit | 02543fdd0c393dfd36a8734ba804babd1584d3d7 (patch) | |
tree | 0543f5348484606eebde167581b8f5f6c7aba021 /packages/sol-tracing-utils | |
parent | 1f7179b1788d3e05163e8e5244a31470b01f8ca7 (diff) | |
download | dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar.gz dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar.bz2 dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar.lz dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar.xz dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.tar.zst dexon-sol-tools-02543fdd0c393dfd36a8734ba804babd1584d3d7.zip |
Add a link to tracing examples
Diffstat (limited to 'packages/sol-tracing-utils')
-rw-r--r-- | packages/sol-tracing-utils/src/trace_info_subprovider.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/sol-tracing-utils/src/trace_info_subprovider.ts b/packages/sol-tracing-utils/src/trace_info_subprovider.ts index dc42ce25e..38a55646d 100644 --- a/packages/sol-tracing-utils/src/trace_info_subprovider.ts +++ b/packages/sol-tracing-utils/src/trace_info_subprovider.ts @@ -19,6 +19,8 @@ export abstract class TraceInfoSubprovider extends TraceCollectionSubprovider { // For very large traces we use a custom tracer that outputs a format compatible with a // regular trace. We only need the 2nd item on the stack when the instruction is a call. // By not including other stack values, we drastically limit the amount of data to be collected. + // There are no good docs about how to write those tracers, but you can find some example ones here: + // https://github.com/ethereum/go-ethereum/tree/master/eth/tracers/internal/tracers const tracer = ` { data: [], |