polkadot-js/api

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

Summary

Maintainability
A
1 hr
Test Coverage

Function convertCalls has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function convertCalls (compatTypes: TypeSpec[], registry: Registry, modName: Text, calls: FunctionMetadataV13[], sectionTypes: OverrideModuleType): PalletCallMetadataV14 {
Severity: Minor
Found in packages/types/src/metadata/v13/toV14.ts - About 35 mins to fix

    Function convertErrors has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function convertErrors (compatTypes: TypeSpec[], registry: Registry, modName: Text, errors: ErrorMetadataV13[], _sectionTypes: OverrideModuleType): PalletErrorMetadataV14 {
    Severity: Minor
    Found in packages/types/src/metadata/v13/toV14.ts - About 35 mins to fix

      Function convertEvents has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function convertEvents (compatTypes: TypeSpec[], registry: Registry, modName: Text, events: EventMetadataV13[], sectionTypes: OverrideModuleType): PalletEventMetadataV14 {
      Severity: Minor
      Found in packages/types/src/metadata/v13/toV14.ts - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status