|
|
@ -97,7 +97,9 @@ web3VmProvider.prototype.txWillProcess = function (self, data) { |
|
|
|
|
|
|
|
|
|
|
|
web3VmProvider.prototype.txProcessed = function (self, data) { |
|
|
|
web3VmProvider.prototype.txProcessed = function (self, data) { |
|
|
|
var lastOp = self.vmTraces[self.processingHash].structLogs[self.processingIndex - 1] |
|
|
|
var lastOp = self.vmTraces[self.processingHash].structLogs[self.processingIndex - 1] |
|
|
|
|
|
|
|
if (lastOp) { |
|
|
|
lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' |
|
|
|
lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' |
|
|
|
|
|
|
|
} |
|
|
|
self.vmTraces[self.processingHash].gas = '0x' + data.gasUsed.toString(16) |
|
|
|
self.vmTraces[self.processingHash].gas = '0x' + data.gasUsed.toString(16) |
|
|
|
|
|
|
|
|
|
|
|
var logs = [] |
|
|
|
var logs = [] |
|
|
|