From e9cd78b6b3f559c5f88494981a6cbe8d1fa443c9 Mon Sep 17 00:00:00 2001 From: Phillip Ho Date: Thu, 30 Jan 2025 17:51:35 -0800 Subject: [PATCH] fix lint --- src/server/routes/contract/events/get-all-events.ts | 3 +-- src/shared/utils/transaction/insert-transaction.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server/routes/contract/events/get-all-events.ts b/src/server/routes/contract/events/get-all-events.ts index 7ad7c0cd..c108cf09 100644 --- a/src/server/routes/contract/events/get-all-events.ts +++ b/src/server/routes/contract/events/get-all-events.ts @@ -13,9 +13,8 @@ import { thirdwebClient } from "../../../../shared/utils/sdk"; import { getChain } from "../../../../shared/utils/chain"; import { getChainIdFromChain } from "../../../utils/chain"; import { getContract, getContractEvents } from "thirdweb"; -import { maybeBigInt } from "../../../../shared/utils/primitive-types"; import { - ContractEventV5, + type ContractEventV5, toContractEventV4Schema, } from "../../../schemas/event"; import { createCustomError } from "../../../middleware/error"; diff --git a/src/shared/utils/transaction/insert-transaction.ts b/src/shared/utils/transaction/insert-transaction.ts index 5e9da7d8..7b529b3c 100644 --- a/src/shared/utils/transaction/insert-transaction.ts +++ b/src/shared/utils/transaction/insert-transaction.ts @@ -7,7 +7,6 @@ import { WalletDetailsError, type ParsedWalletDetails, } from "../../../shared/db/wallets/get-wallet-details"; -import { doesChainSupportService } from "../../lib/chain/chain-capabilities"; import { createCustomError } from "../../../server/middleware/error"; import { SendTransactionQueue } from "../../../worker/queues/send-transaction-queue"; import { getChecksumAddress } from "../primitive-types";