Skip to content

Can't start pool #286

Open
Open

Description

@rabbitii

(venv) root@chia-pool:~/pool-reference# CHIA_ROOT="/root/.chia/mainnet/" ./venv/bin/python -m pool
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/root/pool-reference/pool/main.py", line 1, in
from pool.pool_server import main
File "/root/pool-reference/pool/pool_server.py", line 35, in
from .pool import Pool
File "/root/pool-reference/pool/pool.py", line 50, in
from .singleton import create_absorb_transaction, get_singleton_state, get_coin_spend, get_farmed_height
File "/root/pool-reference/pool/singleton.py", line 20, in
from chia.types.blockchain_format.program import Program, SerializedProgram
ImportError: cannot import name 'SerializedProgram' from 'chia.types.blockchain_format.program' (/root/pool-reference/venv/lib/python3.10/site-packages/chia/types/blockchain_format/program.py)

Activity

  1. netcom-rs commented on Mar 10, 2023

    @netcom-rs

    This is caused by some changes. please change following line in /root/pool-reference/pool/singleton.py

    from chia.types.blockchain_format.program import Program, SerializedProgram

    to

    from chia.types.blockchain_format.serialized_program import Program, SerializedProgram.

    Cheers.

  2. AmineKhaldi commented on Mar 10, 2023

    @AmineKhaldi
    Contributor

    I sent #287 to address this. Thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions