readd getStorage

pull/7/head
yann300 8 years ago
parent 1edc5cd07d
commit 1061b994c3
  1. 8
      src/ui/SolidityLocals.js

@ -40,8 +40,12 @@ class SolidityLocals {
var stack = result[0].value
var memory = result[1].value
try {
var locals = localDecoder.solidityLocals(this.parent.currentStepIndex, this.internalTreeCall, stack, memory, sourceLocation)
this.basicPanel.update(locals)
this.traceManager.getStorageAt(this.parent.currentStepIndex, this.parent.tx, (error, storage) => {
if (!error) {
var locals = localDecoder.solidityLocals(this.parent.currentStepIndex, this.internalTreeCall, stack, memory, storage, sourceLocation)
this.basicPanel.update(locals)
}
})
} catch (e) {
warningDiv.innerHTML = e.message
}

Loading…
Cancel
Save