Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 17fa320

Browse files
committed
fix code_hash
1 parent ce1f594 commit 17fa320

File tree

1 file changed

+1
-1
lines changed
  • zkevm-circuits/src/evm_circuit/execution

1 file changed

+1
-1
lines changed

zkevm-circuits/src/evm_circuit/execution/callop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ impl<F: Field> ExecutionGadget<F> for CallOpGadget<F> {
834834
self.code_hash_previous.assign(
835835
region,
836836
offset,
837-
region.word_rlc(code_hash_previous),
837+
region.code_hash(code_hash_previous),
838838
)?;
839839
rw_offset += 2; // codehash read and write
840840
#[cfg(feature = "scroll")]

0 commit comments

Comments
 (0)