Skip to content

[Bug] ConsensusConstants.__new__() got an unexpected keyword argument 'SOFT_FORK6_HEIGHT' #19613

@wiryonolau

Description

@wiryonolau

What happened?

When installing using pip got this error on chia init

pip install --extra-index-url https://pypi.chia.net/simple/ chia-blockchain==2.5.3 miniupnpc==2.2.2

Error

ConsensusConstants(
TypeError: ConsensusConstants.__new__() got an unexpected keyword argument 'SOFT_FORK6_HEIGHT'

Version

2.5.3

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

Traceback (most recent call last):
  File "/usr/local/bin/chia", line 5, in <module>
    from chia.cmds.chia import main
  File "/usr/local/lib/python3.10/site-packages/chia/cmds/chia.py", line 9, in <module>
    from chia.cmds.beta import beta_cmd
  File "/usr/local/lib/python3.10/site-packages/chia/cmds/beta.py", line 10, in <module>
    from chia.cmds.beta_funcs import (
  File "/usr/local/lib/python3.10/site-packages/chia/cmds/beta_funcs.py", line 10, in <module>
    from chia.cmds.cmds_util import format_bytes, validate_directory_writable
  File "/usr/local/lib/python3.10/site-packages/chia/cmds/cmds_util.py", line 18, in <module>
    from chia.consensus.default_constants import DEFAULT_CONSTANTS
  File "/usr/local/lib/python3.10/site-packages/chia/consensus/default_constants.py", line 13, in <module>
    DEFAULT_CONSTANTS = ConsensusConstants(
TypeError: ConsensusConstants.__new__() got an unexpected keyword argument 'SOFT_FORK6_HEIGHT'
chia@486f03ab2f08:~$ ls /usr/local/lib/python3.10/site-packages/chia/consensus/default_constants.py
/usr/local/lib/python3.10/site-packages/chia/consensus/default_constants.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions