polkadot-js/apps

View on GitHub
packages/apps-config/src/endpoints/productionRelayKusama.ts

Summary

Maintainability
F
6 days
Test Coverage

File productionRelayKusama.ts has 974 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Copyright 2017-2024 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { EndpointOption } from './types.js';

Severity: Major
Found in packages/apps-config/src/endpoints/productionRelayKusama.ts - About 2 days to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://phala.network/',
        info: 'khala',
        paraId: 2004,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 1 hr to fix
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 652..669

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 74.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      {
        homepage: 'https://ksm.vtoken.io/?ref=polkadotjs',
        info: 'bifrost',
        paraId: 2001,
        providers: {
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 100..115
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 130..145

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 64.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      {
        homepage: 'https://ajuna.io',
        info: 'bajun',
        paraId: 2119,
        providers: {
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 40..54
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 423..437
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 700..714
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 815..829

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 59.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      {
        homepage: 'https://app.basilisk.cloud',
        info: 'basilisk',
        paraId: 2090,
        providers: {
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 573..587
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 173..187
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 464..478
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 755..769

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 56.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      {
        homepage: 'https://picasso.composable.finance/',
        info: 'picasso',
        paraId: 2087,
        providers: {
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 88..102
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 173..187
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 464..478
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 755..769

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 56.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      {
        homepage: 'https://shiden.astar.network/',
        info: 'shiden',
        isUnreachable: true,
        paraId: 2120,
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 5 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 418..431
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 705..718
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 581..594
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 595..608
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 728..741

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      {
        homepage: 'https://integritee.network',
        info: 'integritee',
        paraId: 2015,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 6 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 45..58
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 59..72
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 351..364
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 553..566
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 567..580
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 801..814

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      {
        homepage: 'https://clover.finance/',
        info: 'sakura',
        isUnreachable: true,
        paraId: 2016,
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 5 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 418..431
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 737..750
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 581..594
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 595..608
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 728..741

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      {
        homepage: 'https://pendulumchain.org/amplitude',
        info: 'amplitude',
        paraId: 2124,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 6 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 45..58
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 281..294
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 351..364
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 553..566
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 567..580
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 801..814

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      {
        homepage: 'http://apron.network/',
        info: 'kpron',
        isUnreachable: true,
        paraId: 2019,
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 5 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 705..718
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 737..750
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 581..594
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 595..608
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 728..741

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      {
        homepage: 'https://centrifuge.io/altair',
        info: 'altair',
        paraId: 2088,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 6 other locations - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 59..72
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 281..294
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 351..364
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 553..566
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 567..580
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 801..814

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://mangata.finance',
        info: 'mangata',
        paraId: 2110,
        providers: {
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 55 mins to fix
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 479..492

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      {
        homepage: 'https://pioneer.bit.country/?ref=polkadotjs',
        info: 'pioneer',
        paraId: 2096,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 2 other locations - About 50 mins to fix
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 116..129
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 624..637

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 51.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://parallel.fi',
        info: 'heiko',
        paraId: 2085,
        providers: {
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 50 mins to fix
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 638..651

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 51.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://imbue.network',
        info: 'imbue',
        paraId: 2121,
        providers: {
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 50 mins to fix
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 493..506

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 51.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://www.litentry.com/',
        info: 'litmus',
        paraId: 2106,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://acurast.com',
        info: 'acurast',
        paraId: 2239,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://kabocha.network',
        info: 'kabocha',
        paraId: 2113,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://laosnetwork.io/',
        info: 'k-laos',
        paraId: 3336,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://sora.org/',
        info: 'sora',
        paraId: 2011,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://oak.tech',
        info: 'turing',
        paraId: 2114,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 866..878
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 21 locations. Consider refactoring.
    Open

      {
        homepage: 'https://xode.net',
        info: 'xode',
        paraId: 3344,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 20 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 32..44
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 311..323
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 324..336
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 476..488
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 763..775
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 840..852
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 87..99
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 188..200
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 338..350
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 395..407
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 540..552
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 715..727
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 770..782
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 60..72
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 73..85
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 111..123
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 55..67
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 245..257
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 332..344
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 393..405

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      {
        homepage: 'https://zero.io',
        info: 'zero',
        paraId: 2236,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 6 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 119..131
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 249..261
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 451..463
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 47..59
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 98..110
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 209..221

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      {
        homepage: 'https://www.calamari.network/',
        info: 'calamari',
        paraId: 2084,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 6 other locations - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 890..902
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 249..261
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 451..463
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 47..59
    packages/apps-config/src/endpoints/testingRelayPaseo.ts on lines 98..110
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 209..221

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://parallel.fi',
        info: 'heiko',
        isUnreachable: true,
        paraId: 2126,
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 828..839

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      {
        homepage: 'https://trustbase.network/',
        info: 'trustbase',
        isUnreachable: true,
        paraId: 2078,
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 561..572

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 49.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        providers: {
          Dwellir: 'wss://kusama-bridge-hub-rpc.dwellir.com',
          'Dwellir Tunisia': 'wss://kusama-bridge-hub-rpc-tn.dwellir.com',
          IBP1: 'wss://sys.ibp.network/bridgehub-kusama',
          IBP2: 'wss://sys.dotters.network/bridgehub-kusama',
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 910..920

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 48.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        providers: {
          Dwellir: 'wss://asset-hub-kusama-rpc.dwellir.com',
          'Dwellir Tunisia': 'wss://statemine-rpc-tn.dwellir.com',
          IBP1: 'wss://sys.ibp.network/statemine',
          IBP2: 'wss://sys.dotters.network/statemine',
    Severity: Minor
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 1 other location - About 40 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 933..943

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 48.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

      {
        homepage: 'https://listen.io/',
        info: 'listen',
        paraId: 2118,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 3 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 375..388
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 146..159
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 365..378

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

      {
        homepage: 'https://dico.io/',
        info: 'kico',
        paraId: 2107,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 3 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 462..475
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 146..159
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 365..378

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://www.aresprotocol.io/mars',
        info: 'mars',
        paraId: 2008,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://hyperbridge.network',
        info: 'hyperbridge',
        paraId: 3340,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://www.t3rn.io/',
        info: 't1rn',
        paraId: 3334,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://dico.io/',
        info: 'kico 2',
        paraId: 2235,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://riodefi.com',
        info: 'riodefi',
        paraId: 2227,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://dorafactory.org/kusama/',
        info: 'dorafactory',
        paraId: 2115,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://polkasmith.polkafoundry.com/',
        info: 'polkasmith',
        paraId: 2009,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://standard.tech/',
        info: 'unorthodox',
        paraId: 2094,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://a.band',
        info: 'aband',
        paraId: 2257,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://genshiro.io',
        info: 'Genshiro',
        paraId: 2024,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://kylin.network/',
        info: 'pichiu',
        paraId: 2102,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'http://subgame.org/',
        info: 'subgame',
        paraId: 2018,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://subsocial.network/',
        info: 'subsocialX',
        paraId: 2100,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 815..827
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 24 locations. Consider refactoring.
    Open

      {
        homepage: 'https://www.datahighway.com/',
        info: 'tanganika',
        paraId: 2116,
        providers: {
    Severity: Major
    Found in packages/apps-config/src/endpoints/productionRelayKusama.ts and 23 other locations - About 35 mins to fix
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 19..31
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 196..208
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 209..221
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 254..266
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 389..401
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 515..527
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 588..600
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 615..627
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 658..670
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 776..788
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 789..801
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 802..814
    packages/apps-config/src/endpoints/productionRelayKusama.ts on lines 853..865
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 55..67
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 160..172
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 438..450
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 527..539
    packages/apps-config/src/endpoints/productionRelayPolkadot.ts on lines 742..754
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 19..31
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 294..306
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 319..331
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 486..498
    packages/apps-config/src/endpoints/testingRelayRococo.ts on lines 581..593

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status