Skip to content

Commit

Permalink
update to chia-blockchain 1.8.1 (#31)
Browse files Browse the repository at this point in the history
* update to chia-blockchain 1.8.1

* fix chia-blockchain version in setup.py

* update workflow tests for new sim setup

* fix changed puzzle reference

* Update setup.py

Co-authored-by: Kyle Altendorf <[email protected]>

---------

Co-authored-by: Kyle Altendorf <[email protected]>
  • Loading branch information
geoffwalmsley and altendky authored May 22, 2023
1 parent 3f13bdb commit 4e9ca2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
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

0 comments on commit 4e9ca2f

Please sign in to comment.