add SELFDESTRUCT

pull/3094/head
yann300 7 years ago
parent 934e2c4db2
commit bdaf553c28
  1. 2
      remix-lib/src/web3Provider/web3VmProvider.js

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

Loading…
Cancel
Save