web3 6.20.0__tar.gz → 6.20.2__tar.gz

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.
Files changed (291) hide show
  1. {web3-6.20.0 → web3-6.20.2}/PKG-INFO +5 -5
  2. {web3-6.20.0 → web3-6.20.2}/setup.py +4 -4
  3. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/module_testing_utils.py +12 -9
  4. {web3-6.20.0 → web3-6.20.2}/web3/providers/persistent.py +10 -4
  5. {web3-6.20.0 → web3-6.20.2}/web3/providers/websocket/websocket_v2.py +2 -3
  6. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/PKG-INFO +5 -5
  7. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/requires.txt +4 -4
  8. {web3-6.20.0 → web3-6.20.2}/LICENSE +0 -0
  9. {web3-6.20.0 → web3-6.20.2}/MANIFEST.in +0 -0
  10. {web3-6.20.0 → web3-6.20.2}/README.md +0 -0
  11. {web3-6.20.0 → web3-6.20.2}/ens/__init__.py +0 -0
  12. {web3-6.20.0 → web3-6.20.2}/ens/_normalization.py +0 -0
  13. {web3-6.20.0 → web3-6.20.2}/ens/abis.py +0 -0
  14. {web3-6.20.0 → web3-6.20.2}/ens/async_ens.py +0 -0
  15. {web3-6.20.0 → web3-6.20.2}/ens/auto.py +0 -0
  16. {web3-6.20.0 → web3-6.20.2}/ens/base_ens.py +0 -0
  17. {web3-6.20.0 → web3-6.20.2}/ens/constants.py +0 -0
  18. {web3-6.20.0 → web3-6.20.2}/ens/contract_data.py +0 -0
  19. {web3-6.20.0 → web3-6.20.2}/ens/ens.py +0 -0
  20. {web3-6.20.0 → web3-6.20.2}/ens/exceptions.py +0 -0
  21. {web3-6.20.0 → web3-6.20.2}/ens/specs/nf.json +0 -0
  22. {web3-6.20.0 → web3-6.20.2}/ens/specs/normalization_spec.json +0 -0
  23. {web3-6.20.0 → web3-6.20.2}/ens/utils.py +0 -0
  24. {web3-6.20.0 → web3-6.20.2}/ethpm/__init__.py +0 -0
  25. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/__init__.py +0 -0
  26. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/backend.py +0 -0
  27. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/cache.py +0 -0
  28. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/chains.py +0 -0
  29. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/contract.py +0 -0
  30. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/deployments.py +0 -0
  31. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/ipfs.py +0 -0
  32. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/protobuf/__init__.py +0 -0
  33. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/protobuf/ipfs_file_pb2.py +0 -0
  34. {web3-6.20.0 → web3-6.20.2}/ethpm/_utils/registry.py +0 -0
  35. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/__init__.py +0 -0
  36. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/ens/v3.json +0 -0
  37. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/escrow/with_bytecode_v3.json +0 -0
  38. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/ipfs_file.proto +0 -0
  39. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/owned/output_v3.json +0 -0
  40. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/owned/with_contract_type_v3.json +0 -0
  41. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/Authority.sol +0 -0
  42. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/IndexedOrderedSetLib.sol +0 -0
  43. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/PackageDB.sol +0 -0
  44. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/PackageRegistry.sol +0 -0
  45. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/PackageRegistryInterface.sol +0 -0
  46. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/ReleaseDB.sol +0 -0
  47. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/contracts/ReleaseValidator.sol +0 -0
  48. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/solc_input.json +0 -0
  49. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/solc_output.json +0 -0
  50. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/registry/v3.json +0 -0
  51. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/safe-math-lib/v3-strict-no-deployments.json +0 -0
  52. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/contracts/Ownable.sol +0 -0
  53. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/contracts/PackageRegistry.sol +0 -0
  54. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/contracts/PackageRegistryInterface.sol +0 -0
  55. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/solc_input.json +0 -0
  56. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/solc_output.json +0 -0
  57. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/simple-registry/v3.json +0 -0
  58. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/standard-token/output_v3.json +0 -0
  59. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/standard-token/with_bytecode_v3.json +0 -0
  60. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/vyper_registry/0.1.0.json +0 -0
  61. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/vyper_registry/registry.vy +0 -0
  62. {web3-6.20.0 → web3-6.20.2}/ethpm/assets/vyper_registry/registry_with_delete.vy +0 -0
  63. {web3-6.20.0 → web3-6.20.2}/ethpm/backends/__init__.py +0 -0
  64. {web3-6.20.0 → web3-6.20.2}/ethpm/backends/base.py +0 -0
  65. {web3-6.20.0 → web3-6.20.2}/ethpm/backends/http.py +0 -0
  66. {web3-6.20.0 → web3-6.20.2}/ethpm/backends/ipfs.py +0 -0
  67. {web3-6.20.0 → web3-6.20.2}/ethpm/backends/registry.py +0 -0
  68. {web3-6.20.0 → web3-6.20.2}/ethpm/constants.py +0 -0
  69. {web3-6.20.0 → web3-6.20.2}/ethpm/contract.py +0 -0
  70. {web3-6.20.0 → web3-6.20.2}/ethpm/dependencies.py +0 -0
  71. {web3-6.20.0 → web3-6.20.2}/ethpm/deployments.py +0 -0
  72. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/1.0.0-pretty.json +0 -0
  73. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/1.0.0.json +0 -0
  74. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/contracts/Escrow.sol +0 -0
  75. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/contracts/SafeSendLib.sol +0 -0
  76. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/v3-pretty.json +0 -0
  77. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/escrow/v3.json +0 -0
  78. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/owned/1.0.0-pretty.json +0 -0
  79. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/owned/1.0.0.json +0 -0
  80. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/owned/contracts/Owned.sol +0 -0
  81. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/owned/v3-pretty.json +0 -0
  82. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/owned/v3.json +0 -0
  83. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/piper-coin/1.0.0-pretty.json +0 -0
  84. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/piper-coin/1.0.0.json +0 -0
  85. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/piper-coin/v3-pretty.json +0 -0
  86. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/piper-coin/v3.json +0 -0
  87. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/safe-math-lib/1.0.0-pretty.json +0 -0
  88. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/safe-math-lib/1.0.0.json +0 -0
  89. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/safe-math-lib/contracts/SafeMathLib.sol +0 -0
  90. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/safe-math-lib/v3-pretty.json +0 -0
  91. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/safe-math-lib/v3.json +0 -0
  92. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/1.0.0-pretty.json +0 -0
  93. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/1.0.0.json +0 -0
  94. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/contracts/AbstractToken.sol +0 -0
  95. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/contracts/StandardToken.sol +0 -0
  96. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/v3-pretty.json +0 -0
  97. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/standard-token/v3.json +0 -0
  98. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/transferable/1.0.0-pretty.json +0 -0
  99. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/transferable/1.0.0.json +0 -0
  100. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/transferable/contracts/Transferable.sol +0 -0
  101. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/transferable/v3-pretty.json +0 -0
  102. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/transferable/v3.json +0 -0
  103. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet/1.0.0-pretty.json +0 -0
  104. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet/1.0.0.json +0 -0
  105. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet/contracts/Wallet.sol +0 -0
  106. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet/v3-pretty.json +0 -0
  107. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet/v3.json +0 -0
  108. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet-with-send/1.0.0-pretty.json +0 -0
  109. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet-with-send/1.0.0.json +0 -0
  110. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet-with-send/contracts/WalletWithSend.sol +0 -0
  111. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet-with-send/v3-pretty.json +0 -0
  112. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/examples/wallet-with-send/v3.json +0 -0
  113. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/spec/package.spec.json +0 -0
  114. {web3-6.20.0 → web3-6.20.2}/ethpm/ethpm-spec/spec/v3.spec.json +0 -0
  115. {web3-6.20.0 → web3-6.20.2}/ethpm/exceptions.py +0 -0
  116. {web3-6.20.0 → web3-6.20.2}/ethpm/package.py +0 -0
  117. {web3-6.20.0 → web3-6.20.2}/ethpm/tools/__init__.py +0 -0
  118. {web3-6.20.0 → web3-6.20.2}/ethpm/tools/builder.py +0 -0
  119. {web3-6.20.0 → web3-6.20.2}/ethpm/tools/checker.py +0 -0
  120. {web3-6.20.0 → web3-6.20.2}/ethpm/tools/get_manifest.py +0 -0
  121. {web3-6.20.0 → web3-6.20.2}/ethpm/uri.py +0 -0
  122. {web3-6.20.0 → web3-6.20.2}/ethpm/validation/__init__.py +0 -0
  123. {web3-6.20.0 → web3-6.20.2}/ethpm/validation/manifest.py +0 -0
  124. {web3-6.20.0 → web3-6.20.2}/ethpm/validation/misc.py +0 -0
  125. {web3-6.20.0 → web3-6.20.2}/ethpm/validation/package.py +0 -0
  126. {web3-6.20.0 → web3-6.20.2}/ethpm/validation/uri.py +0 -0
  127. {web3-6.20.0 → web3-6.20.2}/pyproject.toml +0 -0
  128. {web3-6.20.0 → web3-6.20.2}/setup.cfg +0 -0
  129. {web3-6.20.0 → web3-6.20.2}/web3/__init__.py +0 -0
  130. {web3-6.20.0 → web3-6.20.2}/web3/_utils/__init__.py +0 -0
  131. {web3-6.20.0 → web3-6.20.2}/web3/_utils/abi.py +0 -0
  132. {web3-6.20.0 → web3-6.20.2}/web3/_utils/async_caching.py +0 -0
  133. {web3-6.20.0 → web3-6.20.2}/web3/_utils/async_transactions.py +0 -0
  134. {web3-6.20.0 → web3-6.20.2}/web3/_utils/blocks.py +0 -0
  135. {web3-6.20.0 → web3-6.20.2}/web3/_utils/caching.py +0 -0
  136. {web3-6.20.0 → web3-6.20.2}/web3/_utils/compat/__init__.py +0 -0
  137. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/__init__.py +0 -0
  138. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/compile_contracts.py +0 -0
  139. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/__init__.py +0 -0
  140. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/_custom_contract_data.py +0 -0
  141. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/address_reflector.py +0 -0
  142. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/arrays_contract.py +0 -0
  143. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/bytes_contracts.py +0 -0
  144. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/constructor_contracts.py +0 -0
  145. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/contract_caller_tester.py +0 -0
  146. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/emitter_contract.py +0 -0
  147. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/event_contracts.py +0 -0
  148. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/extended_resolver.py +0 -0
  149. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/fallback_function_contract.py +0 -0
  150. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/function_name_tester_contract.py +0 -0
  151. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/math_contract.py +0 -0
  152. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/offchain_lookup.py +0 -0
  153. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/offchain_resolver.py +0 -0
  154. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/panic_errors_contract.py +0 -0
  155. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/payable_tester.py +0 -0
  156. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/receive_function_contracts.py +0 -0
  157. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/reflector_contracts.py +0 -0
  158. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/revert_contract.py +0 -0
  159. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/simple_resolver.py +0 -0
  160. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/storage_contract.py +0 -0
  161. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/string_contract.py +0 -0
  162. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contract_sources/contract_data/tuple_contracts.py +0 -0
  163. {web3-6.20.0 → web3-6.20.2}/web3/_utils/contracts.py +0 -0
  164. {web3-6.20.0 → web3-6.20.2}/web3/_utils/datatypes.py +0 -0
  165. {web3-6.20.0 → web3-6.20.2}/web3/_utils/decorators.py +0 -0
  166. {web3-6.20.0 → web3-6.20.2}/web3/_utils/empty.py +0 -0
  167. {web3-6.20.0 → web3-6.20.2}/web3/_utils/encoding.py +0 -0
  168. {web3-6.20.0 → web3-6.20.2}/web3/_utils/ens.py +0 -0
  169. {web3-6.20.0 → web3-6.20.2}/web3/_utils/error_formatters_utils.py +0 -0
  170. {web3-6.20.0 → web3-6.20.2}/web3/_utils/events.py +0 -0
  171. {web3-6.20.0 → web3-6.20.2}/web3/_utils/fee_utils.py +0 -0
  172. {web3-6.20.0 → web3-6.20.2}/web3/_utils/filters.py +0 -0
  173. {web3-6.20.0 → web3-6.20.2}/web3/_utils/formatters.py +0 -0
  174. {web3-6.20.0 → web3-6.20.2}/web3/_utils/function_identifiers.py +0 -0
  175. {web3-6.20.0 → web3-6.20.2}/web3/_utils/http.py +0 -0
  176. {web3-6.20.0 → web3-6.20.2}/web3/_utils/hypothesis.py +0 -0
  177. {web3-6.20.0 → web3-6.20.2}/web3/_utils/math.py +0 -0
  178. {web3-6.20.0 → web3-6.20.2}/web3/_utils/method_formatters.py +0 -0
  179. {web3-6.20.0 → web3-6.20.2}/web3/_utils/miner.py +0 -0
  180. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module.py +0 -0
  181. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/__init__.py +0 -0
  182. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/eth_module.py +0 -0
  183. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/go_ethereum_admin_module.py +0 -0
  184. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/go_ethereum_personal_module.py +0 -0
  185. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/go_ethereum_txpool_module.py +0 -0
  186. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/net_module.py +0 -0
  187. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/persistent_connection_provider.py +0 -0
  188. {web3-6.20.0 → web3-6.20.2}/web3/_utils/module_testing/web3_module.py +0 -0
  189. {web3-6.20.0 → web3-6.20.2}/web3/_utils/normalizers.py +0 -0
  190. {web3-6.20.0 → web3-6.20.2}/web3/_utils/request.py +0 -0
  191. {web3-6.20.0 → web3-6.20.2}/web3/_utils/rpc_abi.py +0 -0
  192. {web3-6.20.0 → web3-6.20.2}/web3/_utils/threads.py +0 -0
  193. {web3-6.20.0 → web3-6.20.2}/web3/_utils/transactions.py +0 -0
  194. {web3-6.20.0 → web3-6.20.2}/web3/_utils/type_conversion.py +0 -0
  195. {web3-6.20.0 → web3-6.20.2}/web3/_utils/utility_methods.py +0 -0
  196. {web3-6.20.0 → web3-6.20.2}/web3/_utils/validation.py +0 -0
  197. {web3-6.20.0 → web3-6.20.2}/web3/_utils/windows.py +0 -0
  198. {web3-6.20.0 → web3-6.20.2}/web3/auto/__init__.py +0 -0
  199. {web3-6.20.0 → web3-6.20.2}/web3/auto/gethdev.py +0 -0
  200. {web3-6.20.0 → web3-6.20.2}/web3/beacon/__init__.py +0 -0
  201. {web3-6.20.0 → web3-6.20.2}/web3/beacon/api_endpoints.py +0 -0
  202. {web3-6.20.0 → web3-6.20.2}/web3/beacon/async_beacon.py +0 -0
  203. {web3-6.20.0 → web3-6.20.2}/web3/beacon/main.py +0 -0
  204. {web3-6.20.0 → web3-6.20.2}/web3/constants.py +0 -0
  205. {web3-6.20.0 → web3-6.20.2}/web3/contract/__init__.py +0 -0
  206. {web3-6.20.0 → web3-6.20.2}/web3/contract/async_contract.py +0 -0
  207. {web3-6.20.0 → web3-6.20.2}/web3/contract/base_contract.py +0 -0
  208. {web3-6.20.0 → web3-6.20.2}/web3/contract/contract.py +0 -0
  209. {web3-6.20.0 → web3-6.20.2}/web3/contract/utils.py +0 -0
  210. {web3-6.20.0 → web3-6.20.2}/web3/datastructures.py +0 -0
  211. {web3-6.20.0 → web3-6.20.2}/web3/eth/__init__.py +0 -0
  212. {web3-6.20.0 → web3-6.20.2}/web3/eth/async_eth.py +0 -0
  213. {web3-6.20.0 → web3-6.20.2}/web3/eth/base_eth.py +0 -0
  214. {web3-6.20.0 → web3-6.20.2}/web3/eth/eth.py +0 -0
  215. {web3-6.20.0 → web3-6.20.2}/web3/exceptions.py +0 -0
  216. {web3-6.20.0 → web3-6.20.2}/web3/gas_strategies/__init__.py +0 -0
  217. {web3-6.20.0 → web3-6.20.2}/web3/gas_strategies/rpc.py +0 -0
  218. {web3-6.20.0 → web3-6.20.2}/web3/gas_strategies/time_based.py +0 -0
  219. {web3-6.20.0 → web3-6.20.2}/web3/geth.py +0 -0
  220. {web3-6.20.0 → web3-6.20.2}/web3/logs.py +0 -0
  221. {web3-6.20.0 → web3-6.20.2}/web3/main.py +0 -0
  222. {web3-6.20.0 → web3-6.20.2}/web3/manager.py +0 -0
  223. {web3-6.20.0 → web3-6.20.2}/web3/method.py +0 -0
  224. {web3-6.20.0 → web3-6.20.2}/web3/middleware/__init__.py +0 -0
  225. {web3-6.20.0 → web3-6.20.2}/web3/middleware/abi.py +0 -0
  226. {web3-6.20.0 → web3-6.20.2}/web3/middleware/async_cache.py +0 -0
  227. {web3-6.20.0 → web3-6.20.2}/web3/middleware/attrdict.py +0 -0
  228. {web3-6.20.0 → web3-6.20.2}/web3/middleware/buffered_gas_estimate.py +0 -0
  229. {web3-6.20.0 → web3-6.20.2}/web3/middleware/cache.py +0 -0
  230. {web3-6.20.0 → web3-6.20.2}/web3/middleware/exception_handling.py +0 -0
  231. {web3-6.20.0 → web3-6.20.2}/web3/middleware/exception_retry_request.py +0 -0
  232. {web3-6.20.0 → web3-6.20.2}/web3/middleware/filter.py +0 -0
  233. {web3-6.20.0 → web3-6.20.2}/web3/middleware/fixture.py +0 -0
  234. {web3-6.20.0 → web3-6.20.2}/web3/middleware/formatting.py +0 -0
  235. {web3-6.20.0 → web3-6.20.2}/web3/middleware/gas_price_strategy.py +0 -0
  236. {web3-6.20.0 → web3-6.20.2}/web3/middleware/geth_poa.py +0 -0
  237. {web3-6.20.0 → web3-6.20.2}/web3/middleware/names.py +0 -0
  238. {web3-6.20.0 → web3-6.20.2}/web3/middleware/normalize_request_parameters.py +0 -0
  239. {web3-6.20.0 → web3-6.20.2}/web3/middleware/pythonic.py +0 -0
  240. {web3-6.20.0 → web3-6.20.2}/web3/middleware/signing.py +0 -0
  241. {web3-6.20.0 → web3-6.20.2}/web3/middleware/simulate_unmined_transaction.py +0 -0
  242. {web3-6.20.0 → web3-6.20.2}/web3/middleware/stalecheck.py +0 -0
  243. {web3-6.20.0 → web3-6.20.2}/web3/middleware/validation.py +0 -0
  244. {web3-6.20.0 → web3-6.20.2}/web3/module.py +0 -0
  245. {web3-6.20.0 → web3-6.20.2}/web3/net.py +0 -0
  246. {web3-6.20.0 → web3-6.20.2}/web3/pm.py +0 -0
  247. {web3-6.20.0 → web3-6.20.2}/web3/providers/__init__.py +0 -0
  248. {web3-6.20.0 → web3-6.20.2}/web3/providers/async_base.py +0 -0
  249. {web3-6.20.0 → web3-6.20.2}/web3/providers/async_rpc.py +0 -0
  250. {web3-6.20.0 → web3-6.20.2}/web3/providers/auto.py +0 -0
  251. {web3-6.20.0 → web3-6.20.2}/web3/providers/base.py +0 -0
  252. {web3-6.20.0 → web3-6.20.2}/web3/providers/eth_tester/__init__.py +0 -0
  253. {web3-6.20.0 → web3-6.20.2}/web3/providers/eth_tester/defaults.py +0 -0
  254. {web3-6.20.0 → web3-6.20.2}/web3/providers/eth_tester/main.py +0 -0
  255. {web3-6.20.0 → web3-6.20.2}/web3/providers/eth_tester/middleware.py +0 -0
  256. {web3-6.20.0 → web3-6.20.2}/web3/providers/ipc.py +0 -0
  257. {web3-6.20.0 → web3-6.20.2}/web3/providers/rpc.py +0 -0
  258. {web3-6.20.0 → web3-6.20.2}/web3/providers/websocket/__init__.py +0 -0
  259. {web3-6.20.0 → web3-6.20.2}/web3/providers/websocket/request_processor.py +0 -0
  260. {web3-6.20.0 → web3-6.20.2}/web3/providers/websocket/websocket.py +0 -0
  261. {web3-6.20.0 → web3-6.20.2}/web3/providers/websocket/websocket_connection.py +0 -0
  262. {web3-6.20.0 → web3-6.20.2}/web3/py.typed +0 -0
  263. {web3-6.20.0 → web3-6.20.2}/web3/scripts/__init__.py +0 -0
  264. {web3-6.20.0 → web3-6.20.2}/web3/scripts/release/__init__.py +0 -0
  265. {web3-6.20.0 → web3-6.20.2}/web3/scripts/release/test_package.py +0 -0
  266. {web3-6.20.0 → web3-6.20.2}/web3/testing.py +0 -0
  267. {web3-6.20.0 → web3-6.20.2}/web3/tools/__init__.py +0 -0
  268. {web3-6.20.0 → web3-6.20.2}/web3/tools/benchmark/__init__.py +0 -0
  269. {web3-6.20.0 → web3-6.20.2}/web3/tools/benchmark/main.py +0 -0
  270. {web3-6.20.0 → web3-6.20.2}/web3/tools/benchmark/node.py +0 -0
  271. {web3-6.20.0 → web3-6.20.2}/web3/tools/benchmark/reporting.py +0 -0
  272. {web3-6.20.0 → web3-6.20.2}/web3/tools/benchmark/utils.py +0 -0
  273. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/__init__.py +0 -0
  274. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/_utils.py +0 -0
  275. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/deployer.py +0 -0
  276. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/exceptions.py +0 -0
  277. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/linker.py +0 -0
  278. {web3-6.20.0 → web3-6.20.2}/web3/tools/pytest_ethereum/plugins.py +0 -0
  279. {web3-6.20.0 → web3-6.20.2}/web3/tracing.py +0 -0
  280. {web3-6.20.0 → web3-6.20.2}/web3/types.py +0 -0
  281. {web3-6.20.0 → web3-6.20.2}/web3/utils/__init__.py +0 -0
  282. {web3-6.20.0 → web3-6.20.2}/web3/utils/abi.py +0 -0
  283. {web3-6.20.0 → web3-6.20.2}/web3/utils/address.py +0 -0
  284. {web3-6.20.0 → web3-6.20.2}/web3/utils/async_exception_handling.py +0 -0
  285. {web3-6.20.0 → web3-6.20.2}/web3/utils/caching.py +0 -0
  286. {web3-6.20.0 → web3-6.20.2}/web3/utils/exception_handling.py +0 -0
  287. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/SOURCES.txt +0 -0
  288. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/dependency_links.txt +0 -0
  289. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/entry_points.txt +0 -0
  290. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/not-zip-safe +0 -0
  291. {web3-6.20.0 → web3-6.20.2}/web3.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: web3
3
- Version: 6.20.0
3
+ Version: 6.20.2
4
4
  Summary: web3.py
5
5
  Home-page: https://github.com/ethereum/web3.py
6
6
  Author: The Ethereum Foundation
@@ -24,8 +24,8 @@ Requires-Dist: aiohttp>=3.7.4.post0
24
24
  Requires-Dist: eth-abi>=4.0.0
25
25
  Requires-Dist: eth-account<0.13,>=0.8.0
26
26
  Requires-Dist: eth-hash[pycryptodome]>=0.5.1
27
- Requires-Dist: eth-typing!=4.2.0,>=3.0.0
28
- Requires-Dist: eth-utils>=2.1.0
27
+ Requires-Dist: eth-typing!=4.2.0,<5.0.0,>=3.0.0
28
+ Requires-Dist: eth-utils<5,>=2.1.0
29
29
  Requires-Dist: hexbytes<0.4.0,>=0.1.0
30
30
  Requires-Dist: jsonschema>=4.0.0
31
31
  Requires-Dist: lru-dict<1.3.0,>=1.1.6
@@ -38,7 +38,7 @@ Requires-Dist: pyunormalize>=15.0.0
38
38
  Provides-Extra: tester
39
39
  Requires-Dist: eth-tester[py-evm]<0.10.0b1,>=0.9.0b1; python_version <= "3.7" and extra == "tester"
40
40
  Requires-Dist: eth-tester[py-evm]<0.12.0b1,>=0.11.0b1; python_version > "3.7" and extra == "tester"
41
- Requires-Dist: py-geth>=3.14.0; extra == "tester"
41
+ Requires-Dist: py-geth<4,>=3.14.0; extra == "tester"
42
42
  Provides-Extra: docs
43
43
  Requires-Dist: sphinx>=5.3.0; extra == "docs"
44
44
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
@@ -46,7 +46,7 @@ Requires-Dist: towncrier<22,>=21; extra == "docs"
46
46
  Provides-Extra: dev
47
47
  Requires-Dist: eth-tester[py-evm]<0.10.0b1,>=0.9.0b1; python_version <= "3.7" and extra == "dev"
48
48
  Requires-Dist: eth-tester[py-evm]<0.12.0b1,>=0.11.0b1; python_version > "3.7" and extra == "dev"
49
- Requires-Dist: py-geth>=3.14.0; extra == "dev"
49
+ Requires-Dist: py-geth<4,>=3.14.0; extra == "dev"
50
50
  Requires-Dist: sphinx>=5.3.0; extra == "dev"
51
51
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
52
52
  Requires-Dist: towncrier<22,>=21; extra == "dev"
@@ -8,7 +8,7 @@ extras_require = {
8
8
  "tester": [
9
9
  "eth-tester[py-evm]>=0.9.0b1,<0.10.0b1; python_version <= '3.7'",
10
10
  "eth-tester[py-evm]>=0.11.0b1,<0.12.0b1; python_version > '3.7'",
11
- "py-geth>=3.14.0",
11
+ "py-geth>=3.14.0,<4",
12
12
  ],
13
13
  "docs": [
14
14
  "sphinx>=5.3.0",
@@ -51,7 +51,7 @@ with open("./README.md") as readme:
51
51
  setup(
52
52
  name="web3",
53
53
  # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
54
- version="6.20.0",
54
+ version="6.20.2",
55
55
  description="""web3.py""",
56
56
  long_description_content_type="text/markdown",
57
57
  long_description=long_description,
@@ -64,8 +64,8 @@ setup(
64
64
  "eth-abi>=4.0.0",
65
65
  "eth-account>=0.8.0,<0.13",
66
66
  "eth-hash[pycryptodome]>=0.5.1",
67
- "eth-typing>=3.0.0,!=4.2.0",
68
- "eth-utils>=2.1.0",
67
+ "eth-typing>=3.0.0,!=4.2.0,<5.0.0",
68
+ "eth-utils>=2.1.0,<5",
69
69
  "hexbytes>=0.1.0,<0.4.0",
70
70
  "jsonschema>=4.0.0",
71
71
  "lru-dict>=1.1.6,<1.3.0",
@@ -1,6 +1,3 @@
1
- from collections import (
2
- deque,
3
- )
4
1
  import pytest
5
2
  import time
6
3
  from typing import (
@@ -9,6 +6,7 @@ from typing import (
9
6
  Collection,
10
7
  Dict,
11
8
  Generator,
9
+ Optional,
12
10
  Sequence,
13
11
  Union,
14
12
  )
@@ -35,6 +33,7 @@ from web3._utils.compat import (
35
33
  )
36
34
  from web3._utils.request import (
37
35
  async_cache_and_return_session,
36
+ asyncio,
38
37
  cache_and_return_session,
39
38
  )
40
39
  from web3.types import (
@@ -188,9 +187,13 @@ class WebsocketMessageStreamMock:
188
187
  closed: bool = False
189
188
 
190
189
  def __init__(
191
- self, messages: Collection[bytes] = None, raise_exception: Exception = None
190
+ self,
191
+ messages: Optional[Collection[bytes]] = None,
192
+ raise_exception: Optional[Exception] = None,
192
193
  ) -> None:
193
- self.messages = deque(messages) if messages else deque()
194
+ self.queue = asyncio.Queue() # type: ignore # py38 issue
195
+ for msg in messages or []:
196
+ self.queue.put_nowait(msg)
194
197
  self.raise_exception = raise_exception
195
198
 
196
199
  def __await__(self) -> Generator[Any, Any, "Self"]:
@@ -203,13 +206,13 @@ class WebsocketMessageStreamMock:
203
206
  return self
204
207
 
205
208
  async def __anext__(self) -> bytes:
209
+ return await self.recv()
210
+
211
+ async def recv(self) -> bytes:
206
212
  if self.raise_exception:
207
213
  raise self.raise_exception
208
214
 
209
- elif len(self.messages) == 0:
210
- raise StopAsyncIteration
211
-
212
- return self.messages.popleft()
215
+ return await self.queue.get()
213
216
 
214
217
  @staticmethod
215
218
  async def pong() -> Literal[False]:
@@ -9,6 +9,7 @@ from typing import (
9
9
 
10
10
  from websockets import (
11
11
  ConnectionClosed,
12
+ ConnectionClosedOK,
12
13
  WebSocketClientProtocol,
13
14
  WebSocketException,
14
15
  )
@@ -142,6 +143,12 @@ class PersistentConnectionProvider(AsyncJSONBaseProvider, ABC):
142
143
  await asyncio.sleep(0)
143
144
  try:
144
145
  await self._provider_specific_message_listener()
146
+ except ConnectionClosedOK:
147
+ # RequestManager._ws_message_stream() will rethrow this exception and
148
+ # cause WebsocketConnection to stop the process_subscriptions() loop,
149
+ # or raise ConnectionClosedOK when recv() is called.
150
+ # see: https://github.com/ethereum/web3.py/pull/3424
151
+ raise
145
152
  except Exception as e:
146
153
  if not self.silence_listener_task_exceptions:
147
154
  raise e
@@ -184,10 +191,6 @@ class PersistentConnectionProvider(AsyncJSONBaseProvider, ABC):
184
191
  request_cache_key = generate_cache_key(request_id)
185
192
 
186
193
  while True:
187
- # check if an exception was recorded in the listener task and raise it
188
- # in the main loop if so
189
- self._handle_listener_task_exceptions()
190
-
191
194
  if request_cache_key in self._request_processor._request_response_cache:
192
195
  self.logger.debug(
193
196
  f"Popping response for id {request_id} from cache."
@@ -197,6 +200,9 @@ class PersistentConnectionProvider(AsyncJSONBaseProvider, ABC):
197
200
  )
198
201
  return popped_response
199
202
  else:
203
+ # check if an exception was recorded in the listener task and raise
204
+ # it in the main loop if so
205
+ self._handle_listener_task_exceptions()
200
206
  await asyncio.sleep(0)
201
207
 
202
208
  try:
@@ -136,9 +136,8 @@ class WebsocketProviderV2(PersistentConnectionProvider):
136
136
  return response
137
137
 
138
138
  async def _provider_specific_message_listener(self) -> None:
139
- async for raw_message in self._ws:
140
- await asyncio.sleep(0)
141
-
139
+ while True:
140
+ raw_message = await self._ws.recv()
142
141
  response = json.loads(raw_message)
143
142
  subscription = response.get("method") == "eth_subscription"
144
143
  await self._request_processor.cache_raw_response(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: web3
3
- Version: 6.20.0
3
+ Version: 6.20.2
4
4
  Summary: web3.py
5
5
  Home-page: https://github.com/ethereum/web3.py
6
6
  Author: The Ethereum Foundation
@@ -24,8 +24,8 @@ Requires-Dist: aiohttp>=3.7.4.post0
24
24
  Requires-Dist: eth-abi>=4.0.0
25
25
  Requires-Dist: eth-account<0.13,>=0.8.0
26
26
  Requires-Dist: eth-hash[pycryptodome]>=0.5.1
27
- Requires-Dist: eth-typing!=4.2.0,>=3.0.0
28
- Requires-Dist: eth-utils>=2.1.0
27
+ Requires-Dist: eth-typing!=4.2.0,<5.0.0,>=3.0.0
28
+ Requires-Dist: eth-utils<5,>=2.1.0
29
29
  Requires-Dist: hexbytes<0.4.0,>=0.1.0
30
30
  Requires-Dist: jsonschema>=4.0.0
31
31
  Requires-Dist: lru-dict<1.3.0,>=1.1.6
@@ -38,7 +38,7 @@ Requires-Dist: pyunormalize>=15.0.0
38
38
  Provides-Extra: tester
39
39
  Requires-Dist: eth-tester[py-evm]<0.10.0b1,>=0.9.0b1; python_version <= "3.7" and extra == "tester"
40
40
  Requires-Dist: eth-tester[py-evm]<0.12.0b1,>=0.11.0b1; python_version > "3.7" and extra == "tester"
41
- Requires-Dist: py-geth>=3.14.0; extra == "tester"
41
+ Requires-Dist: py-geth<4,>=3.14.0; extra == "tester"
42
42
  Provides-Extra: docs
43
43
  Requires-Dist: sphinx>=5.3.0; extra == "docs"
44
44
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
@@ -46,7 +46,7 @@ Requires-Dist: towncrier<22,>=21; extra == "docs"
46
46
  Provides-Extra: dev
47
47
  Requires-Dist: eth-tester[py-evm]<0.10.0b1,>=0.9.0b1; python_version <= "3.7" and extra == "dev"
48
48
  Requires-Dist: eth-tester[py-evm]<0.12.0b1,>=0.11.0b1; python_version > "3.7" and extra == "dev"
49
- Requires-Dist: py-geth>=3.14.0; extra == "dev"
49
+ Requires-Dist: py-geth<4,>=3.14.0; extra == "dev"
50
50
  Requires-Dist: sphinx>=5.3.0; extra == "dev"
51
51
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
52
52
  Requires-Dist: towncrier<22,>=21; extra == "dev"
@@ -2,8 +2,8 @@ aiohttp>=3.7.4.post0
2
2
  eth-abi>=4.0.0
3
3
  eth-account<0.13,>=0.8.0
4
4
  eth-hash[pycryptodome]>=0.5.1
5
- eth-typing!=4.2.0,>=3.0.0
6
- eth-utils>=2.1.0
5
+ eth-typing!=4.2.0,<5.0.0,>=3.0.0
6
+ eth-utils<5,>=2.1.0
7
7
  hexbytes<0.4.0,>=0.1.0
8
8
  jsonschema>=4.0.0
9
9
  lru-dict<1.3.0,>=1.1.6
@@ -17,7 +17,7 @@ pyunormalize>=15.0.0
17
17
  pywin32>=223
18
18
 
19
19
  [dev]
20
- py-geth>=3.14.0
20
+ py-geth<4,>=3.14.0
21
21
  sphinx>=5.3.0
22
22
  sphinx_rtd_theme>=1.0.0
23
23
  towncrier<22,>=21
@@ -56,7 +56,7 @@ towncrier<22,>=21
56
56
  ipfshttpclient==0.8.0a2
57
57
 
58
58
  [tester]
59
- py-geth>=3.14.0
59
+ py-geth<4,>=3.14.0
60
60
 
61
61
  [tester:python_version <= "3.7"]
62
62
  eth-tester[py-evm]<0.10.0b1,>=0.9.0b1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes