add SELFDESTRUCT

pull/7/head
yann300 7 years ago
parent bd1669cc52
commit c5c4fa603d
  1. 2
      remix-lib/src/web3Provider/web3VmProvider.js

@ -98,7 +98,7 @@ 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) { if (lastOp) {
lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' && lastOp.op !== 'SELFDESTRUCT'
} }
self.vmTraces[self.processingHash].gas = '0x' + data.gasUsed.toString(16) self.vmTraces[self.processingHash].gas = '0x' + data.gasUsed.toString(16)

Loading…
Cancel
Save