polkadot-js/api

View on GitHub
packages/types/src/metadata/v13/toV14.ts

Summary

Maintainability
A
2 hrs
Test Coverage

File toV14.ts has 263 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Copyright 2017-2022 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Text, Type } from '@polkadot/types-codec';
import type { ErrorMetadataV13, EventMetadataV13, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionMetadataV13, MetadataV13, MetadataV14, ModuleConstantMetadataV13, ModuleMetadataV13, PalletCallMetadataV14, PalletConstantMetadataV14, PalletErrorMetadataV14, PalletEventMetadataV14, PalletMetadataV14, PalletStorageMetadataV14, StorageEntryMetadataV14, StorageEntryTypeV14, StorageHasherV13, StorageMetadataV13 } from '../../interfaces/metadata';
Severity: Minor
Found in packages/types/src/metadata/v13/toV14.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status