From 3fef3c1fa395dc25a63bb42ca1e3aa340e424160 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Mon, 30 Mar 2026 08:46:05 -0700 Subject: [PATCH 1/2] update chia-blockchain 2.7.0 --- .github/workflows/nightly-against-main.yml | 2 +- .github/workflows/run-test-suite.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-against-main.yml b/.github/workflows/nightly-against-main.yml index 87d6d76..5388586 100644 --- a/.github/workflows/nightly-against-main.yml +++ b/.github/workflows/nightly-against-main.yml @@ -17,7 +17,7 @@ jobs: env: CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet - BLOCKS_AND_PLOTS_VERSION: 0.29.0 + BLOCKS_AND_PLOTS_VERSION: 0.45.8 steps: - name: Checkout Code diff --git a/.github/workflows/run-test-suite.yml b/.github/workflows/run-test-suite.yml index 49e99e0..838b34b 100644 --- a/.github/workflows/run-test-suite.yml +++ b/.github/workflows/run-test-suite.yml @@ -26,7 +26,7 @@ jobs: env: CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet - BLOCKS_AND_PLOTS_VERSION: 0.29.0 + BLOCKS_AND_PLOTS_VERSION: 0.45.8 steps: - name: Checkout Code diff --git a/pyproject.toml b/pyproject.toml index 4553f18..54e4487 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Topic :: Security :: Cryptography", ] dependencies = [ - "chia-blockchain==2.6.0", + "chia-blockchain==2.7.0", ] optional-dependencies = { dev = [ "pytest", From 73050b5d7a6fca60e7689fb3adb463dab8ba0984 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Mon, 30 Mar 2026 08:52:59 -0700 Subject: [PATCH 2/2] match 2.7.0 syntax --- cats/cats.py | 2 +- cats/unwind_the_bag.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cats/cats.py b/cats/cats.py index 9bef4bb..bc0ca0a 100644 --- a/cats/cats.py +++ b/cats/cats.py @@ -74,7 +74,7 @@ async def push_tx( wallet_client, _, _ = client_etc if wallet_client is None: raise ValueError("Error getting wallet client. Make sure wallet is running.") - return await wallet_client.push_tx(PushTX(bundle)) + return await wallet_client.push_tx(PushTX(spend_bundle=bundle)) # The clvm loaders in this library automatically search for includable files in the directory './include' diff --git a/cats/unwind_the_bag.py b/cats/unwind_the_bag.py index a2fc5db..ff56a94 100644 --- a/cats/unwind_the_bag.py +++ b/cats/unwind_the_bag.py @@ -255,7 +255,7 @@ async def app( ) if fingerprint is not None: print(f"Setting fingerprint: {fingerprint}") - await wallet_client.log_in(LogIn(uint32(fingerprint))) + await wallet_client.log_in(LogIn(fingerprint=uint32(fingerprint))) targets = read_secure_the_bag_targets(secure_the_bag_targets_path, None) _, parent_puzzle_lookup = secure_the_bag(targets, leaf_width, tail_hash_bytes) @@ -324,7 +324,7 @@ async def app( await wallet_client.push_tx( PushTX( - WalletSpendBundle( + spend_bundle=WalletSpendBundle( cat_spend.coin_spends + fees_tx.signed_tx.spend_bundle.coin_spends, fees_tx.signed_tx.spend_bundle.aggregated_signature, ) @@ -332,7 +332,7 @@ async def app( ) else: await wallet_client.push_tx( - PushTX(WalletSpendBundle(cat_spend.coin_spends, cat_spend.aggregated_signature)) + PushTX(spend_bundle=WalletSpendBundle(cat_spend.coin_spends, cat_spend.aggregated_signature)) ) print("Transaction pushed to full node") @@ -442,7 +442,7 @@ async def app( await wallet_client.push_tx( PushTX( - WalletSpendBundle( + spend_bundle=WalletSpendBundle( bundle_spends + fees_tx.signed_tx.spend_bundle.coin_spends, fees_tx.signed_tx.spend_bundle.aggregated_signature, ) @@ -450,7 +450,7 @@ async def app( ) else: await wallet_client.push_tx( - PushTX(WalletSpendBundle(bundle_spends, cat_spend.aggregated_signature)) + PushTX(spend_bundle=WalletSpendBundle(bundle_spends, cat_spend.aggregated_signature)) ) print(