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 stack = result[0].value
var memory = result[1].value var memory = result[1].value
try { try {
var locals = localDecoder.solidityLocals(this.parent.currentStepIndex, this.internalTreeCall, stack, memory, sourceLocation) this.traceManager.getStorageAt(this.parent.currentStepIndex, this.parent.tx, (error, storage) => {
this.basicPanel.update(locals) if (!error) {
var locals = localDecoder.solidityLocals(this.parent.currentStepIndex, this.internalTreeCall, stack, memory, storage, sourceLocation)
this.basicPanel.update(locals)
}
})
} catch (e) { } catch (e) {
warningDiv.innerHTML = e.message warningDiv.innerHTML = e.message
} }

Loading…
Cancel
Save