Skip to content
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/nightly-against-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cats/cats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions cats/unwind_the_bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -324,15 +324,15 @@ 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,
)
)
)
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")
Expand Down Expand Up @@ -442,15 +442,15 @@ 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,
)
)
)
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(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ classifiers = [
"Topic :: Security :: Cryptography",
]
dependencies = [
"chia-blockchain==2.6.0",
"chia-blockchain==2.7.0",
]
optional-dependencies = { dev = [
"pytest",
Expand Down
Loading