This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ def __getitem__(self, key: bytes) -> bytes:
129
129
exc .missing_node_hash ,
130
130
self ._starting_root_hash ,
131
131
exc .requested_key ,
132
+ exc .prefix ,
132
133
self ._address ,
133
134
) from exc
134
135
@@ -153,6 +154,7 @@ def __delitem__(self, key: bytes) -> None:
153
154
exc .missing_node_hash ,
154
155
self ._starting_root_hash ,
155
156
exc .requested_key ,
157
+ exc .prefix ,
156
158
self ._address ,
157
159
) from exc
158
160
Original file line number Diff line number Diff line change
1
+ from typing import (
2
+ Optional ,
3
+ )
4
+
1
5
from eth_typing import (
2
6
Address ,
3
7
Hash32 ,
8
12
from trie .exceptions import (
9
13
MissingTrieNode ,
10
14
)
15
+ from trie .typing import (
16
+ Nibbles ,
17
+ )
11
18
12
19
from eth .exceptions import (
13
20
PyEVMError ,
@@ -53,6 +60,7 @@ def __init__(
53
60
missing_node_hash : Hash32 ,
54
61
storage_root_hash : Hash32 ,
55
62
requested_key : Hash32 ,
63
+ prefix : Optional [Nibbles ],
56
64
account_address : Address ,
57
65
* args : bytes ) -> None :
58
66
if not isinstance (account_address , bytes ):
@@ -62,6 +70,7 @@ def __init__(
62
70
missing_node_hash ,
63
71
storage_root_hash ,
64
72
requested_key ,
73
+ prefix ,
65
74
account_address ,
66
75
* args ,
67
76
)
@@ -72,7 +81,7 @@ def storage_root_hash(self) -> Hash32:
72
81
73
82
@property
74
83
def account_address (self ) -> Address :
75
- return self .args [3 ]
84
+ return self .args [4 ]
76
85
77
86
def __repr__ (self ) -> str :
78
87
return f"MissingStorageTrieNode: { self } "
Original file line number Diff line number Diff line change 16
16
"py-ecc>=1.4.7,<5.0.0" ,
17
17
"pyethash>=0.1.27,<1.0.0" ,
18
18
"rlp>=1.1.0,<2.0.0" ,
19
- "trie>=1.4.0,< 2.0.0" ,
19
+ "trie== 2.0.0-alpha.1 " ,
20
20
],
21
21
# The eth-extra sections is for libraries that the evm does not
22
22
# explicitly need to function and hence should not depend on.
You can’t perform that action at this time.
0 commit comments