|
|
|
@ -316,7 +316,7 @@ async function buildTree (tree, step, scopeId, isCreation, functionDefinition?, |
|
|
|
|
tree.scopeStarts[step] = newScopeId |
|
|
|
|
tree.scopes[newScopeId] = { firstStep: step, locals: {}, isCreation, gasCost: 0 } |
|
|
|
|
// for the ctor we we are at the start of its trace, we have to replay this step in order to catch all the locals:
|
|
|
|
|
let nextStep = constructorExecutionStarts ? step : step + 1 |
|
|
|
|
const nextStep = constructorExecutionStarts ? step : step + 1 |
|
|
|
|
if (constructorExecutionStarts) { |
|
|
|
|
tree.constructorsStartExecution[tree.pendingConstructorId] = tree.pendingConstructorExecutionAt |
|
|
|
|
tree.pendingConstructorExecutionAt = -1 |
|
|
|
|