py-geth 5.0.0b1__tar.gz → 5.0.0b2__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.
- {py_geth-5.0.0b1/py_geth.egg-info → py_geth-5.0.0b2}/PKG-INFO +1 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/genesis.json +1 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/types.py +6 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/validation.py +7 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2/py_geth.egg-info}/PKG-INFO +1 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/setup.py +1 -1
- py_geth-5.0.0b2/tests/core/accounts/projects/test-01/geth/nodekey +1 -0
- py_geth-5.0.0b2/tests/core/accounts/projects/test-02/geth/nodekey +1 -0
- py_geth-5.0.0b2/tests/core/accounts/projects/test-03/geth/nodekey +1 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_validation.py +14 -2
- py_geth-5.0.0b1/tests/core/accounts/projects/test-01/geth/nodekey +0 -1
- py_geth-5.0.0b1/tests/core/accounts/projects/test-02/geth/nodekey +0 -1
- py_geth-5.0.0b1/tests/core/accounts/projects/test-03/geth/nodekey +0 -1
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/LICENSE +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/MANIFEST.in +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/README.md +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/__init__.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/accounts.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/default_blockchain_password +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/exceptions.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/install.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/main.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/mixins.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/process.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/py.typed +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/reset.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/__init__.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/encoding.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/filesystem.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/networking.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/proc.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/thread.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/utils/timeout.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/geth/wrapper.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/py_geth.egg-info/SOURCES.txt +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/py_geth.egg-info/dependency_links.txt +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/py_geth.egg-info/not-zip-safe +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/py_geth.egg-info/requires.txt +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/py_geth.egg-info/top_level.txt +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/pyproject.toml +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/setup.cfg +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/conftest.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-01/geth/LOCK +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-01/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-02/geth/LOCK +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-00.716418819Z--e8e085862a8d951dd78ec5ea784b3e22ee1ca9c6 +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-04.748321142Z--0da70f43a568e88168436be52ed129f4a9bbdaf5 +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/projects/test-03/geth/LOCK +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/test_account_list_parsing.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/test_create_geth_account.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/accounts/test_geth_accounts.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/running/test_running_dev_chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/running/test_running_mainnet_chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/running/test_running_sepolia_chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/running/test_running_with_logging.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/running/test_use_as_a_context_manager.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/test_import_and_version.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/test_library_files.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_constructing_test_chain_kwargs.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_geth_version.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_is_live_chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_is_sepolia_chain.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/waiting/conftest.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/waiting/test_waiting_for_ipc_socket.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/waiting/test_waiting_for_rpc_connection.py +0 -0
- {py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/installation/test_geth_installation.py +0 -0
@@ -24,6 +24,6 @@
|
|
24
24
|
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
25
25
|
"gasLimit": "0x47e7c4",
|
26
26
|
"difficulty": "0x0",
|
27
|
-
"
|
27
|
+
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
28
28
|
"alloc": {}
|
29
29
|
}
|
@@ -48,12 +48,17 @@ class GethKwargsTypedDict(TypedDict, total=False):
|
|
48
48
|
|
49
49
|
class GenesisDataTypedDict(TypedDict, total=False):
|
50
50
|
alloc: dict[str, dict[str, Any]]
|
51
|
+
baseFeePerGas: str
|
52
|
+
blobGasUsed: str
|
51
53
|
coinbase: str
|
52
54
|
config: dict[str, Any]
|
53
55
|
difficulty: str
|
56
|
+
excessBlobGas: str
|
54
57
|
extraData: str
|
55
58
|
gasLimit: str
|
56
|
-
|
59
|
+
gasUsed: str
|
60
|
+
mixHash: str
|
57
61
|
nonce: str
|
62
|
+
number: str
|
58
63
|
parentHash: str
|
59
64
|
timestamp: str
|
@@ -70,6 +70,7 @@ def validate_geth_kwargs(geth_kwargs: GethKwargsTypedDict) -> None:
|
|
70
70
|
|
71
71
|
|
72
72
|
class GenesisDataConfig(BaseModel):
|
73
|
+
chainId: int = 0
|
73
74
|
ethash: dict[str, Any] = {} # so that geth treats config as PoW -> PoS transition
|
74
75
|
homesteadBlock: int = 0
|
75
76
|
daoForkBlock: int = 0
|
@@ -97,15 +98,20 @@ class GenesisDataConfig(BaseModel):
|
|
97
98
|
|
98
99
|
class GenesisData(BaseModel):
|
99
100
|
alloc: dict[str, dict[str, Any]] = {}
|
101
|
+
baseFeePerGas: str = "0x0"
|
102
|
+
blobGasUsed: str = "0x0"
|
100
103
|
coinbase: str = "0x3333333333333333333333333333333333333333"
|
101
104
|
config: dict[str, Any] = GenesisDataConfig().model_dump()
|
102
105
|
difficulty: str = "0x0"
|
106
|
+
excessBlobGas: str = "0x0"
|
103
107
|
extraData: str = (
|
104
108
|
"0x0000000000000000000000000000000000000000000000000000000000000000"
|
105
109
|
)
|
106
110
|
gasLimit: str = "0x47e7c4"
|
107
|
-
|
111
|
+
gasUsed: str = "0x0"
|
112
|
+
mixHash: str = "0x0000000000000000000000000000000000000000000000000000000000000000"
|
108
113
|
nonce: str = "0x0"
|
114
|
+
number: str = "0x0"
|
109
115
|
parentHash: str = (
|
110
116
|
"0x0000000000000000000000000000000000000000000000000000000000000000"
|
111
117
|
)
|
@@ -38,7 +38,7 @@ with open("./README.md") as readme:
|
|
38
38
|
setup(
|
39
39
|
name="py-geth",
|
40
40
|
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
|
41
|
-
version="5.0.0-beta.
|
41
|
+
version="5.0.0-beta.2",
|
42
42
|
description="""py-geth: Run Go-Ethereum as a subprocess""",
|
43
43
|
long_description_content_type="text/markdown",
|
44
44
|
long_description=long_description,
|
@@ -0,0 +1 @@
|
|
1
|
+
bbcade0581fe7679e89f21946c728a382fc5b92d53bec428ad8111a39e382156
|
@@ -0,0 +1 @@
|
|
1
|
+
e27339b80b7dd3658b4704d90bafeb87d52b69b2c781a33cec764d07a3995450
|
@@ -0,0 +1 @@
|
|
1
|
+
cf767be1c9e7b8d7e7fe645c851122b1c1eca806f0fbab119793517a9644c670
|
@@ -104,8 +104,11 @@ def test_validate_genesis_data_bad(genesis_data):
|
|
104
104
|
},
|
105
105
|
{
|
106
106
|
"alloc": {},
|
107
|
+
"baseFeePerGas": "0x0",
|
108
|
+
"blobGasUsed": "0x0",
|
107
109
|
"coinbase": "0x3333333333333333333333333333333333333333",
|
108
110
|
"config": {
|
111
|
+
"chainId": 0,
|
109
112
|
"ethash": {},
|
110
113
|
"homesteadBlock": 0,
|
111
114
|
"daoForkBlock": 0,
|
@@ -127,10 +130,13 @@ def test_validate_genesis_data_bad(genesis_data):
|
|
127
130
|
"cancunTime": 0,
|
128
131
|
},
|
129
132
|
"difficulty": "0x00012131",
|
133
|
+
"excessBlobGas": "0x0",
|
130
134
|
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
131
135
|
"gasLimit": "0x47e7c4",
|
132
|
-
"
|
136
|
+
"gasUsed": "0x0",
|
137
|
+
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
133
138
|
"nonce": "abc",
|
139
|
+
"number": "0x0",
|
134
140
|
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
135
141
|
"timestamp": "1234",
|
136
142
|
},
|
@@ -150,8 +156,11 @@ def test_validate_genesis_data_bad(genesis_data):
|
|
150
156
|
},
|
151
157
|
{
|
152
158
|
"alloc": {},
|
159
|
+
"baseFeePerGas": "0x0",
|
160
|
+
"blobGasUsed": "0x0",
|
153
161
|
"coinbase": "0x3333333333333333333333333333333333333333",
|
154
162
|
"config": {
|
163
|
+
"chainId": 0,
|
155
164
|
"ethash": {},
|
156
165
|
"homesteadBlock": 5,
|
157
166
|
"daoForkBlock": 1,
|
@@ -173,10 +182,13 @@ def test_validate_genesis_data_bad(genesis_data):
|
|
173
182
|
"cancunTime": 0,
|
174
183
|
},
|
175
184
|
"difficulty": "0x00012131",
|
185
|
+
"excessBlobGas": "0x0",
|
176
186
|
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
177
187
|
"gasLimit": "0x47e7c4",
|
178
|
-
"
|
188
|
+
"gasUsed": "0x0",
|
189
|
+
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
179
190
|
"nonce": "abc",
|
191
|
+
"number": "0x0",
|
180
192
|
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", # noqa: E501
|
181
193
|
"timestamp": "0x0",
|
182
194
|
},
|
@@ -1 +0,0 @@
|
|
1
|
-
46cf87d2c3661d137fa3901cfeff7f58b74a4f118d004199580fd588eba10b5e
|
@@ -1 +0,0 @@
|
|
1
|
-
9fb3c3964107a7f76a2474221384c21dc0288552d59ef9aa3317c4e3a1e2045e
|
@@ -1 +0,0 @@
|
|
1
|
-
b0352dc57ebd8601c833b6079e0140a38174c58f13b24f292e0fccc708fe2e4d
|
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
|
{py_geth-5.0.0b1 → py_geth-5.0.0b2}/tests/core/utility/test_constructing_test_chain_kwargs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|