Skip to content

Commit

Permalink
chore: typing bytes fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Sep 9, 2024
1 parent 98ac1a4 commit d55ce57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ethereum_test_types/verkle/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def chunkify_code(code: bytes) -> List[Hash]:
Used to generate code chunks for Witness state diff verification.
"""
code = bytes(code)
if len(code) % 31 != 0:
code += b"\x00" * (31 - (len(code) % 31))
bytes_to_exec_data = [0] * (len(code) + 32)
Expand Down

0 comments on commit d55ce57

Please sign in to comment.