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

build(deps): bump chia-blockchain from 2.4.4 to 2.5.1 #275

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
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
17 changes: 13 additions & 4 deletions app/core/climate_wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from chia.consensus.constants import ConsensusConstants
from chia.rpc.full_node_rpc_client import FullNodeRpcClient
from chia.rpc.wallet_request_types import PushTransactions
from chia.rpc.wallet_rpc_client import WalletRpcClient
from chia.types.blockchain_format.coin import Coin
from chia.types.blockchain_format.program import Program
Expand Down Expand Up @@ -392,7 +393,9 @@ async def send_tokenization_transaction(
)
transaction_records: list[TransactionRecord] = result["transaction_records"]

await self.wallet_client.push_transactions(txs=transaction_records)
await self.wallet_client.push_transactions(
PushTransactions(transactions=transaction_records, sign=False), DEFAULT_TX_CONFIG
)

return result

Expand Down Expand Up @@ -422,7 +425,9 @@ async def create_detokenization_request(
dataclasses.replace(transaction_record, spend_bundle=None) for transaction_record in transaction_records
]

await self.wallet_client.push_transactions(txs=transaction_records)
await self.wallet_client.push_transactions(
PushTransactions(transactions=transaction_records, sign=False), DEFAULT_TX_CONFIG
)

result.update(
{
Expand Down Expand Up @@ -588,7 +593,9 @@ async def sign_and_send_detokenization_request(
)
transaction_records = [transaction_record]

await self.wallet_client.push_transactions(txs=transaction_records)
await self.wallet_client.push_transactions(
PushTransactions(transactions=transaction_records, sign=False), DEFAULT_TX_CONFIG
)

return {
"transaction_id": transaction_record.name,
Expand Down Expand Up @@ -625,7 +632,9 @@ async def send_permissionless_retirement_transaction(
)
transaction_records: list[TransactionRecord] = result["transaction_records"]

await self.wallet_client.push_transactions(txs=transaction_records)
await self.wallet_client.push_transactions(
PushTransactions(transactions=transaction_records, sign=False), DEFAULT_TX_CONFIG
)

return result

Expand Down
Loading