From 90fb3daa4a695ce4e8552ab904d32fd756e898ee Mon Sep 17 00:00:00 2001 From: Sniezka Date: Thu, 18 Jul 2024 15:12:15 +0200 Subject: [PATCH] Removed unused imports --- src/invariant.ts | 6 ++---- test/sdk/e2e/get-tickmap.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/invariant.ts b/src/invariant.ts index 5e54cc5..5eb3fb2 100644 --- a/src/invariant.ts +++ b/src/invariant.ts @@ -1,4 +1,3 @@ -import { assert } from 'console' import { AddFeeTier, ChangeFeeReceiver, @@ -15,7 +14,7 @@ import { WithdrawProtocolFee } from '../artifacts/ts' import { FeeTier, Pool, PoolKey, Position, QuoteResult, Tick } from '../artifacts/ts/types' -import { calculateSqrtPriceAfterSlippage, calculateTick, getMaxTick, getMinTick } from './math' +import { calculateSqrtPriceAfterSlippage, calculateTick } from './math' import { Network } from './network' import { getReserveAddress } from './testUtils' import { @@ -29,14 +28,13 @@ import { MAP_ENTRY_DEPOSIT, waitTxConfirmed, constructTickmap, - decodeU256, getMaxBatch, decodePools, decodePoolKeys, getNodeUrl, signAndSend } from './utils' -import { ChunkSize, ChunksPerBatch, MAX_BATCHES_QUERIED } from './consts' +import { MAX_BATCHES_QUERIED } from './consts' import { Address, ALPH_TOKEN_ID, diff --git a/test/sdk/e2e/get-tickmap.test.ts b/test/sdk/e2e/get-tickmap.test.ts index 693d90a..449aff4 100644 --- a/test/sdk/e2e/get-tickmap.test.ts +++ b/test/sdk/e2e/get-tickmap.test.ts @@ -1,4 +1,4 @@ -import { ONE_ALPH, sleep, web3 } from '@alephium/web3' +import { ONE_ALPH, web3 } from '@alephium/web3' import { getSigner } from '@alephium/web3-test' import { Invariant } from '../../../src/invariant' import { Network } from '../../../src/network' @@ -22,7 +22,7 @@ let tokenY: TokenFaucetInstance let feeTier: FeeTier let poolKey: PoolKey -describe('init invariant test', () => { +describe('query tickmap tests', () => { const initialFee = 0n const [fee] = getBasicFeeTickSpacing() const tickSpacing = 1n