|
|
@ -37,7 +37,7 @@ TraceAnalyser.prototype.buildReturnValues = function (index, step) { |
|
|
|
const memory = this.trace[this.traceCache.memoryChanges[this.traceCache.memoryChanges.length - 1]].memory |
|
|
|
const memory = this.trace[this.traceCache.memoryChanges[this.traceCache.memoryChanges.length - 1]].memory |
|
|
|
const noOfReturnParams = size / 64 |
|
|
|
const noOfReturnParams = size / 64 |
|
|
|
const memoryInString = memory.join('') |
|
|
|
const memoryInString = memory.join('') |
|
|
|
let returnParamsObj = []; |
|
|
|
let returnParamsObj = [] |
|
|
|
for (let i = 0; i < noOfReturnParams; i++) { |
|
|
|
for (let i = 0; i < noOfReturnParams; i++) { |
|
|
|
returnParamsObj.push('0x' + memoryInString.substring(offset, offset + 64)) |
|
|
|
returnParamsObj.push('0x' + memoryInString.substring(offset, offset + 64)) |
|
|
|
offset += 64 |
|
|
|
offset += 64 |
|
|
|