diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-18 05:29:46 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-18 05:29:46 +0800 |
commit | 02b7a4390908e74805cc5ae9f97f4ddceaba8fde (patch) | |
tree | 9af5c74a19be6b6fba49022388bb529e7e32889c /packages/sol-tracing-utils/src/trace_info_subprovider.ts | |
parent | 92f5ad4f1518b2aaa3f1754b44a3059ac1610e0c (diff) | |
parent | e1e531a2a48cdacd3d8e8b6427e3f0410699ea3d (diff) | |
download | dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.gz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.bz2 dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.lz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.xz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.zst dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.zip |
Merge branch 'development' into feature/instant/asset-buyer-check-liquidity
Diffstat (limited to 'packages/sol-tracing-utils/src/trace_info_subprovider.ts')
-rw-r--r-- | packages/sol-tracing-utils/src/trace_info_subprovider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-tracing-utils/src/trace_info_subprovider.ts b/packages/sol-tracing-utils/src/trace_info_subprovider.ts index b75fc7bf7..de42e1862 100644 --- a/packages/sol-tracing-utils/src/trace_info_subprovider.ts +++ b/packages/sol-tracing-utils/src/trace_info_subprovider.ts @@ -31,7 +31,7 @@ export abstract class TraceInfoSubprovider extends TraceCollectionSubprovider { const depth = 0 | log.getDepth(); const gasCost = 0 | log.getCost(); const gas = 0 | log.getGas(); - const isCall = opn == 0xf1 || opn == 0xf2 || opn == 0xf4 || opn == 0xf5; + const isCall = opn == 0xf1 || opn == 0xf2 || opn == 0xf4 || opn == 0xf5 || opn == 0xfa; const stack = isCall ? ['0x'+log.stack.peek(1).toString(16), null] : null; this.data.push({ pc, gasCost, depth, op, stack, gas }); }, |