Skip to content

Commit

Permalink
Test a different approach
Browse files Browse the repository at this point in the history
Signed-off-by: Ameziane H <[email protected]>
  • Loading branch information
ahamlat committed Dec 4, 2024
1 parent ee0fa20 commit 59734b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import net.consensys.linea.zktracer.module.mmu.values.MmuToMmioInstruction;
import net.consensys.linea.zktracer.module.mmu.values.MmuWcpCallRecord;
import org.apache.tuweni.bytes.Bytes;
import org.apache.tuweni.bytes.MutableBytes;

public class ExoToRamTransplants implements MmuInstruction {
private final Euc euc;
Expand Down Expand Up @@ -89,7 +90,7 @@ public MmuData setMicroInstructions(MmuData mmuData) {
// Setting the target ram bytes
// The target CN is ALWAYS a new, virgin, fictitious context, where is either write the call
// data, or the result of a precompile
mmuData.targetRamBytes(Bytes.EMPTY);
mmuData.targetRamBytes(MutableBytes.EMPTY);

// setting the MMIO instructions
for (int i = 0; i < mmuData.totalNonTrivialInitials(); i++) {
Expand Down

0 comments on commit 59734b9

Please sign in to comment.