|
|
|
@ -3,7 +3,6 @@ const { hexListFromBNs, formatMemory } = util |
|
|
|
|
import { helpers } from '@remix-project/remix-lib' |
|
|
|
|
const { normalizeHexAddress } = helpers.ui |
|
|
|
|
import { ConsoleLogs } from '@remix-project/remix-lib' |
|
|
|
|
import { isBigNumber } from 'web3-utils' |
|
|
|
|
import { toChecksumAddress, BN, keccak, bufferToHex, Address, toBuffer } from 'ethereumjs-util' |
|
|
|
|
import utils from 'web3-utils' |
|
|
|
|
import { ethers } from 'ethers' |
|
|
|
@ -249,7 +248,7 @@ export class VmProxy { |
|
|
|
|
} |
|
|
|
|
let consoleArgs = iface.decodeFunctionData(functionDesc, payload) |
|
|
|
|
consoleArgs = consoleArgs.map((value) => { |
|
|
|
|
if (isBigNumber(value)) { |
|
|
|
|
if (utils.isBigNumber(value)) { |
|
|
|
|
return value.toString() |
|
|
|
|
} |
|
|
|
|
return value |
|
|
|
|