Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove @chainsafe/abort-controller #4064

Merged
merged 1 commit into from
May 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/abort-controller": "^3.0.1",
"@chainsafe/lodestar-config": "^0.37.0",
"@chainsafe/lodestar-params": "^0.37.0",
"@chainsafe/lodestar-types": "^0.37.0",
Expand Down
1 change: 0 additions & 1 deletion packages/api/src/client/utils/httpClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {fetch} from "cross-fetch";
import {AbortSignal, AbortController} from "@chainsafe/abort-controller";
import {ErrorAborted, ILogger, TimeoutError} from "@chainsafe/lodestar-utils";
import {ReqGeneric, RouteDef} from "../../utils/index.js";
import {stringifyQuery, urlJoin} from "./format.js";
Expand Down
1 change: 0 additions & 1 deletion packages/api/src/server/events.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {IChainForkConfig} from "@chainsafe/lodestar-config";
import {ServerRoutes} from "./utils/index.js";
import {Api, ReqTypes, routesData, getEventSerdes} from "../routes/events.js";
Expand Down
1 change: 0 additions & 1 deletion packages/api/test/unit/client/httpClient.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {ErrorAborted, TimeoutError} from "@chainsafe/lodestar-utils";
import {AbortController} from "@chainsafe/abort-controller";
import chai, {expect} from "chai";
import chaiAsPromised from "chai-as-promised";
import fastify, {RouteOptions} from "fastify";
Expand Down
1 change: 0 additions & 1 deletion packages/api/test/unit/events.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {sleep} from "@chainsafe/lodestar-utils";
import {config} from "@chainsafe/lodestar-config/default";
import {Api, routesData, EventType, BeaconEvent} from "../../src/routes/events.js";
Expand Down
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"blockchain"
],
"dependencies": {
"@chainsafe/abort-controller": "^3.0.1",
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/bls": "7.1.0",
"@chainsafe/bls-keygen": "^0.3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/cmds/beacon/handler.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {Registry} from "prom-client";
import {AbortController} from "@chainsafe/abort-controller";
import {ErrorAborted} from "@chainsafe/lodestar-utils";
import {LevelDbController} from "@chainsafe/lodestar-db";
import {BeaconNode, BeaconDb, createNodeJsLibp2p} from "@chainsafe/lodestar";
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/cmds/beacon/initBeaconState.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {ssz} from "@chainsafe/lodestar-types";
import {createIBeaconConfig, IBeaconConfig, IChainForkConfig} from "@chainsafe/lodestar-config";
import {ILogger} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/cmds/dev/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {promisify} from "node:util";
import rimraf from "rimraf";
import path from "node:path";
import {fromHexString} from "@chainsafe/ssz";
import {AbortController} from "@chainsafe/abort-controller";
import {GENESIS_SLOT} from "@chainsafe/lodestar-params";
import {BeaconNode, BeaconDb, initStateFromAnchorState, createNodeJsLibp2p, nodeUtils} from "@chainsafe/lodestar";
import {SlashingProtection, Validator, SignerType} from "@chainsafe/lodestar-validator";
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/cmds/validator/handler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {LevelDbController} from "@chainsafe/lodestar-db";
import {SignerType, Signer, SlashingProtection, Validator} from "@chainsafe/lodestar-validator";
import {getMetrics, MetricsRegister} from "@chainsafe/lodestar-validator";
Expand Down
1 change: 0 additions & 1 deletion packages/keymanager-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"blockchain"
],
"dependencies": {
"@chainsafe/abort-controller": "^3.0.1",
"@chainsafe/bls": "7.1.0",
"@chainsafe/bls-keystore": "^2.0.0",
"@chainsafe/lodestar-api": "^0.37.0",
Expand Down
1 change: 0 additions & 1 deletion packages/light-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/abort-controller": "^3.0.1",
"@chainsafe/bls": "7.1.1",
"@chainsafe/lodestar-api": "^0.37.0",
"@chainsafe/lodestar-config": "^0.37.0",
Expand Down
1 change: 0 additions & 1 deletion packages/light-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import mitt from "mitt";
import {AbortController} from "@chainsafe/abort-controller";
import {EPOCHS_PER_SYNC_COMMITTEE_PERIOD, SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";
import {getClient, Api, routes} from "@chainsafe/lodestar-api";
import {altair, phase0, RootHex, ssz, SyncPeriod} from "@chainsafe/lodestar-types";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/abort-controller": "^3.0.1",
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/bls": "7.1.1",
"@chainsafe/discv5": "^0.7.1",
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/archiver/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {ILogger} from "@chainsafe/lodestar-utils";

import {IBeaconDb} from "../../db/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/blocks/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */
import {AbortSignal} from "@chainsafe/abort-controller";
import {allForks} from "@chainsafe/lodestar-types";
import {sleep} from "@chainsafe/lodestar-utils";
import {ChainEvent} from "../emitter.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/bls/multithread/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {spawn, Worker} from "@chainsafe/threads";
// @ts-ignore
// eslint-disable-next-line
self = undefined;
import {AbortSignal} from "@chainsafe/abort-controller";
import bls from "@chainsafe/bls";
import {Implementation, PointFormat} from "@chainsafe/bls/types";
import {ILogger} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {IForkChoice} from "@chainsafe/lodestar-fork-choice";
import {allForks, UintNum64, Root, phase0, Slot, RootHex, Epoch} from "@chainsafe/lodestar-types";
import {ILogger} from "@chainsafe/lodestar-utils";
import {fromHexString} from "@chainsafe/ssz";
import {AbortController} from "@chainsafe/abort-controller";
import {GENESIS_EPOCH, ZERO_HASH} from "../constants/index.js";
import {IBeaconDb} from "../db/index.js";
import {CheckpointStateCache, StateContextCache} from "./stateCache/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/clock/LocalClock.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {Epoch, Slot} from "@chainsafe/lodestar-types";
import {IChainForkConfig} from "@chainsafe/lodestar-config";
import {ErrorAborted} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/eventHandlers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {toHexString} from "@chainsafe/ssz";
import {allForks, Epoch, phase0, Slot, Version} from "@chainsafe/lodestar-types";
import {ILogger} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/genesis/genesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {GENESIS_EPOCH, GENESIS_SLOT} from "@chainsafe/lodestar-params";
import {phase0, ssz} from "@chainsafe/lodestar-types";
import {IBeaconConfig, IChainForkConfig} from "@chainsafe/lodestar-config";
import {toGindex, Tree} from "@chainsafe/persistent-merkle-tree";
import {AbortSignal} from "@chainsafe/abort-controller";
import {
getTemporaryBlockHeader,
getGenesisBeaconState,
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/initState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* @module chain
*/

import {AbortSignal} from "@chainsafe/abort-controller";
import {
blockToHeader,
computeEpochAtSlot,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {computeEpochAtSlot} from "@chainsafe/lodestar-beacon-state-transition";
import {IChainForkConfig} from "@chainsafe/lodestar-config";
import {SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/chain/regen/queued.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {phase0, Slot, allForks, RootHex} from "@chainsafe/lodestar-types";
import {IForkChoice} from "@chainsafe/lodestar-fork-choice";
import {CachedBeaconStateAllForks, computeEpochAtSlot} from "@chainsafe/lodestar-beacon-state-transition";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/eth1/eth1DepositDataTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {phase0, ssz} from "@chainsafe/lodestar-types";
import {IChainForkConfig} from "@chainsafe/lodestar-config";
import {allForks, BeaconStateAllForks} from "@chainsafe/lodestar-beacon-state-transition";
import {ErrorAborted, ILogger, isErrorAborted, sleep} from "@chainsafe/lodestar-utils";
import {AbortSignal} from "@chainsafe/abort-controller";
import {IBeaconDb} from "../db/index.js";
import {Eth1DepositsCache} from "./eth1DepositsCache.js";
import {Eth1DataCache} from "./eth1DataCache.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/eth1/eth1MergeBlockTracker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {IChainConfig} from "@chainsafe/lodestar-config";
import {Epoch, RootHex} from "@chainsafe/lodestar-types";
import {ILogger, isErrorAborted, sleep} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/eth1/provider/eth1Provider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {toHexString} from "@chainsafe/ssz";
import {phase0} from "@chainsafe/lodestar-types";
import {AbortSignal} from "@chainsafe/abort-controller";
import {IChainConfig} from "@chainsafe/lodestar-config";
import {fromHex} from "@chainsafe/lodestar-utils";

Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/eth1/provider/jsonRpcHttpClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Uses cross-fetch for browser + NodeJS cross compatibility
// Note: isomorphic-fetch is not well mantained and does not support abort signals
import fetch from "cross-fetch";
import {AbortController, AbortSignal} from "@chainsafe/abort-controller";

import {ErrorAborted, TimeoutError} from "@chainsafe/lodestar-utils";
import {IJson, IRpcPayload, ReqOpts} from "../interface.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/eth1/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* @module eth1
*/

import {AbortSignal} from "@chainsafe/abort-controller";
import {Eth1Block, IBatchDepositEvents, IEth1Provider, IEth1StreamParams} from "./interface.js";
import {groupDepositEventsByBlock} from "./utils/groupDepositEventsByBlock.js";
import {optimizeNextBlockDiffForGenesis} from "./utils/optimizeNextBlockDiffForGenesis.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/executionEngine/http.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {bellatrix, RootHex, Root} from "@chainsafe/lodestar-types";
import {BYTES_PER_LOGS_BLOOM} from "@chainsafe/lodestar-params";
import {fromHex} from "@chainsafe/lodestar-utils";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/executionEngine/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {IExecutionEngine} from "./interface.js";
import {ExecutionEngineDisabled} from "./disabled.js";
import {ExecutionEngineHttp, ExecutionEngineHttpOpts, defaultExecutionEngineHttpOpts} from "./http.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/gossip/gossipsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const Gossipsub = ((GossipsubDefault as unknown) as {default: unknown}).default
import {GossipsubMessage, SignaturePolicy, TopicStr} from "libp2p-gossipsub/src/types.js";
import {PeerScore, PeerScoreParams} from "libp2p-gossipsub/src/score/index.js";
import PeerId from "peer-id";
import {AbortSignal} from "@chainsafe/abort-controller";
import {IBeaconConfig} from "@chainsafe/lodestar-config";
import {ATTESTATION_SUBNET_COUNT, ForkName, SYNC_COMMITTEE_SUBNET_COUNT} from "@chainsafe/lodestar-params";
import {allForks, altair, phase0} from "@chainsafe/lodestar-types";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/gossip/validation/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {MessageAcceptance} from "libp2p-gossipsub/src/types.js";
import {AbortSignal} from "@chainsafe/abort-controller";
import {IChainForkConfig} from "@chainsafe/lodestar-config";
import {ILogger, mapValues} from "@chainsafe/lodestar-utils";
import {IMetrics} from "../../../metrics/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/gossip/validation/queue.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import {mapValues} from "@chainsafe/lodestar-utils";
import {IMetrics} from "../../../metrics/index.js";
import {JobItemQueue, JobQueueOpts, QueueType} from "../../../util/queue/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import LibP2p, {Connection} from "libp2p";
import PeerId from "peer-id";
import {Multiaddr} from "multiaddr";
import {AbortSignal} from "@chainsafe/abort-controller";
import {IBeaconConfig} from "@chainsafe/lodestar-config";
import {ILogger} from "@chainsafe/lodestar-utils";
import {ATTESTATION_SUBNET_COUNT, ForkName, SYNC_COMMITTEE_SUBNET_COUNT} from "@chainsafe/lodestar-params";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/reqresp/reqResp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {ForkName} from "@chainsafe/lodestar-params";
import {IBeaconConfig} from "@chainsafe/lodestar-config";
import {allForks, phase0} from "@chainsafe/lodestar-types";
import {ILogger} from "@chainsafe/lodestar-utils";
import {AbortController} from "@chainsafe/abort-controller";
import LibP2p from "libp2p";
import PeerId from "peer-id";
import {RespStatus, timeoutOptions} from "../../constants/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/reqresp/request/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortSignal} from "@chainsafe/abort-controller";
import pipe from "it-pipe";
import PeerId from "peer-id";
import {Libp2p} from "libp2p/src/connection-manager";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import pipe from "it-pipe";
import {timeoutOptions} from "../../../constants/index.js";
import {abortableSource} from "../../../util/abortableSource.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/network/reqresp/response/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import PeerId from "peer-id";
import pipe from "it-pipe";
import {AbortSignal} from "@chainsafe/abort-controller";
import {ILogger, TimeoutError, withTimeout} from "@chainsafe/lodestar-utils";
import {IBeaconConfig} from "@chainsafe/lodestar-config";
import {REQUEST_TIMEOUT, RespStatus} from "../../../constants/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/node/nodejs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* @module node
*/

import {AbortController} from "@chainsafe/abort-controller";
import LibP2p from "libp2p";
import {Registry} from "prom-client";

Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/node/notifier.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {IBeaconConfig} from "@chainsafe/lodestar-config";
import {ErrorAborted, ILogger, sleep, prettyBytes} from "@chainsafe/lodestar-utils";
import {AbortSignal} from "@chainsafe/abort-controller";
import {EPOCHS_PER_SYNC_COMMITTEE_PERIOD, SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";
import {computeEpochAtSlot, bellatrix} from "@chainsafe/lodestar-beacon-state-transition";
import {IBeaconChain} from "../chain/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/src/sync/backfill/backfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {IBeaconConfig, IChainForkConfig} from "@chainsafe/lodestar-config";
import {phase0, Root, Slot, allForks, ssz} from "@chainsafe/lodestar-types";
import {ErrorAborted, ILogger, sleep} from "@chainsafe/lodestar-utils";
import {toHexString} from "@chainsafe/ssz";
import {AbortSignal} from "@chainsafe/abort-controller";

import {IBeaconChain} from "../../chain/index.js";
import {GENESIS_SLOT, ZERO_HASH} from "../../constants/index.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/chain/bls/multithread.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import chai, {expect} from "chai";
import chaiAsPromised from "chai-as-promised";
import {AbortController} from "@chainsafe/abort-controller";
import bls from "@chainsafe/bls";
import {ISignatureSet, SignatureSetType} from "@chainsafe/lodestar-beacon-state-transition";
import {BlsMultiThreadWorkerPool} from "../../../../src/chain/bls/multithread/index.js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import "mocha";
import {expect} from "chai";
import {promisify} from "node:util";
import leveldown from "leveldown";
import {AbortController} from "@chainsafe/abort-controller";
import {sleep} from "@chainsafe/lodestar-utils";
import {LevelDbController} from "@chainsafe/lodestar-db";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {IChainConfig} from "@chainsafe/lodestar-config";
import {sleep} from "@chainsafe/lodestar-utils";
import {fromHexString} from "@chainsafe/ssz";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/eth1/eth1Provider.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import "mocha";
import {expect} from "chai";
import {AbortController} from "@chainsafe/abort-controller";
import {Eth1Options} from "../../../src/eth1/options.js";
import {getTestnetConfig} from "../../utils/testnet.js";
import {fromHexString} from "@chainsafe/ssz";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/eth1/jsonRpcHttpClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import "mocha";
import chai, {expect} from "chai";
import chaiAsPromised from "chai-as-promised";
import http from "node:http";
import {AbortController} from "@chainsafe/abort-controller";
import {JsonRpcHttpClient} from "../../../src/eth1/provider/jsonRpcHttpClient.js";
import {getGoerliRpcUrl} from "../../testParams.js";
import {IRpcPayload} from "../../../src/eth1/interface.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/eth1/stream.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import "mocha";
import {expect} from "chai";
import {AbortController} from "@chainsafe/abort-controller";
import {getTestnetConfig, medallaTestnetConfig} from "../../utils/testnet.js";
import {getDepositsStream, getDepositsAndBlockStreamForGenesis} from "../../../src/eth1/stream.js";
import {Eth1Provider} from "../../../src/eth1/provider/eth1Provider.js";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/network/gossipsub.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sinon from "sinon";
import {expect} from "chai";
import {AbortController} from "@chainsafe/abort-controller";
import {createIBeaconConfig} from "@chainsafe/lodestar-config";
import {config} from "@chainsafe/lodestar-config/default";
import {phase0, ssz} from "@chainsafe/lodestar-types";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/network/network.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sinon from "sinon";
import {expect} from "chai";
import {AbortController} from "@chainsafe/abort-controller";

import PeerId from "peer-id";
import {ENR} from "@chainsafe/discv5";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/e2e/network/reqresp.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import chai, {expect} from "chai";
import chaiAsPromised from "chai-as-promised";
import {AbortController} from "@chainsafe/abort-controller";
import PeerId from "peer-id";
import {createIBeaconConfig} from "@chainsafe/lodestar-config";
import {config} from "@chainsafe/lodestar-config/default";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/sim/merge-interop.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import fs from "node:fs";
import net from "node:net";
import {spawn} from "node:child_process";
import {Context} from "mocha";
import {AbortController, AbortSignal} from "@chainsafe/abort-controller";
import {fromHexString} from "@chainsafe/ssz";
import {LogLevel, sleep, TimestampFormatCode} from "@chainsafe/lodestar-utils";
import {SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/sim/shell.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import childProcess from "node:child_process";
import {AbortSignal} from "@chainsafe/abort-controller";

/**
* If timeout is greater than 0, the parent will send the signal
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/unit/api/impl/events/events.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {expect} from "chai";
import sinon, {SinonStubbedInstance} from "sinon";
import {routes} from "@chainsafe/lodestar-api";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/unit/chain/clock/local.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import sinon from "sinon";
import {AbortController} from "@chainsafe/abort-controller";
import {expect} from "chai";
import {config} from "@chainsafe/lodestar-config/default";

Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/unit/chain/genesis/genesis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
import {ValidatorIndex, phase0, ssz} from "@chainsafe/lodestar-types";
import {ErrorAborted} from "@chainsafe/lodestar-utils";
import {toHexString} from "@chainsafe/ssz";
import {AbortController} from "@chainsafe/abort-controller";
import {GenesisBuilder} from "../../../../src/chain/genesis/genesis.js";
import {testLogger} from "../../../utils/logger.js";
import {ZERO_HASH_HEX} from "../../../../src/constants/index.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {config} from "@chainsafe/lodestar-config/default";
import {AbortController} from "@chainsafe/abort-controller";
import {ForkChoice, IProtoBlock} from "@chainsafe/lodestar-fork-choice";
import {WinstonLogger} from "@chainsafe/lodestar-utils";
import {expect} from "chai";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import {IChainConfig} from "@chainsafe/lodestar-config";
import {sleep} from "@chainsafe/lodestar-utils";
import {toHexString} from "@chainsafe/ssz";
Expand Down
1 change: 0 additions & 1 deletion packages/lodestar/test/unit/executionEngine/http.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import chai, {expect} from "chai";
import chaiAsPromised from "chai-as-promised";
import {fastify} from "fastify";
import {AbortController} from "@chainsafe/abort-controller";
import {
ExecutionEngineHttp,
parseExecutionPayload,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AbortController} from "@chainsafe/abort-controller";
import all from "it-all";
import pipe from "it-pipe";
import {LodestarError, sleep as _sleep} from "@chainsafe/lodestar-utils";
Expand Down
Loading