request-vm-on-golem 0.1.47__py3-none-any.whl → 0.1.49__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {request_vm_on_golem-0.1.47.dist-info → request_vm_on_golem-0.1.49.dist-info}/METADATA +1 -1
- {request_vm_on_golem-0.1.47.dist-info → request_vm_on_golem-0.1.49.dist-info}/RECORD +5 -5
- requestor/payments/blockchain_service.py +12 -3
- {request_vm_on_golem-0.1.47.dist-info → request_vm_on_golem-0.1.49.dist-info}/WHEEL +0 -0
- {request_vm_on_golem-0.1.47.dist-info → request_vm_on_golem-0.1.49.dist-info}/entry_points.txt +0 -0
@@ -7,7 +7,7 @@ requestor/data/deployments/l2.json,sha256=XTNN2C5LkBfp4YbDKdUKfWMdp1fKnfv8D3Tgcw
|
|
7
7
|
requestor/db/__init__.py,sha256=Gm5DfWls6uvCZZ3HGGnyRHswbUQdeA5OGN8yPwH0hc8,88
|
8
8
|
requestor/db/sqlite.py,sha256=l5pWbx2qlHuar1N_a0B9tVnmumLJY1w5rp3yZ7jmsC0,4146
|
9
9
|
requestor/errors.py,sha256=wVpHBuYgQx5pTe_SamugfK-k768noikY1RxvPOjQGko,665
|
10
|
-
requestor/payments/blockchain_service.py,sha256=
|
10
|
+
requestor/payments/blockchain_service.py,sha256=CACvZH2ZstutX7f0L_PXl8K_V5WlIkxNYIaeJuhP5I0,7500
|
11
11
|
requestor/provider/__init__.py,sha256=fmW23aYUVciF8-gmBZkG-PLhn22upmcDzdPfAOLHG6g,103
|
12
12
|
requestor/provider/client.py,sha256=pfJymufYR13W4kfykHZSVvs6ikRUE5AdHp0W0DB17AE,4130
|
13
13
|
requestor/run.py,sha256=GqOG6n34szt8Sp3SEqjRV6huWm737yCN6YnBqoiwI-U,1785
|
@@ -21,7 +21,7 @@ requestor/ssh/__init__.py,sha256=hNgSqJ5s1_AwwxVRyFjUqh_LTBpI4Hmzq0F-f_wXN9g,119
|
|
21
21
|
requestor/ssh/manager.py,sha256=3jQtbbK7CVC2yD1zCO88jGXh2fBcuv3CzWEqDLuaQVk,9758
|
22
22
|
requestor/utils/logging.py,sha256=oFNpO8pJboYM8Wp7g3HOU4HFyBTKypVdY15lUiz1a4I,3721
|
23
23
|
requestor/utils/spinner.py,sha256=PUHJdTD9jpUHur__01_qxXy87WFfNmjQbD_sLG-KlGo,2459
|
24
|
-
request_vm_on_golem-0.1.
|
25
|
-
request_vm_on_golem-0.1.
|
26
|
-
request_vm_on_golem-0.1.
|
27
|
-
request_vm_on_golem-0.1.
|
24
|
+
request_vm_on_golem-0.1.49.dist-info/METADATA,sha256=-tMlFo5eJPl9QFOxfmlrQ56W7ZqsAtPD-qGAGJy28Zg,14363
|
25
|
+
request_vm_on_golem-0.1.49.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
26
|
+
request_vm_on_golem-0.1.49.dist-info/entry_points.txt,sha256=Z-skRNpJ8aZcIl_En9mEm1ygkp9FKy0bzQoL3zO52-0,44
|
27
|
+
request_vm_on_golem-0.1.49.dist-info/RECORD,,
|
@@ -66,7 +66,10 @@ class StreamPaymentClient:
|
|
66
66
|
# In production, sign and send raw; in tests, Account may be a dummy without signer
|
67
67
|
if hasattr(self.account, "sign_transaction"):
|
68
68
|
signed = self.account.sign_transaction(tx)
|
69
|
-
|
69
|
+
raw = getattr(signed, "rawTransaction", None) or getattr(signed, "raw_transaction", None)
|
70
|
+
if raw is None:
|
71
|
+
raise RuntimeError("sign_transaction did not return raw transaction bytes")
|
72
|
+
tx_hash = self.web3.eth.send_raw_transaction(raw)
|
70
73
|
else:
|
71
74
|
tx_hash = self.web3.eth.send_transaction(tx)
|
72
75
|
receipt = self.web3.eth.wait_for_transaction_receipt(tx_hash)
|
@@ -105,7 +108,10 @@ class StreamPaymentClient:
|
|
105
108
|
}
|
106
109
|
tx = fn.build_transaction(base)
|
107
110
|
signed = self.account.sign_transaction(tx)
|
108
|
-
|
111
|
+
raw = getattr(signed, "rawTransaction", None) or getattr(signed, "raw_transaction", None)
|
112
|
+
if raw is None:
|
113
|
+
raise RuntimeError("sign_transaction did not return raw transaction bytes")
|
114
|
+
tx_hash = self.web3.eth.send_raw_transaction(raw)
|
109
115
|
receipt = self.web3.eth.wait_for_transaction_receipt(tx_hash)
|
110
116
|
tx_receipt = {"transactionHash": tx_hash.hex(), "status": receipt.status, "logs": receipt.logs}
|
111
117
|
else:
|
@@ -156,6 +162,9 @@ class StreamPaymentClient:
|
|
156
162
|
}
|
157
163
|
tx = fn.build_transaction(base)
|
158
164
|
signed = self.account.sign_transaction(tx)
|
159
|
-
|
165
|
+
raw = getattr(signed, "rawTransaction", None) or getattr(signed, "raw_transaction", None)
|
166
|
+
if raw is None:
|
167
|
+
raise RuntimeError("sign_transaction did not return raw transaction bytes")
|
168
|
+
tx_hash = self.web3.eth.send_raw_transaction(raw)
|
160
169
|
self.web3.eth.wait_for_transaction_receipt(tx_hash)
|
161
170
|
return tx_hash.hex()
|
File without changes
|
{request_vm_on_golem-0.1.47.dist-info → request_vm_on_golem-0.1.49.dist-info}/entry_points.txt
RENAMED
File without changes
|