solver-multirpc 3.1.5__py3-none-any.whl → 3.1.6__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.
multirpc/exceptions.py
CHANGED
|
@@ -29,12 +29,16 @@ class TransactionFailedStatus(Web3InterfaceException):
|
|
|
29
29
|
self.trace: TxTrace = trace
|
|
30
30
|
|
|
31
31
|
def __str__(self):
|
|
32
|
-
return
|
|
33
|
-
f'{self.func_name=}, {self.func_kwargs=}, {self.trace=})')
|
|
32
|
+
return self.__repr__()
|
|
34
33
|
|
|
35
34
|
def __repr__(self):
|
|
36
|
-
|
|
37
|
-
f'{self.
|
|
35
|
+
ret = (f'{self.__class__.__name__}({self.hex_tx_hash}, {self.func_name=}, '
|
|
36
|
+
f'{self.func_args=}, {self.func_kwargs=})')
|
|
37
|
+
if self.trace and self.trace.ok():
|
|
38
|
+
main_error = self.trace.result().first_usable_error()
|
|
39
|
+
ret += f' {main_error=}'
|
|
40
|
+
|
|
41
|
+
return ret
|
|
38
42
|
|
|
39
43
|
|
|
40
44
|
class FailedToGetGasPrice(Web3InterfaceException):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: solver-multirpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.6
|
|
4
4
|
Summary: A robust Python library for interacting with Ethereum smart contracts via multiple RPC endpoints, ensuring reliability, availability, and load distribution with automatic retries on failure.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: rorschach
|
|
@@ -2,11 +2,11 @@ multirpc/__init__.py,sha256=uZJfs4NxerMAEVi_FX15MO5RCc1o15i_kYECoPp43ec,51
|
|
|
2
2
|
multirpc/async_multi_rpc_interface.py,sha256=8W3V3HfrlVbI6DGNkxRw1ZuduM6t24MObLIKh6Zq1ZU,5567
|
|
3
3
|
multirpc/base_multi_rpc_interface.py,sha256=aMIXXX5S-UvXiNBqr1EUxMngHO_dgJL7v2J9lqJ2zdU,28514
|
|
4
4
|
multirpc/constants.py,sha256=h0njFnxTtWU8-NO_3q7sMrLAqQAv4JxM3nZcc2WOqEc,1210
|
|
5
|
-
multirpc/exceptions.py,sha256=
|
|
5
|
+
multirpc/exceptions.py,sha256=V8WDmDWeeTLQ1TOJ9_IWXt0z-qefJiDfQ6pAdhuwdcA,1785
|
|
6
6
|
multirpc/gas_estimation.py,sha256=k0FVO9FgSRuRQhEkQ9YZZ-rSpW_zxaLLFdMAYOF3xco,7276
|
|
7
7
|
multirpc/sync_multi_rpc_interface.py,sha256=6zKEtuXq7Uy7MDEe7nM-ifdpMZNrRYbIIsJSxiRVW_Q,5781
|
|
8
8
|
multirpc/tx_trace.py,sha256=G7sTVMzALtTeC1F2JjxMSGRRFlmAAZG-Sdhd4UQtfw8,7885
|
|
9
9
|
multirpc/utils.py,sha256=YYX628ZAsNf3nuY4XicsxtHs69WKYl0kX2Uh--Xpj5o,8586
|
|
10
|
-
solver_multirpc-3.1.
|
|
11
|
-
solver_multirpc-3.1.
|
|
12
|
-
solver_multirpc-3.1.
|
|
10
|
+
solver_multirpc-3.1.6.dist-info/METADATA,sha256=JQlH_vWFxJf7hriNUCYwTRElhD8ERMHiA_ZtRwvxBMo,8339
|
|
11
|
+
solver_multirpc-3.1.6.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
12
|
+
solver_multirpc-3.1.6.dist-info/RECORD,,
|
|
File without changes
|