diff --git a/src/services/blocks/BlocksService.ts b/src/services/blocks/BlocksService.ts index 0778755ba..b3ce2a5e8 100644 --- a/src/services/blocks/BlocksService.ts +++ b/src/services/blocks/BlocksService.ts @@ -18,8 +18,8 @@ import type { ApiPromise } from '@polkadot/api'; import type { ApiDecoration } from '@polkadot/api/types'; -import type { extractAuthor } from '@polkadot/api-derive/type/util'; -import type { Compact, GenericCall, Option, Struct, Text, u32, Vec } from '@polkadot/types'; +import { extractAuthor } from '@polkadot/api-derive/type/util'; +import { Compact, GenericCall, Option, Struct, Text, u32, Vec } from '@polkadot/types'; import type { GenericExtrinsic } from '@polkadot/types/extrinsic'; import type { AccountId32, @@ -44,7 +44,7 @@ import { BadRequest, InternalServerError } from 'http-errors'; import LRU from 'lru-cache'; import { QueryFeeDetailsCache } from '../../chains-config/cache'; -import type { +import { IBlock, IBlockRaw, IExtrinsic, @@ -54,7 +54,7 @@ import type { isFrameMethod, } from '../../types/responses'; import type { IOption } from '../../types/util'; -import type { isPaysFee } from '../../types/util'; +import { isPaysFee } from '../../types/util'; import { PromiseQueue } from '../../util/PromiseQueue'; import { AbstractService } from '../AbstractService'; import { XcmDecoder } from './XCMDecoder'; diff --git a/src/test-helpers/registries/assetHubKusamaRegistry.ts b/src/test-helpers/registries/assetHubKusamaRegistry.ts index 0926b6042..5f1642346 100644 --- a/src/test-helpers/registries/assetHubKusamaRegistry.ts +++ b/src/test-helpers/registries/assetHubKusamaRegistry.ts @@ -14,9 +14,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -import type { Metadata } from '@polkadot/types'; -import type { TypeRegistry } from '@polkadot/types'; -import type { getSpecTypes } from '@polkadot/types-known'; +import { Metadata } from '@polkadot/types'; +import { TypeRegistry } from '@polkadot/types'; +import { getSpecTypes } from '@polkadot/types-known'; import { assetHubKusamaV14 } from '../metadata/assetHubKusamaMetadata'; import { assetHubKusamaV1000000 } from '../metadata/assetHubKusamaMetadataV1000000'; diff --git a/src/test-helpers/registries/polkadotRegistry.ts b/src/test-helpers/registries/polkadotRegistry.ts index e1025c570..152f5ffa6 100644 --- a/src/test-helpers/registries/polkadotRegistry.ts +++ b/src/test-helpers/registries/polkadotRegistry.ts @@ -14,9 +14,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -import type { Metadata } from '@polkadot/types'; -import type { TypeRegistry } from '@polkadot/types'; -import type { getSpecTypes } from '@polkadot/types-known'; +import { Metadata } from '@polkadot/types'; +import { TypeRegistry } from '@polkadot/types'; +import { getSpecTypes } from '@polkadot/types-known'; import { polkadotMetadataRpcV16 } from '../metadata/polkadotV16Metadata'; import { polkadotMetadataRpcV29 } from '../metadata/polkadotV29Metadata';