From 9d095e737b263184f3efc91a95be02d0fa62ac69 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 18 Jan 2024 13:02:34 +0000 Subject: [PATCH] chore: remove unused imports --- yarn-project/merkle-tree/src/test/standard_based_test_suite.ts | 1 - yarn-project/merkle-tree/src/test/utils/create_mem_down.ts | 3 --- yarn-project/p2p/src/client/p2p_client.test.ts | 1 - yarn-project/p2p/src/tx_pool/aztec_kv_tx_pool.test.ts | 1 - yarn-project/pxe/src/database/kv_pxe_database.test.ts | 1 - yarn-project/pxe/src/note_processor/note_processor.test.ts | 2 +- yarn-project/pxe/src/synchronizer/synchronizer.test.ts | 2 +- 7 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 yarn-project/merkle-tree/src/test/utils/create_mem_down.ts diff --git a/yarn-project/merkle-tree/src/test/standard_based_test_suite.ts b/yarn-project/merkle-tree/src/test/standard_based_test_suite.ts index 807d2e7a7605..bfd95e7b3490 100644 --- a/yarn-project/merkle-tree/src/test/standard_based_test_suite.ts +++ b/yarn-project/merkle-tree/src/test/standard_based_test_suite.ts @@ -1,4 +1,3 @@ -import { EthAddress } from '@aztec/circuits.js'; import { AztecKVStore, AztecLmdbStore } from '@aztec/kv-store'; import { Hasher } from '@aztec/types/interfaces'; import { SiblingPath } from '@aztec/types/membership'; diff --git a/yarn-project/merkle-tree/src/test/utils/create_mem_down.ts b/yarn-project/merkle-tree/src/test/utils/create_mem_down.ts deleted file mode 100644 index 0be5ac356043..000000000000 --- a/yarn-project/merkle-tree/src/test/utils/create_mem_down.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { type MemDown, default as memdown } from 'memdown'; - -export const createMemDown = () => (memdown as any)() as MemDown; diff --git a/yarn-project/p2p/src/client/p2p_client.test.ts b/yarn-project/p2p/src/client/p2p_client.test.ts index ecef7242b114..0ca27e097528 100644 --- a/yarn-project/p2p/src/client/p2p_client.test.ts +++ b/yarn-project/p2p/src/client/p2p_client.test.ts @@ -1,5 +1,4 @@ import { L2BlockSource, mockTx } from '@aztec/circuit-types'; -import { EthAddress } from '@aztec/circuits.js'; import { AztecKVStore, AztecLmdbStore } from '@aztec/kv-store'; import { expect, jest } from '@jest/globals'; diff --git a/yarn-project/p2p/src/tx_pool/aztec_kv_tx_pool.test.ts b/yarn-project/p2p/src/tx_pool/aztec_kv_tx_pool.test.ts index 0656ac5c9713..fe030abe6d75 100644 --- a/yarn-project/p2p/src/tx_pool/aztec_kv_tx_pool.test.ts +++ b/yarn-project/p2p/src/tx_pool/aztec_kv_tx_pool.test.ts @@ -1,4 +1,3 @@ -import { EthAddress } from '@aztec/circuits.js'; import { AztecLmdbStore } from '@aztec/kv-store'; import { AztecKVTxPool } from './aztec_kv_tx_pool.js'; diff --git a/yarn-project/pxe/src/database/kv_pxe_database.test.ts b/yarn-project/pxe/src/database/kv_pxe_database.test.ts index 2283e6c5450c..27e0da25f37f 100644 --- a/yarn-project/pxe/src/database/kv_pxe_database.test.ts +++ b/yarn-project/pxe/src/database/kv_pxe_database.test.ts @@ -1,4 +1,3 @@ -import { EthAddress } from '@aztec/circuits.js'; import { AztecLmdbStore } from '@aztec/kv-store'; import { KVPxeDatabase } from './kv_pxe_database.js'; diff --git a/yarn-project/pxe/src/note_processor/note_processor.test.ts b/yarn-project/pxe/src/note_processor/note_processor.test.ts index 280c639ef96e..0b97ebf03263 100644 --- a/yarn-project/pxe/src/note_processor/note_processor.test.ts +++ b/yarn-project/pxe/src/note_processor/note_processor.test.ts @@ -12,7 +12,7 @@ import { Note, TxL2Logs, } from '@aztec/circuit-types'; -import { EthAddress, Fr, MAX_NEW_COMMITMENTS_PER_TX } from '@aztec/circuits.js'; +import { Fr, MAX_NEW_COMMITMENTS_PER_TX } from '@aztec/circuits.js'; import { Grumpkin } from '@aztec/circuits.js/barretenberg'; import { pedersenHash } from '@aztec/foundation/crypto'; import { Point } from '@aztec/foundation/fields'; diff --git a/yarn-project/pxe/src/synchronizer/synchronizer.test.ts b/yarn-project/pxe/src/synchronizer/synchronizer.test.ts index 576425bf7038..44754f4c5436 100644 --- a/yarn-project/pxe/src/synchronizer/synchronizer.test.ts +++ b/yarn-project/pxe/src/synchronizer/synchronizer.test.ts @@ -1,5 +1,5 @@ import { AztecNode, INITIAL_L2_BLOCK_NUM, L2Block, MerkleTreeId } from '@aztec/circuit-types'; -import { BlockHeader, CompleteAddress, EthAddress, Fr, GrumpkinScalar } from '@aztec/circuits.js'; +import { BlockHeader, CompleteAddress, Fr, GrumpkinScalar } from '@aztec/circuits.js'; import { Grumpkin } from '@aztec/circuits.js/barretenberg'; import { SerialQueue } from '@aztec/foundation/fifo'; import { TestKeyStore } from '@aztec/key-store';