diff --git a/packages/prover/test/unit/proof_provider/payload_store.test.ts b/packages/prover/test/unit/proof_provider/payload_store.test.ts index b482bb579e77..1557805f31bb 100644 --- a/packages/prover/test/unit/proof_provider/payload_store.test.ts +++ b/packages/prover/test/unit/proof_provider/payload_store.test.ts @@ -4,7 +4,7 @@ import {ApiClient, ApiResponse, HttpStatusCode, routes} from "@lodestar/api"; import {hash} from "@lodestar/utils"; import {Logger} from "@lodestar/logger"; import {ExecutionPayload, SignedBeaconBlock, capella} from "@lodestar/types"; -import {toHexString} from "@lodestar/utils"; +import {toHexString} from "@lodestar/utils/browser"; import {ForkName} from "@lodestar/params"; import {PayloadStore} from "../../../src/proof_provider/payload_store.js"; import {MAX_PAYLOAD_HISTORY} from "../../../src/constants.js"; diff --git a/packages/reqresp/test/unit/response/index.test.ts b/packages/reqresp/test/unit/response/index.test.ts index 62a8e63f3fe0..90c66696dcac 100644 --- a/packages/reqresp/test/unit/response/index.test.ts +++ b/packages/reqresp/test/unit/response/index.test.ts @@ -1,6 +1,6 @@ import {describe, it, expect, beforeEach, afterEach} from "vitest"; import {PeerId} from "@libp2p/interface"; -import {LodestarError, fromHex} from "@lodestar/utils"; +import {LodestarError, fromHex} from "@lodestar/utils/node"; import {getEmptyLogger} from "@lodestar/logger/empty"; import {Protocol, RespStatus} from "../../../src/index.js"; import {ReqRespRateLimiter} from "../../../src/rate_limiter/ReqRespRateLimiter.js"; diff --git a/packages/reqresp/test/utils/index.ts b/packages/reqresp/test/utils/index.ts index afddace8328d..0cc94d359a5f 100644 --- a/packages/reqresp/test/utils/index.ts +++ b/packages/reqresp/test/utils/index.ts @@ -3,7 +3,7 @@ import {logger} from "@libp2p/logger"; import {expect} from "vitest"; import {Uint8ArrayList} from "uint8arraylist"; import {toHexString} from "@chainsafe/ssz"; -import {fromHex} from "@lodestar/utils"; +import {fromHex} from "@lodestar/utils/node"; import {ResponseIncoming, RespStatus} from "../../src/index.js"; import {ResponseChunk} from "../fixtures/index.js";