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

Commit fb86b74

Browse files
authored
Update create.rs
1 parent d0e7a07 commit fb86b74

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/create.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl<F: Field, const IS_CREATE2: bool, const S: ExecutionState> ExecutionGadget<
8484
fn configure(cb: &mut EVMConstraintBuilder<F>) -> Self {
8585
// Use rw_counter of the step which triggers next call as its call_id.
8686
let callee_call_id = cb.curr.state.rw_counter.clone();
87-
let code_hash_previous = cb.query_cell();
87+
let code_hash_previous = cb.query_cell_phase2();
8888
#[cfg(feature = "scroll")]
8989
let keccak_code_hash_previous = cb.query_cell_phase2();
9090
let opcode = cb.query_cell();

0 commit comments

Comments
 (0)