Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to chia-blockchain 1.8.1 #31

Merged
merged 5 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
fi
pip install --extra-index https://pypi.chia.net/simple/ --editable .[dev]
chia init
echo -ne "\n" | cdv sim create
echo -ne "\n" | chia dev sim create
export CHIA_ROOT=~/.chia/simulator/main/
chia start wallet
sleep 10
Expand Down
5 changes: 2 additions & 3 deletions chianft/util/mint.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
from chia.types.spend_bundle import SpendBundle
from chia.util.byte_types import hexstr_to_bytes
from chia.util.ints import uint64
from chia.wallet.did_wallet.did_wallet_puzzles import LAUNCHER_PUZZLE_HASH
from chia.wallet.singleton import SINGLETON_LAUNCHER_PUZZLE_HASH
from chia.wallet.trading.offer import Offer
from chia.wallet.util.wallet_types import WalletType


class Minter:
def __init__(
self,
Expand Down Expand Up @@ -439,7 +438,7 @@ async def submit_spend_bundles(
launcher_ids = [
coin.name().hex()
for coin in sb.removals()
if coin.puzzle_hash == LAUNCHER_PUZZLE_HASH
if coin.puzzle_hash == SINGLETON_LAUNCHER_PUZZLE_HASH
]
if create_sell_offer:
await self.create_offer(launcher_ids, create_sell_offer)
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
long_description = fh.read()

dependencies = [
# "chia-blockchain @ git+https://github.com/Chia-Network/[email protected]",
"chia-blockchain==1.7.0",
"packaging==21.3",
"chia-blockchain==1.8.1",
"packaging==23.0",
]

dev_dependencies = [
"build",
"click~=8.1.3",
"chia-dev-tools~=1.1.5",
"coverage",
"pre-commit",
"pylint",
Expand Down