py-geth 5.5.0__py3-none-any.whl → 6.0.0__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.
geth/install.py CHANGED
@@ -58,6 +58,8 @@ V1_15_7 = "v1.15.7"
58
58
  V1_15_8 = "v1.15.8"
59
59
  V1_15_9 = "v1.15.9"
60
60
  V1_15_10 = "v1.15.10"
61
+ V1_15_11 = "v1.15.11"
62
+ V1_16_0 = "v1.16.0"
61
63
 
62
64
 
63
65
  LINUX = "linux"
@@ -365,6 +367,8 @@ install_v1_15_7 = functools.partial(install_from_source_code_release, V1_15_7)
365
367
  install_v1_15_8 = functools.partial(install_from_source_code_release, V1_15_8)
366
368
  install_v1_15_9 = functools.partial(install_from_source_code_release, V1_15_9)
367
369
  install_v1_15_10 = functools.partial(install_from_source_code_release, V1_15_10)
370
+ install_v1_15_11 = functools.partial(install_from_source_code_release, V1_15_11)
371
+ install_v1_16_0 = functools.partial(install_from_source_code_release, V1_16_0)
368
372
 
369
373
  INSTALL_FUNCTIONS = {
370
374
  LINUX: {
@@ -392,6 +396,8 @@ INSTALL_FUNCTIONS = {
392
396
  V1_15_8: install_v1_15_8,
393
397
  V1_15_9: install_v1_15_9,
394
398
  V1_15_10: install_v1_15_10,
399
+ V1_15_11: install_v1_15_11,
400
+ V1_16_0: install_v1_16_0,
395
401
  },
396
402
  OSX: {
397
403
  V1_14_0: install_v1_14_0,
@@ -418,6 +424,8 @@ INSTALL_FUNCTIONS = {
418
424
  V1_15_8: install_v1_15_8,
419
425
  V1_15_9: install_v1_15_9,
420
426
  V1_15_10: install_v1_15_10,
427
+ V1_15_11: install_v1_15_11,
428
+ V1_16_0: install_v1_16_0,
421
429
  },
422
430
  }
423
431
 
geth/process.py CHANGED
@@ -300,6 +300,14 @@ class DevGethProcess(BaseGethProcess):
300
300
 
301
301
  self._data_dir = get_chain_data_dir(base_dir, chain_name)
302
302
  overrides["data_dir"] = self.data_dir
303
+
304
+ if overrides.get("network_id") is not None:
305
+ # as of ``v1.16.0``, ``network_id`` can no longer be used with ``--dev``
306
+ raise PyGethValueError(
307
+ "You cannot specify `network_id` for a DevGethProcess"
308
+ )
309
+ overrides["network_id"] = None
310
+
303
311
  geth_kwargs = construct_test_chain_kwargs(**overrides)
304
312
  validate_geth_kwargs(geth_kwargs)
305
313
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-geth
3
- Version: 5.5.0
3
+ Version: 6.0.0
4
4
  Summary: py-geth: Run Go-Ethereum as a subprocess
5
5
  Home-page: https://github.com/ethereum/py-geth
6
6
  Author: The Ethereum Foundation
@@ -140,7 +140,7 @@ False
140
140
  >>> geth.is_stopped
141
141
  True
142
142
  >>> geth.version
143
- "1.15.10-stable"
143
+ "1.16.0-stable"
144
144
  ```
145
145
 
146
146
  When testing it can be nice to see the logging output produced by the `geth`
@@ -180,19 +180,19 @@ the current list of supported versions.
180
180
  Installation can be done via the command line:
181
181
 
182
182
  ```bash
183
- $ python -m geth.install v1.15.10
183
+ $ python -m geth.install v1.16.0
184
184
  ```
185
185
 
186
186
  Or from python using the `install_geth` function.
187
187
 
188
188
  ```python
189
189
  >>> from geth import install_geth
190
- >>> install_geth('v1.15.10')
190
+ >>> install_geth('v1.16.0')
191
191
  ```
192
192
 
193
193
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
194
- home directory. The `v1.15.10` binary would be located at
195
- `$HOME/.py-geth/geth-v1.15.10/bin/geth`.
194
+ home directory. The `v1.16.0` binary would be located at
195
+ `$HOME/.py-geth/geth-v1.16.0/bin/geth`.
196
196
 
197
197
  ## About `DevGethProcess`
198
198
 
@@ -202,7 +202,7 @@ In that regard, it is preconfigured as follows.
202
202
  - A single account is created, allocated 1 billion ether, and assigned as the coinbase.
203
203
  - All APIs are enabled on both `rpc` and `ipc` interfaces.
204
204
  - Networking is configured to not look for or connect to any peers.
205
- - The `networkid` of `1234` is used.
205
+ - A `networkid` is not set as one can no longer be set along with `--dev`.
206
206
  - Verbosity is set to `5` (DEBUG)
207
207
  - The RPC interface *tries* to bind to 8545 but will find an open port if this
208
208
  port is not available.
@@ -4,10 +4,10 @@ geth/chain.py,sha256=7ZTmzLgkIB6UKcB1NSvMfTuF6RqO4lW0FtHz9uSJQ5s,3683
4
4
  geth/default_blockchain_password,sha256=7ZYUjo1py5Wh_uA_WvoXQG8mPv2CiJ07tI2tOodTLi8,30
5
5
  geth/exceptions.py,sha256=yLGBkLabY_W-43kW9iYPM3FaoR08JWgTWYW1RHukaeU,2643
6
6
  geth/genesis.json,sha256=HPY88vd1cD0bXKB2Fd59EQ08oK6uVTOehHqSmckuYBY,1224
7
- geth/install.py,sha256=ET4Zi8iGu-0k7AMJmdPHoKS1qf1rHwlpcYtxlD5AfDQ,13479
7
+ geth/install.py,sha256=pmEZP9aqsszMPeQC4odHUzcAm_QVwZhiF0qoIyQwt4w,13821
8
8
  geth/main.py,sha256=jgWIs3o9BfHcqWfuq6l4JBjcdQzDy13-EJDP1c2ouhQ,1463
9
9
  geth/mixins.py,sha256=cpls-_Z9WZdmYbjhOZL-y6F1xRYAvmfWRed2DODe6D8,5639
10
- geth/process.py,sha256=MEEzmwxrIjNpTMINmm4OpraB8MR6ENht63zNultIOEc,9059
10
+ geth/process.py,sha256=kDmHaOYO-oLYbju6OTYAP9hEif9D3-Yj9DTdc_svAfg,9358
11
11
  geth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  geth/reset.py,sha256=IlKfr5PyjVi0rHjoGUY5kbjtnR9ZAsfSb1Jgzh0dDo0,2639
13
13
  geth/types.py,sha256=9BesREN7IuJVM2BagzUfIZ0VjJTAcRFJgEF7NyLHugY,1481
@@ -20,8 +20,8 @@ geth/utils/proc.py,sha256=0CcHzOTkSzikrli_2ooQT6iHpPaTRYsshcvrGYC7btA,1801
20
20
  geth/utils/thread.py,sha256=IL4C-AvzYbOwW2qOIMS63GVEqiWLe9TiMXX20qT1UaY,315
21
21
  geth/utils/timeout.py,sha256=Uiz90EKJJm7UmKmVx2FhBpIblnvg9dTqszsanvfOtFM,2259
22
22
  geth/utils/validation.py,sha256=rMwaB2DSKNG8-NXx269YwUrOAfzuckqTBwA4wqjgebY,5030
23
- py_geth-5.5.0.dist-info/licenses/LICENSE,sha256=ENGC4gSn0kYaC_mlaXOEwCKmA6W7Z9MeSemc5O2k-h0,1095
24
- py_geth-5.5.0.dist-info/METADATA,sha256=BkkYjuc9vm3KI5LV8mDHhTBciKQTdHP1B3mnSMz954U,9270
25
- py_geth-5.5.0.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
26
- py_geth-5.5.0.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
27
- py_geth-5.5.0.dist-info/RECORD,,
23
+ py_geth-6.0.0.dist-info/licenses/LICENSE,sha256=ENGC4gSn0kYaC_mlaXOEwCKmA6W7Z9MeSemc5O2k-h0,1095
24
+ py_geth-6.0.0.dist-info/METADATA,sha256=DHACAFxyiamdMmu4a91Fui5TtT4HjFuKjakn4DeY3O4,9303
25
+ py_geth-6.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ py_geth-6.0.0.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
27
+ py_geth-6.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5