Skip to content

Commit

Permalink
Removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sniezka1927 committed Jul 18, 2024
1 parent 40b4ce6 commit 90fb3da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/invariant.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { assert } from 'console'
import {
AddFeeTier,
ChangeFeeReceiver,
Expand All @@ -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 {
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions test/sdk/e2e/get-tickmap.test.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 90fb3da

Please sign in to comment.