From 7293b914ed88517477d9ce6ff2523e963da72333 Mon Sep 17 00:00:00 2001 From: spencer-tb Date: Tue, 10 Sep 2024 16:55:09 -0400 Subject: [PATCH] fix: bug in code chunk. --- src/evm_transition_tool/geth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evm_transition_tool/geth.py b/src/evm_transition_tool/geth.py index 8ac3247f31..6b63691634 100644 --- a/src/evm_transition_tool/geth.py +++ b/src/evm_transition_tool/geth.py @@ -264,7 +264,7 @@ def get_witness_check_mapping( # Format code chunks using `evm verkle code-chunk-key` if witness_check.code_chunks: for address, code_chunk, value in witness_check.code_chunks: - code_chunk_tree_key_str = self.get_verkle_single_key( + code_chunk_tree_key_str = self.get_verkle_code_chunk_key( address, ZeroPaddedHexNumber(code_chunk) ) tree_key = bytearray.fromhex(code_chunk_tree_key_str[2:])