web3 7.3.0__py3-none-any.whl → 7.3.1__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.
- ens/_normalization.py +3 -1
- ens/specs/nf.json +1 -1
- ens/specs/normalization_spec.json +1 -1
- web3/_utils/abi.py +3 -11
- web3/beacon/async_beacon.py +4 -1
- web3/contract/base_contract.py +1 -2
- {web3-7.3.0.dist-info → web3-7.3.1.dist-info}/METADATA +1 -1
- {web3-7.3.0.dist-info → web3-7.3.1.dist-info}/RECORD +11 -11
- {web3-7.3.0.dist-info → web3-7.3.1.dist-info}/LICENSE +0 -0
- {web3-7.3.0.dist-info → web3-7.3.1.dist-info}/WHEEL +0 -0
- {web3-7.3.0.dist-info → web3-7.3.1.dist-info}/top_level.txt +0 -0
web3/_utils/abi.py
CHANGED
|
@@ -110,19 +110,11 @@ def receive_func_abi_exists(contract_abi: ABI) -> Sequence[ABIReceive]:
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
def get_indexed_event_inputs(event_abi: ABIEvent) -> Sequence[ABIComponentIndexed]:
|
|
113
|
-
return [
|
|
114
|
-
cast(ABIComponentIndexed, arg)
|
|
115
|
-
for arg in event_abi["inputs"]
|
|
116
|
-
if cast(ABIComponentIndexed, arg)["indexed"] is True
|
|
117
|
-
]
|
|
113
|
+
return [arg for arg in event_abi["inputs"] if arg["indexed"] is True]
|
|
118
114
|
|
|
119
115
|
|
|
120
|
-
def exclude_indexed_event_inputs(event_abi: ABIEvent) -> Sequence[
|
|
121
|
-
return [
|
|
122
|
-
arg
|
|
123
|
-
for arg in event_abi["inputs"]
|
|
124
|
-
if cast(ABIComponentIndexed, arg)["indexed"] is False
|
|
125
|
-
]
|
|
116
|
+
def exclude_indexed_event_inputs(event_abi: ABIEvent) -> Sequence[ABIComponentIndexed]:
|
|
117
|
+
return [arg for arg in event_abi["inputs"] if arg["indexed"] is False]
|
|
126
118
|
|
|
127
119
|
|
|
128
120
|
def filter_by_argument_name(
|
web3/beacon/async_beacon.py
CHANGED
|
@@ -5,6 +5,9 @@ from typing import (
|
|
|
5
5
|
Optional,
|
|
6
6
|
)
|
|
7
7
|
|
|
8
|
+
from aiohttp import (
|
|
9
|
+
ClientTimeout,
|
|
10
|
+
)
|
|
8
11
|
from eth_typing import (
|
|
9
12
|
URI,
|
|
10
13
|
HexStr,
|
|
@@ -72,7 +75,7 @@ class AsyncBeacon:
|
|
|
72
75
|
) -> Dict[str, Any]:
|
|
73
76
|
uri = URI(self.base_url + endpoint_uri)
|
|
74
77
|
return await self._request_session_manager.async_json_make_get_request(
|
|
75
|
-
uri, params=params, timeout=self.request_timeout
|
|
78
|
+
uri, params=params, timeout=ClientTimeout(self.request_timeout)
|
|
76
79
|
)
|
|
77
80
|
|
|
78
81
|
# [ BEACON endpoints ]
|
web3/contract/base_contract.py
CHANGED
|
@@ -21,7 +21,6 @@ from eth_abi.exceptions import (
|
|
|
21
21
|
)
|
|
22
22
|
from eth_typing import (
|
|
23
23
|
ABI,
|
|
24
|
-
ABIComponentIndexed,
|
|
25
24
|
ABIElement,
|
|
26
25
|
ABIEvent,
|
|
27
26
|
ABIFunction,
|
|
@@ -295,7 +294,7 @@ class BaseContractEvent:
|
|
|
295
294
|
# if no non-indexed args in argument filters, since indexed args are
|
|
296
295
|
# filtered pre-call to ``eth_getLogs`` by building specific ``topics``.
|
|
297
296
|
not any(
|
|
298
|
-
not
|
|
297
|
+
not arg["indexed"]
|
|
299
298
|
for arg in event_abi["inputs"]
|
|
300
299
|
if arg["name"] in argument_filters
|
|
301
300
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ens/__init__.py,sha256=BtOyGF_JrIpWFTr_T1GCJuUtmZI-Qf-v560uzTWp18E,471
|
|
2
|
-
ens/_normalization.py,sha256=
|
|
2
|
+
ens/_normalization.py,sha256=t_abmu3z2QcTcX6gVaSfdUzz0_E5aGCPvuj0Hftd-Kg,16900
|
|
3
3
|
ens/abis.py,sha256=0Ec_lqe7HBsVpQrID3ccFMhx8Vb7S0TGFbeuRdXhuCE,34745
|
|
4
4
|
ens/async_ens.py,sha256=o-1m6dMC9Wcq9lXxJJ2UzcJZpMTeNBD82dnpvUFja3k,22669
|
|
5
5
|
ens/auto.py,sha256=w_E6Ua5ZmJVxfdii2aG5I_kQG5B9U5Y2qIFKVNhXo98,41
|
|
@@ -9,8 +9,8 @@ ens/contract_data.py,sha256=CZa7Uxzq6rT-KonwHHM_wo-5ry0j1DMbikgEaP27Uy8,148602
|
|
|
9
9
|
ens/ens.py,sha256=4LLQ_XDHhlPlG0-RGAErGZ9ltybg4yKyftdW84AeldE,21718
|
|
10
10
|
ens/exceptions.py,sha256=FVnGiWkt1IcAATfSxoWz9hwrlVG_-WCpraTo8nSHCxA,2441
|
|
11
11
|
ens/utils.py,sha256=Ro2-kcowwIgNExxNDQ1CpSFiGL9WSP_NCxp_qLzGWHw,8985
|
|
12
|
-
ens/specs/nf.json,sha256=
|
|
13
|
-
ens/specs/normalization_spec.json,sha256=
|
|
12
|
+
ens/specs/nf.json,sha256=tPXKzdhgu9gqNi0UhKC1kzPqSBgy4yHm5TL19RQHBqU,49038
|
|
13
|
+
ens/specs/normalization_spec.json,sha256=8mmjBj4OoYCn7pD4P7hqKP_qy6rpYzpyRinSH3CCP9M,3171499
|
|
14
14
|
web3/__init__.py,sha256=P11QAEV_GYoZq9ij8gDzFx5tKzJY2aMXG-keg2Lg1xs,1277
|
|
15
15
|
web3/constants.py,sha256=eQLRQVMFPbgpOjjkPTMHkY-syncJuO-sPX5UrCSRjzQ,564
|
|
16
16
|
web3/datastructures.py,sha256=LbUsfE0icgRRTXsC_LATR-LtmO7MAYwYB5D-6LCX1jE,11366
|
|
@@ -27,7 +27,7 @@ web3/testing.py,sha256=Ury_-7XSstJ8bkCfdGEi4Cr76QzSfW7v_zfPlDlLJj0,923
|
|
|
27
27
|
web3/tracing.py,sha256=ZcOam7t-uEZXyui6Cndv6RYeCZP5jh1TBn2hG8sv17Q,3098
|
|
28
28
|
web3/types.py,sha256=u_GhL4B5VVyhAydizlOG8GWf1PL_EMnadme-L1HpS2E,11922
|
|
29
29
|
web3/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
web3/_utils/abi.py,sha256=
|
|
30
|
+
web3/_utils/abi.py,sha256=faBdiPgPrS__Nh5tGruGFzLzVwNxoooXVsOeGPgGH4s,25540
|
|
31
31
|
web3/_utils/abi_element_identifiers.py,sha256=m305lsvUZk-jkPixT0IJd9P5sXqMvmwlwlLeBgEAnBQ,55
|
|
32
32
|
web3/_utils/async_caching.py,sha256=2XnaKCHBTTDK6B2R_YZvjJqIRUpbMDIU1uYrq-Lcyp8,486
|
|
33
33
|
web3/_utils/async_transactions.py,sha256=fodlTP7zpoFhFycWQszJWN0UUAfu5neQTCYJ3eGRCA0,5581
|
|
@@ -100,11 +100,11 @@ web3/auto/__init__.py,sha256=ZbzAiCZMdt_tCTTPvH6t8NCVNroKKkt7TSVBBNR74Is,44
|
|
|
100
100
|
web3/auto/gethdev.py,sha256=MuWD2gxv0xDv_SzPsp9mSkS1oG4P54xFK83qw9NvswA,438
|
|
101
101
|
web3/beacon/__init__.py,sha256=Ac6YiNgU8D8Ynnh5RwSCx2NwPyjnpFjpXeHuSssFbaU,113
|
|
102
102
|
web3/beacon/api_endpoints.py,sha256=0mHrYFYAWHfF9OGzrFdg012L_ocU2nGDXUTU1isOo7o,2272
|
|
103
|
-
web3/beacon/async_beacon.py,sha256=
|
|
103
|
+
web3/beacon/async_beacon.py,sha256=CPzvyZnMibSYsoIJVrjd3XvZ9aB0bgQRtCP0X0Ekp0o,8156
|
|
104
104
|
web3/beacon/beacon.py,sha256=tPA9ABPm6MyzbzutiphkhFzOAxLresmftG5UjWkuNyY,7236
|
|
105
105
|
web3/contract/__init__.py,sha256=qeZRtTw9xriwoD82w6vePDuPBZ35-CMVdkzViBSH3Qs,293
|
|
106
106
|
web3/contract/async_contract.py,sha256=KYB-e1GCTZINTRu0Y1f2IIp4LWg2UvKIRFFSIrsjfUs,20593
|
|
107
|
-
web3/contract/base_contract.py,sha256=
|
|
107
|
+
web3/contract/base_contract.py,sha256=W2O21wODLSkR3AFtairJpPsdnqkWpOVhSBr0ICr5l3A,38001
|
|
108
108
|
web3/contract/contract.py,sha256=wB5g6H7PoAyp4wN__3GGXMrDCvEYuj6crZL4Q2ipTRE,20174
|
|
109
109
|
web3/contract/utils.py,sha256=bonHXESnb9xhvMzJoi271qppwpy2D6yaHtUwt56wEJc,17853
|
|
110
110
|
web3/eth/__init__.py,sha256=qDLxOcHHIzzPD7xzwy6Wcs0lLPQieB7WN0Ax25ctit8,197
|
|
@@ -159,8 +159,8 @@ web3/utils/address.py,sha256=KC_IpEbixSCuMhaW6V2QCyyJTYKYGS9c8QtI9_aH7zQ,967
|
|
|
159
159
|
web3/utils/async_exception_handling.py,sha256=GZWSBFC0-Wmwz1tpTie-1AKRbIQH7JkmBpf5bXrUTzY,3320
|
|
160
160
|
web3/utils/caching.py,sha256=Rkt5IN8A7YBZYXlCRaWa64FiDhTXsxzTGGQdGBB4Nzw,2514
|
|
161
161
|
web3/utils/exception_handling.py,sha256=k31JROfUyKIm9PoEWOtYSkIq9wL8SOBwQfnSLNQyfnM,3097
|
|
162
|
-
web3-7.3.
|
|
163
|
-
web3-7.3.
|
|
164
|
-
web3-7.3.
|
|
165
|
-
web3-7.3.
|
|
166
|
-
web3-7.3.
|
|
162
|
+
web3-7.3.1.dist-info/LICENSE,sha256=ScEyLx1vWrB0ybKiZKKTXm5QhVksHCEUtTp4lwYV45I,1095
|
|
163
|
+
web3-7.3.1.dist-info/METADATA,sha256=Rd45qnxKH_1i_JcqUWx2mNee7pFsE3rxN43T0OJ6FLM,5317
|
|
164
|
+
web3-7.3.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
165
|
+
web3-7.3.1.dist-info/top_level.txt,sha256=iwupuJh7wgypXrpk_awszyri3TahRr5vxSphNyvt1bU,9
|
|
166
|
+
web3-7.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|