Skip to content

Commit 1bfc94e

Browse files
committed
update type in state_db
1 parent 3e769f1 commit 1bfc94e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ethereum_optimized/state_db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def close_state(state: State) -> None:
125125
del state.created_accounts
126126

127127
@add_item(patches)
128-
def get_metadata(state: State, key: Bytes) -> Optional[Bytes]:
128+
def get_metadata(state: State, key: Bytes32) -> Optional[Bytes]:
129129
"""Get a piece of metadata"""
130130
return state.db.get_metadata(key)
131131

@@ -345,7 +345,7 @@ def get_storage(state: State, address: Address, key: Bytes32) -> U256:
345345

346346
@add_item(patches)
347347
def get_storage_original(
348-
state: State, address: Address, key: Bytes
348+
state: State, address: Address, key: Bytes32
349349
) -> U256:
350350
"""
351351
See `state`.

0 commit comments

Comments
 (0)