diff --git a/apps/deploy-web/package.json b/apps/deploy-web/package.json index 452c10658..3a68b1815 100644 --- a/apps/deploy-web/package.json +++ b/apps/deploy-web/package.json @@ -16,6 +16,7 @@ "@akashnetwork/akash-api": "^1.3.0", "@akashnetwork/akashjs": "^0.10.0", "@auth0/nextjs-auth0": "^3.5.0", + "@chain-registry/types": "^0.41.3", "@cosmjs/encoding": "^0.32.3", "@cosmjs/stargate": "^0.32.3", "@cosmos-kit/cosmostation-extension": "^2.6.4", diff --git a/apps/deploy-web/src/chains/akash-sandbox.ts b/apps/deploy-web/src/chains/akash-sandbox.ts index c5df191bb..f351c4e38 100644 --- a/apps/deploy-web/src/chains/akash-sandbox.ts +++ b/apps/deploy-web/src/chains/akash-sandbox.ts @@ -1,3 +1,5 @@ +import { AssetList } from "@chain-registry/types"; + import { akash, akashAssetList } from "./akash"; export const akashSandbox = { @@ -12,4 +14,4 @@ export const akashSandbox = { } }; -export const akashSandboxAssetList = { ...akashAssetList, chain_name: "akash-sandbox", assets: [...akashAssetList.assets] }; +export const akashSandboxAssetList: AssetList = { ...akashAssetList, chain_name: "akash-sandbox", assets: [...akashAssetList.assets] }; diff --git a/apps/deploy-web/src/chains/akash-testnet.ts b/apps/deploy-web/src/chains/akash-testnet.ts index d9457e614..009d4fef5 100644 --- a/apps/deploy-web/src/chains/akash-testnet.ts +++ b/apps/deploy-web/src/chains/akash-testnet.ts @@ -1,3 +1,5 @@ +import { AssetList } from "@chain-registry/types"; + import { akash, akashAssetList } from "./akash"; export const akashTestnet = { @@ -12,4 +14,4 @@ export const akashTestnet = { } }; -export const akashTestnetAssetList = { ...akashAssetList, chain_name: "akash-testnet", assets: [...akashAssetList.assets] }; +export const akashTestnetAssetList: AssetList = { ...akashAssetList, chain_name: "akash-testnet", assets: [...akashAssetList.assets] }; diff --git a/apps/deploy-web/src/components/table/data-table.tsx b/apps/deploy-web/src/components/table/data-table.tsx index e2b123694..2294aefdf 100644 --- a/apps/deploy-web/src/components/table/data-table.tsx +++ b/apps/deploy-web/src/components/table/data-table.tsx @@ -130,7 +130,7 @@ export function DataTable({ return (
- +
diff --git a/apps/deploy-web/src/components/ui/form.tsx b/apps/deploy-web/src/components/ui/form.tsx index d00929dc5..ab350534b 100644 --- a/apps/deploy-web/src/components/ui/form.tsx +++ b/apps/deploy-web/src/components/ui/form.tsx @@ -54,7 +54,6 @@ type FormItemContextValue = { const FormItemContext = React.createContext({} as FormItemContextValue); const FormItem = React.forwardRef>(({ className, ...props }, ref) => { - // @ts-expect-error till types are outdated const id = React.useId(); return ( diff --git a/apps/indexer/src/indexers/messageAddressesIndexer.ts b/apps/indexer/src/indexers/messageAddressesIndexer.ts index e706024d8..51f3c4beb 100644 --- a/apps/indexer/src/indexers/messageAddressesIndexer.ts +++ b/apps/indexer/src/indexers/messageAddressesIndexer.ts @@ -156,4 +156,16 @@ export class MessageAddressesIndexer extends Indexer { return { multisigThreshold, addresses }; } + + initCache(): Promise { + return Promise.resolve(undefined); + } + + seed(): Promise { + return Promise.resolve(undefined); + } + + afterEveryBlock(): Promise { + return Promise.resolve(undefined); + } } diff --git a/apps/indexer/src/indexers/validatorIndexer.ts b/apps/indexer/src/indexers/validatorIndexer.ts index 3ebcddc8f..79fe236df 100644 --- a/apps/indexer/src/indexers/validatorIndexer.ts +++ b/apps/indexer/src/indexers/validatorIndexer.ts @@ -156,4 +156,16 @@ export class ValidatorIndexer extends Indexer { await validator.save({ transaction: dbTransaction }); } + + initCache(): Promise { + return Promise.resolve(undefined); + } + + afterEveryTransaction(): Promise { + return Promise.resolve(undefined); + } + + afterEveryBlock(): Promise { + return Promise.resolve(undefined); + } } diff --git a/package-lock.json b/package-lock.json index 625cfe31c..a6efc0633 100644 --- a/package-lock.json +++ b/package-lock.json @@ -324,6 +324,7 @@ "@akashnetwork/akash-api": "^1.3.0", "@akashnetwork/akashjs": "^0.10.0", "@auth0/nextjs-auth0": "^3.5.0", + "@chain-registry/types": "^0.41.3", "@cosmjs/encoding": "^0.32.3", "@cosmjs/stargate": "^0.32.3", "@cosmos-kit/cosmostation-extension": "^2.6.4", @@ -453,6 +454,11 @@ "typescript": "^5.3.2" } }, + "apps/deploy-web/node_modules/@chain-registry/types": { + "version": "0.41.4", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.41.4.tgz", + "integrity": "sha512-LeW2nXd0dmnI+TC4L2xC3RNooUthUfou1yFcdsinSW6EP9qEwo2BwwnWWAcMG+dsPvXfM4AfmisVBrxbX2OKqw==" + }, "apps/deploy-web/node_modules/@cosmjs/crypto": { "version": "0.32.3", "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.3.tgz", diff --git a/package.json b/package.json index 985d6a986..c397c578f 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,14 @@ "./apps/*" ], "scripts": { - "lint": "eslint .", - "format": "prettier --write ./**/*.{ts,tsx,js,json}" + "format": "prettier --write ./**/*.{ts,tsx,js,json}", + "lint": "eslint ." }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.11.0", "eslint": "^8.57.0", "eslint-config-next": "^14.2.3", + "eslint-plugin-simple-import-sort": "^12.1.0", "prettier": "^3.3.0", "prettier-plugin-tailwindcss": "^0.6.1" }, @@ -22,8 +23,5 @@ "volta": { "node": "18.20.2", "npm": "10.5.0" - }, - "dependencies": { - "eslint-plugin-simple-import-sort": "^12.1.0" } }