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

[memory_opt] fix failed precompile test #547

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bus-mapping/src/evm/opcodes/callop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl<const N_ARGS: usize> Opcode for CallOpcode<N_ARGS> {
if call.call_data_length > 0 {
let copy_steps = state.gen_copy_steps_for_precompile_calldata(
&mut exec_step,
call.call_id,
call.caller_id,
call.call_data_offset,
call.call_data_length,
&caller_memory,
Expand Down
1 change: 1 addition & 0 deletions zkevm-circuits/src/evm_circuit/execution/callop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,7 @@ mod test {
CircuitTestBuilder::new_from_test_ctx(ctx)
.params(CircuitsParams {
max_rws: test_call.max_rws,
max_copy_rows: 1100,
..Default::default()
})
.run();
Expand Down