inertia186/radiator

View on GitHub
lib/radiator/chain_config.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [96/80]
Open

    NETWORKS_STEEM_CHAIN_ID = '0000000000000000000000000000000000000000000000000000000000000000'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_DEFAULT_NODE = 'https://test.steem.ws'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Trailing whitespace detected.
Open

    
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Trailing whitespace detected.
Open

    
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_DEBT_ASSET = 'SBD'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Trailing whitespace detected.
Open

    
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_DEBT_ASSET = 'TEST'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_CHAIN_ID = '18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Line is too long. [97/80]
Open

    NETWORK_CHAIN_IDS = [NETWORKS_STEEM_CHAIN_ID, NETWORKS_HIVE_CHAIN_ID, NETWORKS_TEST_CHAIN_ID]
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_CHAIN_ID = '0000000000000000000000000000000000000000000000000000000000000000'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_VEST_ASSET = 'VESTS'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_VEST_ASSET = 'CESTS'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Line is too long. [95/80]
Open

    NETWORKS_TEST_CHAIN_ID = '18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_CORE_ASSET = 'HIVE'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_CORE_ASSET = 'CORE'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Trailing whitespace detected.
Open

    
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Line is too long. [95/80]
Open

    NETWORKS_HIVE_CHAIN_ID = 'beeab0de00000000000000000000000000000000000000000000000000000000'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_VEST_ASSET = 'VESTS'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORK_CHAIN_IDS = [NETWORKS_STEEM_CHAIN_ID, NETWORKS_HIVE_CHAIN_ID, NETWORKS_TEST_CHAIN_ID]
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_ADDRESS_PREFIX = 'STM'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_DEBT_ASSET = 'HBD'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_CORE_ASSET = 'STEEM'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_ADDRESS_PREFIX = 'STM'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_STEEM_DEFAULT_NODE = 'https://api.steemit.com'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_TEST_ADDRESS_PREFIX = 'TST'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_CHAIN_ID = 'beeab0de00000000000000000000000000000000000000000000000000000000'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

    NETWORKS_HIVE_DEFAULT_NODE = 'https://api.openhive.network'
Severity: Minor
Found in lib/radiator/chain_config.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

There are no issues that match your filters.

Category
Status