py-geth 5.0.0b1__py3-none-any.whl → 5.0.0b2__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/genesis.json +1 -1
- geth/types.py +6 -1
- geth/utils/validation.py +7 -1
- {py_geth-5.0.0b1.dist-info → py_geth-5.0.0b2.dist-info}/METADATA +1 -1
- {py_geth-5.0.0b1.dist-info → py_geth-5.0.0b2.dist-info}/RECORD +8 -8
- {py_geth-5.0.0b1.dist-info → py_geth-5.0.0b2.dist-info}/WHEEL +1 -1
- {py_geth-5.0.0b1.dist-info → py_geth-5.0.0b2.dist-info}/LICENSE +0 -0
- {py_geth-5.0.0b1.dist-info → py_geth-5.0.0b2.dist-info}/top_level.txt +0 -0
geth/genesis.json
CHANGED
@@ -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
|
}
|
geth/types.py
CHANGED
@@ -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
|
geth/utils/validation.py
CHANGED
@@ -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
|
)
|
@@ -3,14 +3,14 @@ geth/accounts.py,sha256=QxhjdyFT5JSgTswQiPsMMgCpTcV9-vaZiksDoWfePTI,5943
|
|
3
3
|
geth/chain.py,sha256=VMbb1OMI8z-HRteYg7bDgDpf9-SyLYioy2OIYO7oW5s,3879
|
4
4
|
geth/default_blockchain_password,sha256=7ZYUjo1py5Wh_uA_WvoXQG8mPv2CiJ07tI2tOodTLi8,30
|
5
5
|
geth/exceptions.py,sha256=yLGBkLabY_W-43kW9iYPM3FaoR08JWgTWYW1RHukaeU,2643
|
6
|
-
geth/genesis.json,sha256=
|
6
|
+
geth/genesis.json,sha256=E6pcGhk0pz1ByhRvyqeVbNAteOB4U1jOj4KiHtR2tAM,901
|
7
7
|
geth/install.py,sha256=Ztrnh8vZIzfJ6lInNKlvXIneQPLW9FubsjPCJD8oXOg,10031
|
8
8
|
geth/main.py,sha256=jgWIs3o9BfHcqWfuq6l4JBjcdQzDy13-EJDP1c2ouhQ,1463
|
9
9
|
geth/mixins.py,sha256=cpls-_Z9WZdmYbjhOZL-y6F1xRYAvmfWRed2DODe6D8,5639
|
10
10
|
geth/process.py,sha256=3zeHvPFhXMhotB-kOhpJlt_qxiQFTEtByAdFNVf5mlg,8966
|
11
11
|
geth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
geth/reset.py,sha256=IlKfr5PyjVi0rHjoGUY5kbjtnR9ZAsfSb1Jgzh0dDo0,2639
|
13
|
-
geth/types.py,sha256=
|
13
|
+
geth/types.py,sha256=IPmBhcXYXpJZuqrZiSJ5QVrf6IVG8hFsUDqaMAFjgcE,1421
|
14
14
|
geth/wrapper.py,sha256=Jx1rhIguhw0TODFzlAlv0DHuilh_Uy5dDPrNotdMmCs,7774
|
15
15
|
geth/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
geth/utils/encoding.py,sha256=YguGD7mEUN2eSMPkBREalKK1VQfOsLcj1WWJLR0HTxY,1618
|
@@ -19,9 +19,9 @@ geth/utils/networking.py,sha256=ntH6CZuGcTJJ0BIdT4rI-EMz703VDbJAJzGcxufDQMo,1488
|
|
19
19
|
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
|
-
geth/utils/validation.py,sha256=
|
23
|
-
py_geth-5.0.
|
24
|
-
py_geth-5.0.
|
25
|
-
py_geth-5.0.
|
26
|
-
py_geth-5.0.
|
27
|
-
py_geth-5.0.
|
22
|
+
geth/utils/validation.py,sha256=2WGKUJUJcGHKOXNlP-KE_bpIt7Tx23_BqmDkMDgGdZg,5356
|
23
|
+
py_geth-5.0.0b2.dist-info/LICENSE,sha256=kUYPqABLwavFVY_YsjHUmfvCFNnMRwMd3akYH1rHTaY,1095
|
24
|
+
py_geth-5.0.0b2.dist-info/METADATA,sha256=WsG1ZLqw7Ctv2asTyM-aEpRJyK8IE_Cj78zYvemf59Y,8929
|
25
|
+
py_geth-5.0.0b2.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
26
|
+
py_geth-5.0.0b2.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
|
27
|
+
py_geth-5.0.0b2.dist-info/RECORD,,
|
File without changes
|
File without changes
|