diff --git a/src/deploy/db/mongo-adapter/get-adapter.ts b/src/deploy/db/mongo-adapter/get-adapter.ts index 51b8eb06..e3b3394a 100644 --- a/src/deploy/db/mongo-adapter/get-adapter.ts +++ b/src/deploy/db/mongo-adapter/get-adapter.ts @@ -7,7 +7,7 @@ let mongoAdapter : MongoDBAdapter | null = null; export const getMongoAdapter = async () : Promise => { const checkParams = { - // TODO dep: fix type asserion error here + // TODO dep: fix type assertion error here dbUri: process.env.MONGO_DB_URI!, dbName: process.env.MONGO_DB_NAME!, }; diff --git a/src/deploy/missions/contracts/treasury.ts b/src/deploy/missions/contracts/treasury.ts index 0b867f86..28f99ff7 100644 --- a/src/deploy/missions/contracts/treasury.ts +++ b/src/deploy/missions/contracts/treasury.ts @@ -1,10 +1,9 @@ import { BaseDeployMission } from "../base-deploy-mission"; import { ProxyKinds } from "../../constants"; -import { IDeployMissionArgs, TDeployArgs } from "../types"; -import { ethers } from "ethers"; -import { MeowTokenDM } from "./meow-token/meow-token"; +import { TDeployArgs } from "../types"; import { znsNames } from "./names"; + export class ZNSTreasuryDM extends BaseDeployMission { proxyData = { isProxy: true, diff --git a/src/deploy/storage/base-storage-adapter.ts b/src/deploy/storage/base-storage-adapter.ts index c004ad19..1f99370e 100644 --- a/src/deploy/storage/base-storage-adapter.ts +++ b/src/deploy/storage/base-storage-adapter.ts @@ -2,6 +2,7 @@ import { TLogger } from "../campaign/types"; import { IContractDbData, TContractDBDoc } from "../db/types"; +// TODO dep: do we need this class at all? remove this if not used export class BaseStorageAdapter { logger : TLogger; diff --git a/test/ZNSRootRegistrar.test.ts b/test/ZNSRootRegistrar.test.ts index 7630bdf0..9d210eb5 100644 --- a/test/ZNSRootRegistrar.test.ts +++ b/test/ZNSRootRegistrar.test.ts @@ -2,9 +2,12 @@ import * as hre from "hardhat"; import { expect } from "chai"; import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers"; import { - AccessType, defaultRoyaltyFraction, defaultTokenURI, + AccessType, + defaultRoyaltyFraction, + defaultTokenURI, distrConfigEmpty, - hashDomainLabel, INVALID_LENGTH_ERR, + hashDomainLabel, + INVALID_LENGTH_ERR, INITIALIZED_ERR, INVALID_TOKENID_ERC_ERR, normalizeName, @@ -12,9 +15,13 @@ import { NOT_BOTH_OWNER_RAR_ERR, NOT_TOKEN_OWNER_RAR_ERR, ONLY_NAME_OWNER_REG_ERR, - ONLY_OWNER_REGISTRAR_REG_ERR, OwnerOf, PaymentType, REGISTRAR_ROLE, + ONLY_OWNER_REGISTRAR_REG_ERR, + OwnerOf, + PaymentType, + REGISTRAR_ROLE, validateUpgrade, - ZNS_DOMAIN_TOKEN_NAME, ZNS_DOMAIN_TOKEN_SYMBOL, + ZNS_DOMAIN_TOKEN_NAME, + ZNS_DOMAIN_TOKEN_SYMBOL, } from "./helpers"; import { IDistributionConfig } from "./helpers/types"; import * as ethers from "ethers";