diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/blockTags.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/blockTags.ts index cc7d2d3c60..515da73b3d 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/blockTags.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/blockTags.ts @@ -1,7 +1,7 @@ import { assert } from "chai"; import { zeroAddress } from "ethereumjs-util"; -import { RpcBlockOutput } from "../../../../../../internal/hardhat-network/provider/output"; +import { RpcBlockOutput } from "../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidArgumentsError, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/blockNumber.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/blockNumber.ts index 9d0c754a34..0c7a747f88 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/blockNumber.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/blockNumber.ts @@ -1,6 +1,6 @@ import { assert } from "chai"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity } from "../../../../helpers/assertions"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/call.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/call.ts index 56a3f5e785..2e09131a4e 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/call.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/call.ts @@ -5,8 +5,10 @@ import { numberToRpcQuantity, rpcDataToNumber, rpcQuantityToNumber, -} from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { getCurrentTimestamp } from "../../../../../../../internal/hardhat-network/provider/utils/getCurrentTimestamp"; + rpcDataToBN, + rpcQuantityToBN, +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { getCurrentTimestamp } from "../../../../../../../src/internal/hardhat-network/provider/utils/getCurrentTimestamp"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidInputError } from "../../../../helpers/assertions"; import { @@ -26,10 +28,6 @@ import { sendTxToZeroAddress, } from "../../../../helpers/transactions"; import { compileLiteral } from "../../../../stack-traces/compilation"; -import { - rpcDataToBN, - rpcQuantityToBN, -} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; describe("Eth module", function () { PROVIDERS.forEach(({ name, useProvider, isFork }) => { diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/estimateGas.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/estimateGas.ts index 010b8375e1..915be1eacf 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/estimateGas.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/estimateGas.ts @@ -7,7 +7,10 @@ import { FeeMarketEIP1559Transaction, Transaction, } from "@ethereumjs/tx"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { + numberToRpcQuantity, + rpcQuantityToBN, +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidInputError } from "../../../../helpers/assertions"; import { EXAMPLE_CONTRACT } from "../../../../helpers/contracts"; @@ -20,7 +23,6 @@ import { retrieveForkBlockNumber } from "../../../../helpers/retrieveForkBlockNu import { deployContract } from "../../../../helpers/transactions"; import { HardhatNode } from "../../../../../../../src/internal/hardhat-network/provider/node"; import { RpcBlockOutput } from "../../../../../../../src/internal/hardhat-network/provider/output"; -import { rpcQuantityToBN } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; describe("Eth module", function () { PROVIDERS.forEach(({ name, useProvider, isFork }) => { diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByHash.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByHash.ts index 6e5ea738d6..48960f3db8 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByHash.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByHash.ts @@ -1,10 +1,10 @@ import { assert } from "chai"; -import { COINBASE_ADDRESS } from "../../../../../../../internal/hardhat-network/provider/node"; +import { COINBASE_ADDRESS } from "../../../../../../../src/internal/hardhat-network/provider/node"; import { RpcBlockOutput, RpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity } from "../../../../helpers/assertions"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByNumber.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByNumber.ts index a75aba116b..3b21e75acf 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByNumber.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockByNumber.ts @@ -5,12 +5,12 @@ import { numberToRpcQuantity, rpcQuantityToBN, rpcQuantityToNumber, -} from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { COINBASE_ADDRESS } from "../../../../../../../internal/hardhat-network/provider/node"; +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { COINBASE_ADDRESS } from "../../../../../../../src/internal/hardhat-network/provider/node"; import { RpcBlockOutput, RpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity } from "../../../../helpers/assertions"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByHash.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByHash.ts index 587f549064..ae3411184e 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByHash.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByHash.ts @@ -1,10 +1,10 @@ import { assert } from "chai"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { RpcBlockOutput, RpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity } from "../../../../helpers/assertions"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByNumber.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByNumber.ts index 9db477de02..973f6cc37c 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByNumber.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getBlockTransactionCountByNumber.ts @@ -1,6 +1,6 @@ import { assert } from "chai"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity } from "../../../../helpers/assertions"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getCode.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getCode.ts index 4c75743f37..46db61fbeb 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getCode.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getCode.ts @@ -1,8 +1,8 @@ import { assert } from "chai"; import { zeroAddress } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { randomAddress } from "../../../../../../../internal/hardhat-network/provider/fork/random"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { randomAddress } from "../../../../../../../src/internal/hardhat-network/provider/fork/random"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidInputError } from "../../../../helpers/assertions"; import { EXAMPLE_CONTRACT } from "../../../../helpers/contracts"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getFilterLogs.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getFilterLogs.ts index 8b17356b4b..201790c84f 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getFilterLogs.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getFilterLogs.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { numberToRpcQuantity, rpcQuantityToNumber, -} from "../../../../../../../internal/core/jsonrpc/types/base-types"; +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { EXAMPLE_CONTRACT } from "../../../../helpers/contracts"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getLogs.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getLogs.ts index 1e35aca917..7279677f5d 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getLogs.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getLogs.ts @@ -3,7 +3,7 @@ import { assert } from "chai"; import { numberToRpcQuantity, rpcQuantityToNumber, -} from "../../../../../../../internal/core/jsonrpc/types/base-types"; +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { EXAMPLE_CONTRACT } from "../../../../helpers/contracts"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getStorageAt.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getStorageAt.ts index d0754b6cd2..80d595a3d6 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getStorageAt.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getStorageAt.ts @@ -1,6 +1,6 @@ import { assert } from "chai"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { EXAMPLE_CONTRACT } from "../../../../helpers/contracts"; import { setCWD } from "../../../../helpers/cwd"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockHashAndIndex.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockHashAndIndex.ts index d1694ca2bf..5bf8f2316e 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockHashAndIndex.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockHashAndIndex.ts @@ -1,13 +1,13 @@ import { assert } from "chai"; import { BN, setLengthLeft, toBuffer, zeroAddress } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { TransactionParams } from "../../../../../../../internal/hardhat-network/provider/node-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { TransactionParams } from "../../../../../../../src/internal/hardhat-network/provider/node-types"; import { AccessListEIP2930RpcTransactionOutput, EIP1559RpcTransactionOutput, LegacyRpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertAccessListTransaction, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockNumberAndIndex.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockNumberAndIndex.ts index e8ac9325d0..f034a9cab8 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockNumberAndIndex.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByBlockNumberAndIndex.ts @@ -1,13 +1,13 @@ import { assert } from "chai"; import { BN, toBuffer, zeroAddress } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { TransactionParams } from "../../../../../../../internal/hardhat-network/provider/node-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { TransactionParams } from "../../../../../../../src/internal/hardhat-network/provider/node-types"; import { EIP1559RpcTransactionOutput, LegacyRpcTransactionOutput, AccessListEIP2930RpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertAccessListTransaction, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByHash.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByHash.ts index 2f98b4e0f9..d3698bcc3a 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByHash.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionByHash.ts @@ -9,13 +9,13 @@ import { zeroAddress, } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { TransactionParams } from "../../../../../../../internal/hardhat-network/provider/node-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { TransactionParams } from "../../../../../../../src/internal/hardhat-network/provider/node-types"; import { AccessListEIP2930RpcTransactionOutput, EIP1559RpcTransactionOutput, LegacyRpcTransactionOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertAccessListTransaction, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionCount.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionCount.ts index 51728dfcc5..0e78a20aaf 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionCount.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionCount.ts @@ -1,7 +1,7 @@ import { zeroAddress } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { randomAddress } from "../../../../../../../internal/hardhat-network/provider/fork/random"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { randomAddress } from "../../../../../../../src/internal/hardhat-network/provider/fork/random"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidInputError, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionReceipt.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionReceipt.ts index de2c7128fe..569d3e1e0c 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionReceipt.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/getTransactionReceipt.ts @@ -1,12 +1,12 @@ import { assert } from "chai"; import { BN, bufferToHex, toBuffer } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { TransactionParams } from "../../../../../../../internal/hardhat-network/provider/node-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { TransactionParams } from "../../../../../../../src/internal/hardhat-network/provider/node-types"; import { RpcBlockOutput, RpcReceiptOutput, -} from "../../../../../../../internal/hardhat-network/provider/output"; +} from "../../../../../../../src/internal/hardhat-network/provider/output"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertQuantity, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/index.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/index.ts index 60ef6908c8..4e7f54372f 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/index.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/index.ts @@ -1,6 +1,6 @@ import { assert } from "chai"; -import { COINBASE_ADDRESS } from "../../../../../../../internal/hardhat-network/provider/node"; +import { COINBASE_ADDRESS } from "../../../../../../../src/internal/hardhat-network/provider/node"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertNotSupported, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/newPendingTransactionFilter.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/newPendingTransactionFilter.ts index c2f58b369e..45e402acff 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/newPendingTransactionFilter.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/newPendingTransactionFilter.ts @@ -1,7 +1,7 @@ import { assert } from "chai"; import { zeroAddress } from "ethereumjs-util"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { setCWD } from "../../../../helpers/cwd"; import { PROVIDERS } from "../../../../helpers/providers"; diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/sendTransaction.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/sendTransaction.ts index a912f06366..575a48fd72 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/sendTransaction.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/sendTransaction.ts @@ -4,8 +4,9 @@ import { BN, bufferToHex, toBuffer, zeroAddress } from "ethereumjs-util"; import { numberToRpcQuantity, rpcQuantityToNumber, -} from "../../../../../../../internal/core/jsonrpc/types/base-types"; -import { InvalidInputError } from "../../../../../../../internal/core/providers/errors"; + rpcQuantityToBN, +} from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; +import { InvalidInputError } from "../../../../../../../src/internal/core/providers/errors"; import { workaroundWindowsCiFailures } from "../../../../../../utils/workaround-windows-ci-failures"; import { assertInvalidInputError, @@ -31,7 +32,6 @@ import { EIP1559RpcTransactionOutput, RpcBlockOutput, } from "../../../../../../../src/internal/hardhat-network/provider/output"; -import { rpcQuantityToBN } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; describe("Eth module", function () { PROVIDERS.forEach(({ name, useProvider, isFork, isJsonRpc }) => { diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/subscribe.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/subscribe.ts index fe994a40d3..940422a5f6 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/subscribe.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/methods/subscribe.ts @@ -2,7 +2,7 @@ import { assert } from "chai"; import { zeroAddress } from "ethereumjs-util"; import { ethers } from "ethers"; -import { numberToRpcQuantity } from "../../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../../src/internal/core/jsonrpc/types/base-types"; import { EthereumProvider, EthSubscription, diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/receiptsRoot.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/receiptsRoot.ts index 4571dabaaf..4d9d6d25ce 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/receiptsRoot.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/receiptsRoot.ts @@ -1,6 +1,6 @@ import { assert } from "chai"; -import { numberToRpcQuantity } from "../../../../../../internal/core/jsonrpc/types/base-types"; +import { numberToRpcQuantity } from "../../../../../../src/internal/core/jsonrpc/types/base-types"; import { workaroundWindowsCiFailures } from "../../../../../utils/workaround-windows-ci-failures"; import { setCWD } from "../../../helpers/cwd"; import {