|
|
@ -15,7 +15,7 @@ const RenderCall = ({ tx, resolvedData, logs, index, plugin, showTableHash, txDe |
|
|
|
const debug = (event, tx) => { |
|
|
|
const debug = (event, tx) => { |
|
|
|
event.stopPropagation() |
|
|
|
event.stopPropagation() |
|
|
|
if (tx.isCall && !tx.envMode.startsWith('vm')) { |
|
|
|
if (tx.isCall && !tx.envMode.startsWith('vm')) { |
|
|
|
modal('VM mode', 'Cannot debug this call. Debugging calls is only possible in Remix VM mode.', 'Ok', true, () => {}, 'Cancel', () => {}) |
|
|
|
modal('VM mode', 'Cannot debug this call. Debugging calls is only possible in Remix VM mode.', 'Ok', false, () => {}, 'Cancel', () => {}) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
plugin.event.trigger('debuggingRequested', [tx.hash]) |
|
|
|
plugin.event.trigger('debuggingRequested', [tx.hash]) |
|
|
|
} |
|
|
|
} |
|
|
|