|
|
|
@ -4,6 +4,7 @@ var AstWalker = require('./astWalker') |
|
|
|
|
var EventManager = require('../lib/eventManager') |
|
|
|
|
var decodeInfo = require('../solidity/decodeInfo') |
|
|
|
|
var util = require('../helpers/util') |
|
|
|
|
var traceHelper = require('../helpers/traceHelper') |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Tree representing internal jump into function. |
|
|
|
@ -73,7 +74,7 @@ class InternalCallTree { |
|
|
|
|
var scopeId = util.findLowerBoundValue(vmtraceIndex, scopes) |
|
|
|
|
scopeId = this.scopeStarts[scopeId] |
|
|
|
|
var scope = this.scopes[scopeId] |
|
|
|
|
while (scope.lastStep && scope.lastStep < vmtraceIndex) { |
|
|
|
|
while (scope.lastStep && scope.lastStep < vmtraceIndex && scope.firstStep > 0) { |
|
|
|
|
var matched = scopeId.match(/(.\d|\d)$/) |
|
|
|
|
scopeId = scopeId.replace(matched[1], '') |
|
|
|
|
scope = this.scopes[scopeId] |
|
|
|
|