From 42d1eee954e4148fc42847be20e6c3465c2f59de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Feb 2026 05:25:47 +0000 Subject: [PATCH 1/2] Bump chia-blockchain from 2.5.7 to 2.6.0 Bumps [chia-blockchain](https://github.com/Chia-Network/chia-blockchain) from 2.5.7 to 2.6.0. - [Release notes](https://github.com/Chia-Network/chia-blockchain/releases) - [Changelog](https://github.com/Chia-Network/chia-blockchain/blob/main/CHANGELOG.md) - [Commits](https://github.com/Chia-Network/chia-blockchain/compare/2.5.7...2.6.0) --- updated-dependencies: - dependency-name: chia-blockchain dependency-version: 2.6.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6ccf671..d1c7fd3 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = fh.read() dependencies = [ - "chia-blockchain==2.5.7", + "chia-blockchain==2.6.0", ] dev_dependencies = [ From 1f3b5a25aeeed4dd6ea5d720e981ba7b5acc1c89 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Tue, 3 Mar 2026 08:42:53 -0800 Subject: [PATCH 2/2] type fixed --- cats/cats.py | 7 +++---- cats/unwind_the_bag.py | 25 ++++++++++++++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/cats/cats.py b/cats/cats.py index bba85cd..9bef4bb 100644 --- a/cats/cats.py +++ b/cats/cats.py @@ -24,7 +24,7 @@ from chia.wallet.transaction_record import TransactionRecord from chia.wallet.util.tx_config import DEFAULT_TX_CONFIG from chia.wallet.vc_wallet.cr_cat_drivers import ProofsChecker, construct_cr_layer -from chia.wallet.wallet_request_types import PushTX +from chia.wallet.wallet_request_types import Addition, CreateSignedTransaction, PushTX from chia.wallet.wallet_rpc_client import WalletRpcClient from chia.wallet.wallet_spend_bundle import WalletSpendBundle from chia_rs import AugSchemeMPL, G2Element @@ -58,9 +58,8 @@ async def get_signed_tx( if wallet_client is None: raise ValueError("Error getting wallet client. Make sure wallet is running.") signed_tx = await wallet_client.create_signed_transactions( - [{"puzzle_hash": ph, "amount": amt}], - DEFAULT_TX_CONFIG, - fee=fee, # TODO: no default tx config + CreateSignedTransaction(additions=[Addition(amount=amt, puzzle_hash=ph)], fee=fee), + tx_config=DEFAULT_TX_CONFIG, ) return signed_tx.signed_tx diff --git a/cats/unwind_the_bag.py b/cats/unwind_the_bag.py index f336de8..a2fc5db 100644 --- a/cats/unwind_the_bag.py +++ b/cats/unwind_the_bag.py @@ -24,7 +24,14 @@ from chia.wallet.lineage_proof import LineageProof from chia.wallet.uncurried_puzzle import uncurry_puzzle from chia.wallet.util.tx_config import DEFAULT_COIN_SELECTION_CONFIG, DEFAULT_TX_CONFIG -from chia.wallet.wallet_request_types import GetNextAddress, LogIn, PushTX, SelectCoins +from chia.wallet.wallet_request_types import ( + Addition, + CreateSignedTransaction, + GetNextAddress, + LogIn, + PushTX, + SelectCoins, +) from chia.wallet.wallet_rpc_client import WalletRpcClient from chia.wallet.wallet_spend_bundle import WalletSpendBundle from chia_rs import CoinSpend, G2Element @@ -303,9 +310,11 @@ async def app( # Create signed coin spends and change for fees fees_tx = await wallet_client.create_signed_transactions( - [{"amount": change_amount, "puzzle_hash": change_ph}], - coins=fee_coins, - fee=uint64(unwind_fee), + CreateSignedTransaction( + additions=[Addition(amount=uint64(change_amount), puzzle_hash=change_ph)], + coins=fee_coins, + fee=uint64(unwind_fee), + ), extra_conditions=(*cat_announcements,), tx_config=DEFAULT_TX_CONFIG, ) @@ -420,9 +429,11 @@ async def app( # Create signed coin spends and change for fees fees_tx = await wallet_client.create_signed_transactions( - [{"amount": change_amount, "puzzle_hash": change_ph}], - coins=fee_coins, - fee=uint64(spend_bundle_fee), + CreateSignedTransaction( + additions=[Addition(amount=uint64(change_amount), puzzle_hash=change_ph)], + coins=fee_coins, + fee=uint64(spend_bundle_fee), + ), extra_conditions=(*cat_announcements,), tx_config=DEFAULT_TX_CONFIG, )