Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/opengradient/client/alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def deploy_transaction():
signed_txn = self._wallet_account.sign_transaction(transaction)
tx_hash = self._blockchain.eth.send_raw_transaction(signed_txn.raw_transaction)

tx_receipt = self._blockchain.eth.wait_for_transaction_receipt(tx_hash, timeout=60)
tx_receipt = self._blockchain.eth.wait_for_transaction_receipt(tx_hash, timeout=INFERENCE_TX_TIMEOUT)

if tx_receipt["status"] == 0:
raise Exception(f"Contract deployment failed, transaction hash: {tx_hash.hex()}")
Expand Down Expand Up @@ -462,3 +462,4 @@ def read_workflow_history(self, contract_address: str, num_results: int) -> List

results = contract.functions.getLastInferenceResults(num_results).call()
return [convert_array_to_model_output(result) for result in results]

Loading