function description

pull/1460/head
aniket-engg 3 years ago committed by Aniket
parent 1e92428f45
commit b124db67a0
  1. 4
      libs/remix-lib/src/web3Provider/web3VmProvider.ts

@ -220,10 +220,10 @@ export class Web3VmProvider {
const fnselector = parseInt('0x' + payload.substring(0, 8))
const iface = new ethers.utils.Interface([`function log${ConsoleLogs[fnselector]} view`])
console.log('iface--->', iface)
console.log('---->', iface.decodeFunctionData("log", '0x' + payload))
const functionDesc = iface.getFunction('log')
console.log('---->', iface.decodeFunctionData(functionDesc, '0x' + payload))
}
// console.log('processingAddress in ==', normalizeHexAddress(step.stack[step.stack.length - 2]))
if (step.op === 'CREATE' || step.op === 'CALL') {
if (step.op === 'CREATE') {
this.processingAddress = '(Contract Creation - Step ' + this.processingIndex + ')'

Loading…
Cancel
Save