|
|
@ -142,8 +142,7 @@ class TxLogger { |
|
|
|
editorPanel: this._components.registry.get('editorpanel').api, |
|
|
|
editorPanel: this._components.registry.get('editorpanel').api, |
|
|
|
txListener: this._components.registry.get('txlistener').api, |
|
|
|
txListener: this._components.registry.get('txlistener').api, |
|
|
|
eventsDecoder: this._components.registry.get('eventsdecoder').api, |
|
|
|
eventsDecoder: this._components.registry.get('eventsdecoder').api, |
|
|
|
compilersArtefacts: this._components.registry.get('compilersartefacts').api, |
|
|
|
compilersArtefacts: this._components.registry.get('compilersartefacts').api |
|
|
|
app: this._components.registry.get('app').api |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.logKnownTX = this._deps.editorPanel.registerCommand('knownTransaction', (args, cmds, append) => { |
|
|
|
this.logKnownTX = this._deps.editorPanel.registerCommand('knownTransaction', (args, cmds, append) => { |
|
|
@ -208,7 +207,7 @@ function debug (e, data, self) { |
|
|
|
if (data.tx.isCall && data.tx.envMode !== 'vm') { |
|
|
|
if (data.tx.isCall && data.tx.envMode !== 'vm') { |
|
|
|
modalDialog.alert('Cannot debug this call. Debugging calls is only possible in JavaScript VM mode.') |
|
|
|
modalDialog.alert('Cannot debug this call. Debugging calls is only possible in JavaScript VM mode.') |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self._deps.app.startdebugging(data.tx.hash) |
|
|
|
self.event.trigger('debuggingRequested', [data.tx.hash]) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|