forked from ethereum/execution-spec-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97b47a3
commit 256262b
Showing
4 changed files
with
107 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class Witness: | ||
pass | ||
|
||
|
||
def vkt_chunkify(bytecode): | ||
""" | ||
Return the chunkification of the provided bytecode. | ||
""" | ||
# TODO(verkle): | ||
# Must call `evm transition verkle-chunkify-code <bytecode-hex>` which returns a hex of | ||
# the chunkified code. The returned byte length is a multiple of 32. `code_chunks` must be | ||
# a list of 32-byte chunks (i.e: partition the returned bytes into 32-byte bytes) | ||
code_chunks: list[bytes] = [] | ||
|
||
return code_chunks |