aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-14 21:42:45 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-14 21:43:14 +0800
commit02543fdd0c393dfd36a8734ba804babd1584d3d7 (patch)
tree0543f5348484606eebde167581b8f5f6c7aba021
parent1f7179b1788d3e05163e8e5244a31470b01f8ca7 (diff)
downloaddexon-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
-rw-r--r--packages/sol-tracing-utils/src/trace_info_subprovider.ts2
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: [],