From 6c50d7539548c1384a9efad6cea418710fe58fa8 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Dec 2022 21:54:26 +0100 Subject: [PATCH] fix duplicate import statement --- libs/remix-simulator/src/VmProxy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-simulator/src/VmProxy.ts b/libs/remix-simulator/src/VmProxy.ts index 8404d53d5f..e1c3543e8f 100644 --- a/libs/remix-simulator/src/VmProxy.ts +++ b/libs/remix-simulator/src/VmProxy.ts @@ -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