From adabc99c47fd5278b1899b62653de8aef1be4d68 Mon Sep 17 00:00:00 2001 From: Ignasirv Date: Wed, 11 May 2022 10:04:36 +0200 Subject: [PATCH] Arith checks --- build/rom.json | 9088 +++++++++++++++++++++++------------------ main/opcodes.zkasm | 279 +- main/process_tx.zkasm | 112 +- main/utils.zkasm | 118 +- 4 files changed, 5535 insertions(+), 4062 deletions(-) diff --git a/build/rom.json b/build/rom.json index 6604bc09..d9f8c079 100644 --- a/build/rom.json +++ b/build/rom.json @@ -4500,7 +4500,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 24, "offsetLabel": "bytesToStore", @@ -4511,7 +4511,7 @@ "CONST": "387", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 25, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" @@ -4778,7 +4778,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 27, "offsetLabel": "bytesToStore", @@ -4789,7 +4789,7 @@ "CONST": "410", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 28, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" @@ -5036,7 +5036,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 27, "offsetLabel": "bytesToStore", @@ -5047,7 +5047,7 @@ "CONST": "431", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 28, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" @@ -5184,7 +5184,7 @@ "CONST": "443", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 14, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" @@ -5203,7 +5203,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 17, "offsetLabel": "bytesToStore", @@ -5214,7 +5214,7 @@ "CONST": "447", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 18, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" @@ -5249,7 +5249,7 @@ "CONST": "452", "setRR": 1, "JMP": 1, - "offset": 1079, + "offset": 1111, "line": 25, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" @@ -5262,7 +5262,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 27, "offsetLabel": "bytesToStore", @@ -5273,7 +5273,7 @@ "CONST": "455", "setRR": 1, "JMP": 1, - "offset": 1019, + "offset": 1040, "line": 28, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" @@ -5341,7 +5341,7 @@ "CONST": "461", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 12, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5359,7 +5359,7 @@ "CONST": "463", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 14, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5377,7 +5377,7 @@ "CONST": "465", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 16, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5408,7 +5408,7 @@ "CONST": "468", "setRR": 1, "JMP": 1, - "offset": 1079, + "offset": 1111, "line": 19, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5436,7 +5436,7 @@ "CONST": "471", "setRR": 1, "JMP": 1, - "offset": 1079, + "offset": 1111, "line": 22, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5473,7 +5473,7 @@ "CONST": "475", "setRR": 1, "JMP": 1, - "offset": 1079, + "offset": 1111, "line": 26, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5568,7 +5568,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 36, "offsetLabel": "bytesToStore", @@ -5588,7 +5588,7 @@ "CONST": "485", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 38, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5604,7 +5604,7 @@ "CONST": "487", "setRR": 1, "JMP": 1, - "offset": 1019, + "offset": 1040, "line": 42, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" @@ -5992,7 +5992,7 @@ "CONST": "514", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 10, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6007,7 +6007,7 @@ "CONST": "516", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 12, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6022,7 +6022,7 @@ "CONST": "518", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 14, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6037,7 +6037,7 @@ "CONST": "520", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 16, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6095,7 +6095,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 20, "offsetLabel": "bytesToStore", @@ -6106,7 +6106,7 @@ "CONST": "525", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 21, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6124,7 +6124,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 23, "offsetLabel": "bytesToStore", @@ -6135,7 +6135,7 @@ "CONST": "528", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 24, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" @@ -6263,7 +6263,7 @@ "CONST": "538", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 10, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" @@ -6278,7 +6278,7 @@ "CONST": "540", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 12, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" @@ -6293,7 +6293,7 @@ "CONST": "542", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 14, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" @@ -6347,7 +6347,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 18, "offsetLabel": "bytesToStore", @@ -6358,7 +6358,7 @@ "CONST": "547", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 19, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" @@ -6376,7 +6376,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 21, "offsetLabel": "bytesToStore", @@ -6387,7 +6387,7 @@ "CONST": "550", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 22, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" @@ -6507,7 +6507,7 @@ "CONST": "560", "setRR": 1, "JMP": 1, - "offset": 1060, + "offset": 1081, "line": 11, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" @@ -6567,7 +6567,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 19, "offsetLabel": "bytesToStore", @@ -6578,7 +6578,7 @@ "CONST": "567", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 20, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" @@ -6891,7 +6891,7 @@ }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 30, "offsetLabel": "bytesToStore", @@ -6902,14 +6902,14 @@ "CONST": "595", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 31, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "inB": "1", - "offset": 36, + "offset": 41, "mWR": 1, "line": 32, "offsetLabel": "bytesToStore", @@ -6920,7 +6920,7 @@ "CONST": "597", "setRR": 1, "JMP": 1, - "offset": 985, + "offset": 1006, "line": 33, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" @@ -7022,7 +7022,7 @@ }, { "JMP": 1, - "offset": 815, + "offset": 828, "line": 8, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" @@ -7090,14 +7090,14 @@ }, { "JMP": 1, - "offset": 815, + "offset": 828, "line": 16, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "JMP": 1, - "offset": 818, + "offset": 831, "line": 19, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" @@ -7388,7 +7388,7 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 897, + "offset": 918, "line": 40, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7499,7 +7499,7 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 897, + "offset": 918, "line": 62, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7572,35 +7572,43 @@ "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 76, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 77, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 77, + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 78, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "660", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 79, + "offsetLabel": "mulARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 78, + "offset": 38, + "mRD": 1, + "line": 80, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7611,7 +7619,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 80, + "line": 82, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7620,7 +7628,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 81, + "line": 83, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7630,13 +7638,13 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 82, + "line": 84, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inD": "1", "setC": 1, - "line": 83, + "line": 85, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7655,13 +7663,13 @@ }, "inFREE": "1", "setA": 1, - "line": 84, + "line": 87, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "31", "setD": 1, - "line": 85, + "line": 88, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7671,40 +7679,40 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 86, + "line": 89, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "127", "inB": "-1", "JMPC": 1, - "offset": 897, - "line": 87, + "offset": 918, + "line": 90, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setB": 1, - "line": 88, + "line": 91, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 89, + "line": 92, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inE": "1", "arith": 1, - "line": 90, + "line": 93, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "setD": 1, - "line": 92, + "line": 95, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7715,7 +7723,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 94, + "line": 97, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7724,7 +7732,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 95, + "line": 98, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7734,14 +7742,14 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 96, + "line": 99, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inSR": "1", "offset": 20, "mWR": 1, - "line": 105, + "line": 108, "offsetLabel": "initSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7754,7 +7762,7 @@ "setGAS": 1, "offset": 0, "mRD": 1, - "line": 112, + "line": 115, "offsetLabel": "txGas", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7763,7 +7771,7 @@ "inGAS": "1", "CONST": "-21000", "setGAS": 1, - "line": 113, + "line": 116, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7774,7 +7782,7 @@ "setA": 1, "offset": 7, "mRD": 1, - "line": 118, + "line": 121, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7783,71 +7791,98 @@ "inA": "1", "CONST": "-1", "JMPC": 1, - "offset": 697, - "line": 119, + "offset": 702, + "line": 122, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 120, + "line": 123, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "-1", "setC": 1, - "line": 121, + "line": 124, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", "CONST": "1", "setC": 1, - "line": 124, + "line": 127, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 125, + "line": 128, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1024", "inC": "1", "setSP": 1, - "line": 126, + "line": 129, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 686, - "line": 127, + "offset": 687, + "line": 130, "offsetLabel": "loopBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", + "inC": "1", + "offset": 36, + "mWR": 1, + "line": 133, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 134, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "690", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 135, + "offsetLabel": "mulARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, - "inFREE": "-1", + "inFREE": "1", + "setB": 1, + "offset": 38, + "mRD": 1, + "line": 136, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "inB": "-1", "inD": "-1", "CONST": "-1", "JMPC": 1, - "offset": 697, - "line": 129, + "offset": 702, + "line": 138, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7855,8 +7890,8 @@ "CONST": "31", "inD": "-1", "JMPC": 1, - "offset": 682, - "line": 131, + "offset": 683, + "line": 139, "offsetLabel": "addGas", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7875,7 +7910,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 132, + "line": 140, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -7895,29 +7930,29 @@ }, "inFREE": "1", "setB": 1, - "line": 133, + "line": 141, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inD": "1", "CONST": "1", "setD": 1, - "line": 134, + "line": 142, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 693, - "line": 135, + "offset": 698, + "line": 143, "offsetLabel": "add4Gas", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 695, - "line": 136, + "offset": 700, + "line": 144, "offsetLabel": "add16Gas", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7925,13 +7960,13 @@ "inGAS": "1", "CONST": "-4", "setGAS": 1, - "line": 139, + "line": 147, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 686, - "line": 140, + "offset": 687, + "line": 148, "offsetLabel": "loopBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7939,13 +7974,13 @@ "inGAS": "1", "CONST": "-16", "setGAS": 1, - "line": 143, + "line": 151, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 686, - "line": 144, + "offset": 687, + "line": 152, "offsetLabel": "loopBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7957,7 +7992,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 149, + "line": 157, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -7966,8 +8001,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 712, - "line": 150, + "offset": 717, + "line": 158, "offsetLabel": "getContractAddress", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -7979,7 +8014,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 151, + "line": 159, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8000,7 +8035,7 @@ ] }, "inFREE": "1", - "line": 152, + "line": 160, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8020,7 +8055,7 @@ }, "inFREE": "1", "setB": 1, - "line": 154, + "line": 162, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8028,20 +8063,20 @@ "inB": "-1", "JMPC": 1, "offset": 614, - "line": 155, + "line": 163, "offsetLabel": "selectorPrecompiled", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "2", "setB": 1, - "line": 156, + "line": 164, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setC": 1, - "line": 157, + "line": 165, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8051,21 +8086,21 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 158, + "line": 166, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 159, + "line": 167, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", "inD": "-1", "JMPC": 1, - "offset": 831, - "line": 162, + "offset": 844, + "line": 170, "offsetLabel": "moveBalances", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8086,15 +8121,15 @@ }, "inFREE": "1", "setB": 1, - "line": 163, + "line": 171, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 802, - "line": 164, + "offset": 815, + "line": 172, "offsetLabel": "callContract", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8102,13 +8137,13 @@ "inD": "1", "CONST": "1", "setD": 1, - "line": 165, + "line": 173, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 707, - "line": 166, + "offset": 712, + "line": 174, "offsetLabel": "checkTxType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8120,7 +8155,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 170, + "line": 178, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8131,7 +8166,7 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 171, + "line": 179, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8144,7 +8179,7 @@ "setA": 1, "offset": 34, "mRD": 1, - "line": 172, + "line": 180, "offsetLabel": "isCreate2", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8153,8 +8188,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 747, - "line": 173, + "offset": 752, + "line": 181, "offsetLabel": "create2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8166,7 +8201,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 174, + "line": 182, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8179,7 +8214,7 @@ "setB": 1, "offset": 4, "mRD": 1, - "line": 175, + "line": 183, "offsetLabel": "txNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8188,8 +8223,8 @@ "inB": "1", "CONST": "-128", "JMPC": 1, - "offset": 730, - "line": 176, + "offset": 735, + "line": 184, "offsetLabel": "nonce1byte", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8201,7 +8236,7 @@ "setC": 1, "offset": 5, "mRD": 1, - "line": 177, + "line": 185, "offsetLabel": "lengthNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8209,7 +8244,7 @@ { "CONST": "1", "setD": 1, - "line": 178, + "line": 186, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8218,7 +8253,7 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 179, + "line": 187, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8226,13 +8261,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 180, + "line": 188, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "20", "setD": 1, - "line": 181, + "line": 189, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8240,13 +8275,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 182, + "line": 190, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setD": 1, - "line": 183, + "line": 191, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8255,13 +8290,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 184, + "line": 192, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", "setD": 1, - "line": 185, + "line": 193, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8269,20 +8304,20 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 186, + "line": 194, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 740, - "line": 187, + "offset": 745, + "line": 195, "offsetLabel": "endContractAddress", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setD": 1, - "line": 190, + "line": 198, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8290,7 +8325,7 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 191, + "line": 199, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8298,13 +8333,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 192, + "line": 200, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "20", "setD": 1, - "line": 193, + "line": 201, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8312,21 +8347,21 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 194, + "line": 202, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setD": 1, - "line": 195, + "line": 203, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 739, - "line": 196, + "offset": 744, + "line": 204, "offsetLabel": "nonce0", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8335,13 +8370,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 197, + "line": 205, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 740, - "line": 198, + "offset": 745, + "line": 206, "offsetLabel": "endContractAddress", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8350,14 +8385,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 201, + "line": 209, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 204, + "line": 212, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8369,13 +8404,13 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 205, + "line": 213, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "12", "setD": 1, - "line": 206, + "line": 214, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8385,7 +8420,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 207, + "line": 215, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8395,22 +8430,22 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 208, + "line": 216, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "offset": 13, "mWR": 1, - "line": 209, + "line": 217, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 784, - "line": 212, + "offset": 793, + "line": 220, "offsetLabel": "deploy", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8422,7 +8457,7 @@ "setC": 1, "offset": 7, "mRD": 1, - "line": 215, + "line": 223, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8452,26 +8487,79 @@ }, "inFREE": "1", "setA": 1, - "line": 216, + "line": 225, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "freeInTag": { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "31" + } + ] + }, + "inFREE": "1", + "offset": 36, + "mWR": 1, + "line": 227, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 228, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "757", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 229, + "offsetLabel": "divARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 230, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inGAS": "1", "inA": "-6", "setGAS": 1, - "line": 217, + "line": 232, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1024", "setSP": 1, - "line": 218, + "line": 233, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 752, - "line": 219, + "offset": 761, + "line": 234, "offsetLabel": "loopCreate2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8479,8 +8567,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 764, - "line": 222, + "offset": 773, + "line": 237, "offsetLabel": "create2end", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8488,8 +8576,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 759, - "line": 223, + "offset": 768, + "line": 238, "offsetLabel": "endloopCreate2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8507,13 +8595,13 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 224, + "line": 239, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", "setD": 1, - "line": 225, + "line": 240, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8521,20 +8609,20 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 226, + "line": 241, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 227, + "line": 242, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 752, - "line": 228, + "offset": 761, + "line": 243, "offsetLabel": "loopCreate2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8553,14 +8641,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 231, + "line": 246, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 232, + "line": 247, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8570,13 +8658,13 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 233, + "line": 248, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", "setD": 1, - "line": 234, + "line": 249, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8584,14 +8672,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 235, + "line": 250, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 238, + "line": 253, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8603,7 +8691,7 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 239, + "line": 254, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8614,7 +8702,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 240, + "line": 255, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8625,7 +8713,7 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 241, + "line": 256, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8633,7 +8721,7 @@ { "CONST": "1", "setD": 1, - "line": 243, + "line": 258, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8641,13 +8729,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 244, + "line": 259, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "20", "setD": 1, - "line": 245, + "line": 260, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8658,7 +8746,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 246, + "line": 261, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8668,7 +8756,7 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 247, + "line": 262, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8679,7 +8767,7 @@ "setB": 1, "offset": 35, "mRD": 1, - "line": 248, + "line": 263, "offsetLabel": "salt", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8687,7 +8775,7 @@ { "CONST": "32", "setD": 1, - "line": 249, + "line": 264, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8695,13 +8783,13 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 250, + "line": 265, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", "setD": 1, - "line": 251, + "line": 266, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8709,14 +8797,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 252, + "line": 267, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 253, + "line": 268, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8728,13 +8816,13 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 254, + "line": 269, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "12", "setD": 1, - "line": 255, + "line": 270, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8744,7 +8832,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 256, + "line": 271, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8754,14 +8842,14 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 257, + "line": 272, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "offset": 13, "mWR": 1, - "line": 258, + "line": 273, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8770,7 +8858,7 @@ "CONST": "1024", "offset": 9, "mWR": 1, - "line": 261, + "line": 276, "offsetLabel": "SPr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8779,7 +8867,7 @@ "CONST": "0", "offset": 10, "mWR": 1, - "line": 262, + "line": 277, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8787,26 +8875,26 @@ { "CONST": "0", "setPC": 1, - "line": 263, + "line": 278, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setSP": 1, - "line": 264, + "line": 279, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inGAS": "1", "CONST": "-32000", "setGAS": 1, - "line": 265, + "line": 280, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 266, + "offset": 828, + "line": 281, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8814,7 +8902,7 @@ "inSP": "1", "offset": 10, "mWR": 1, - "line": 269, + "line": 284, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8827,48 +8915,69 @@ "setSP": 1, "offset": 9, "mRD": 1, - "line": 270, + "line": 285, "offsetLabel": "SPr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inSP": "1", + "inPC": "1", + "offset": 36, + "mWR": 1, + "line": 287, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 288, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "804", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 289, + "offsetLabel": "divARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", - "setSP": 1, - "line": 271, + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 290, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setC": 1, - "line": 272, + "offset": 39, + "mRD": 1, + "line": 291, + "offsetLabel": "arithRes2", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inSP": "1", + "inA": "1", + "setSP": 1, + "line": 293, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8879,7 +8988,7 @@ "setB": 1, "offset": 7, "mRD": 1, - "line": 274, + "line": 295, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8888,8 +8997,8 @@ "inB": "1", "inPC": "-1", "JMPC": 1, - "offset": 821, - "line": 275, + "offset": 834, + "line": 296, "offsetLabel": "endDeploy", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -8908,7 +9017,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 276, + "line": 297, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8919,7 +9028,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 277, + "line": 298, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -8941,7 +9050,7 @@ }, "inFREE": "1", "setB": 1, - "line": 278, + "line": 299, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -8957,39 +9066,39 @@ }, "inFREE": "1", "setRR": 1, - "line": 279, + "line": 300, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inPC": "1", "CONST": "1", "setPC": 1, - "line": 280, + "line": 301, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, "ind": 1, "offset": 0, - "line": 281, + "line": 302, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setPC": 1, - "line": 284, + "line": 305, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setSP": 1, - "line": 285, + "line": 306, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 286, + "offset": 828, + "line": 307, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9001,7 +9110,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 289, + "line": 310, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9009,13 +9118,13 @@ { "CONST": "2", "setB": 1, - "line": 290, + "line": 311, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setC": 1, - "line": 291, + "line": 312, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9025,7 +9134,7 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 292, + "line": 313, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9041,15 +9150,15 @@ }, "inFREE": "1", "setB": 1, - "line": 293, + "line": 314, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inB": "1", "inPC": "-1", "JMPC": 1, - "offset": 831, - "line": 294, + "offset": 844, + "line": 315, "offsetLabel": "endByteCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9070,7 +9179,7 @@ }, "inFREE": "1", "setB": 1, - "line": 295, + "line": 316, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9086,21 +9195,21 @@ }, "inFREE": "1", "setRR": 1, - "line": 296, + "line": 317, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inPC": "1", "CONST": "1", "setPC": 1, - "line": 297, + "line": 318, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, "ind": 1, "offset": 0, - "line": 298, + "line": 319, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9111,7 +9220,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 301, + "line": 322, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9120,15 +9229,15 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 790, - "line": 302, + "offset": 799, + "line": 323, "offsetLabel": "readDeployBytecode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 805, - "line": 303, + "offset": 818, + "line": 324, "offsetLabel": "readByteCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9140,7 +9249,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 306, + "line": 327, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9149,15 +9258,15 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 821, - "line": 307, + "offset": 834, + "line": 328, "offsetLabel": "endDeploy", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 831, - "line": 308, + "offset": 844, + "line": 329, "offsetLabel": "endByteCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9169,7 +9278,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 313, + "line": 334, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9177,19 +9286,19 @@ { "CONST": "1", "setB": 1, - "line": 314, + "line": 335, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setC": 1, - "line": 315, + "line": 336, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setD": 1, - "line": 316, + "line": 337, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9199,14 +9308,14 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 317, + "line": 338, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "offset": 1, "mWR": 1, - "line": 319, + "line": 340, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9224,19 +9333,19 @@ }, "inFREE": "1", "setD": 1, - "line": 322, + "line": 343, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "2", "setB": 1, - "line": 323, + "line": 344, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setC": 1, - "line": 324, + "line": 345, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9246,7 +9355,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 325, + "line": 346, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9257,7 +9366,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 336, + "line": 357, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9266,7 +9375,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 337, + "line": 358, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9276,7 +9385,7 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 338, + "line": 359, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9287,34 +9396,55 @@ "setC": 1, "offset": 3, "mRD": 1, - "line": 339, + "line": 360, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 362, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 363, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "851", + "setRR": 1, + "JMP": 1, + "offset": 1202, + "line": 364, + "offsetLabel": "subARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, { "freeInTag": { - "op": "sub", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 340, + "offset": 38, + "mRD": 1, + "line": 365, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "31", "setD": 1, - "line": 341, + "line": 367, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9324,40 +9454,34 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 342, + "line": 368, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "127", "inB": "-1", "JMPC": 1, - "offset": 897, - "line": 343, + "offset": 918, + "line": 369, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "1", "setB": 1, - "line": 344, + "line": 370, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 345, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" - }, - { - "inE": "1", - "arith": 1, - "line": 346, + "line": 371, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "setD": 1, - "line": 348, + "line": 372, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9368,7 +9492,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 350, + "line": 373, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9377,7 +9501,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 351, + "line": 374, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9387,7 +9511,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 352, + "line": 375, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9398,7 +9522,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 355, + "line": 378, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9407,7 +9531,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 356, + "line": 379, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9417,7 +9541,7 @@ "inFREE": "1", "setC": 1, "sRD": 1, - "line": 357, + "line": 380, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9428,41 +9552,49 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 359, + "line": 381, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 360, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 383, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 361, + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 384, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "868", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 385, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 362, + "offset": 38, + "mRD": 1, + "line": 386, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9473,7 +9605,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 364, + "line": 388, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9482,7 +9614,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 365, + "line": 389, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9492,13 +9624,13 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 366, + "line": 390, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setA": 1, - "line": 374, + "line": 398, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9509,7 +9641,7 @@ "setB": 1, "offset": 19, "mRD": 1, - "line": 375, + "line": 399, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9518,8 +9650,8 @@ "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 864, - "line": 376, + "offset": 883, + "line": 400, "offsetLabel": "refundGas", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9531,7 +9663,7 @@ "setA": 1, "offset": 0, "mRD": 1, - "line": 377, + "line": 401, "offsetLabel": "txGas", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9540,54 +9672,75 @@ "inA": "1", "inGAS": "-1", "setA": 1, - "line": 378, + "line": 402, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 404, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "2", + "offset": 37, + "mWR": 1, + "line": 405, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "880", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 406, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "2" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 379, + "offset": 38, + "mRD": 1, + "line": 407, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "inB": "-1", "JMPC": 1, - "offset": 864, - "line": 380, + "offset": 883, + "line": 408, "offsetLabel": "refundGas", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inB": "1", "setA": 1, - "line": 381, + "line": 409, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inGAS": "1", "inA": "1", "setGAS": 1, - "line": 384, + "line": 412, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inGAS": "1", "setA": 1, - "line": 385, + "line": 413, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9598,41 +9751,49 @@ "setB": 1, "offset": 6, "mRD": 1, - "line": 386, + "line": 414, "offsetLabel": "txGasPrice", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 387, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 416, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 388, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" - }, + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 417, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "889", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 418, + "offsetLabel": "mulARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 389, + "offset": 38, + "mRD": 1, + "line": 419, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9643,7 +9804,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 391, + "line": 421, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9652,7 +9813,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 392, + "line": 422, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9662,45 +9823,47 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 393, + "line": 423, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 395, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 426, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inD": "1", - "setC": 1, - "line": 396, + "offset": 37, + "mWR": 1, + "line": 427, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 397, + "CONST": "896", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 428, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 398, + "offset": 38, + "mRD": 1, + "line": 429, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9711,7 +9874,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 400, + "line": 431, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9720,7 +9883,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 401, + "line": 432, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9730,7 +9893,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 402, + "line": 433, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9741,7 +9904,7 @@ "setA": 1, "offset": 0, "mRD": 1, - "line": 408, + "line": 439, "offsetLabel": "txGas", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9750,7 +9913,7 @@ "inA": "1", "inGAS": "-1", "setA": 1, - "line": 409, + "line": 440, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9761,41 +9924,49 @@ "setB": 1, "offset": 6, "mRD": 1, - "line": 411, + "line": 442, "offsetLabel": "txGasPrice", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 412, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 444, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 413, + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 445, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "906", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 446, + "offsetLabel": "mulARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 414, + "offset": 38, + "mRD": 1, + "line": 447, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9806,7 +9977,7 @@ "setA": 1, "offset": 7, "mRD": 1, - "line": 416, + "line": 449, "offsetLabel": "sequencerAddr", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9815,7 +9986,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 417, + "line": 450, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9825,45 +9996,47 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 418, + "line": 451, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 420, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 453, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inD": "1", - "setC": 1, - "line": 421, + "offset": 37, + "mWR": 1, + "line": 454, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 422, + "CONST": "913", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 455, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 423, + "offset": 38, + "mRD": 1, + "line": 456, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9874,7 +10047,7 @@ "setA": 1, "offset": 7, "mRD": 1, - "line": 425, + "line": 457, "offsetLabel": "sequencerAddr", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9883,7 +10056,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 426, + "line": 458, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { @@ -9893,13 +10066,13 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 427, + "line": 459, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, "offset": 60, - "line": 432, + "line": 464, "offsetLabel": "processTxEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9911,7 +10084,7 @@ "setA": 1, "offset": 29, "mRD": 1, - "line": 435, + "line": 467, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" @@ -9920,8 +10093,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 901, - "line": 436, + "offset": 922, + "line": 468, "offsetLabel": "invalidTxOrigin", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9933,28 +10106,28 @@ "setSR": 1, "offset": 20, "mRD": 1, - "line": 437, + "line": 469, "offsetLabel": "initSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 896, - "line": 438, + "offset": 917, + "line": 470, "offsetLabel": "terminateTX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", "setCTX": 1, - "line": 441, + "line": 473, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 897, - "line": 442, + "offset": 918, + "line": 474, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, @@ -9975,22 +10148,22 @@ }, "inFREE": "1", "setB": 1, - "line": 14, + "line": 19, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 908, - "line": 15, + "offset": 929, + "line": 20, "offsetLabel": "endca2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 906, - "line": 16, + "offset": 927, + "line": 21, "offsetLabel": "ca2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10011,40 +10184,28 @@ }, "inFREE": "1", "setA": 1, - "line": 21, + "line": 26, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "1" - } - ] - }, - "inFREE": "1", + "inA": "1", + "CONST": "1", "setA": 1, - "line": 22, + "line": 27, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, "ind": 1, "offset": 0, - "line": 24, + "line": 29, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inCTX": "1", "offset": 22, "mWR": 1, - "line": 29, + "line": 34, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10052,7 +10213,7 @@ { "CONST": "1024", "setSP": 1, - "line": 30, + "line": 35, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10063,7 +10224,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 31, + "line": 36, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10076,7 +10237,7 @@ "setE": 1, "offset": 28, "mRD": 1, - "line": 32, + "line": 37, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10089,7 +10250,7 @@ "setC": 1, "offset": 27, "mRD": 1, - "line": 33, + "line": 38, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10111,8 +10272,8 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 931, - "line": 34, + "offset": 952, + "line": 39, "offsetLabel": "copyInit2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10120,8 +10281,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 969, - "line": 37, + "offset": 990, + "line": 42, "offsetLabel": "copyEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10129,8 +10290,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 924, - "line": 38, + "offset": 945, + "line": 43, "offsetLabel": "copyFinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10149,14 +10310,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 39, + "line": 44, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 40, + "line": 45, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10167,7 +10328,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 41, + "line": 46, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10182,7 +10343,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 42, + "line": 47, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10193,7 +10354,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 43, + "line": 48, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10202,13 +10363,13 @@ "inC": "1", "CONST": "-32", "setC": 1, - "line": 44, + "line": 49, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 915, - "line": 45, + "offset": 936, + "line": 50, "offsetLabel": "copyInit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10227,14 +10388,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 48, + "line": 53, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 49, + "line": 54, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10244,7 +10405,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 50, + "line": 55, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10254,7 +10415,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 51, + "line": 56, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10265,7 +10426,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 52, + "line": 57, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10280,13 +10441,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 53, + "line": 58, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 969, - "line": 54, + "offset": 990, + "line": 59, "offsetLabel": "copyEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10294,8 +10455,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 969, - "line": 57, + "offset": 990, + "line": 62, "offsetLabel": "copyEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10303,8 +10464,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 946, - "line": 58, + "offset": 967, + "line": 63, "offsetLabel": "copyFinal2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10324,7 +10485,7 @@ }, "inFREE": "1", "setD": 1, - "line": 59, + "line": 64, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10352,7 +10513,7 @@ }, "inFREE": "1", "setE": 1, - "line": 60, + "line": 65, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10370,7 +10531,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 61, + "line": 66, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10380,21 +10541,21 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 62, + "line": 67, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 63, + "line": 68, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 64, + "line": 69, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10412,7 +10573,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 65, + "line": 70, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10422,7 +10583,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 66, + "line": 71, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10433,7 +10594,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 67, + "line": 72, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10449,7 +10610,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 68, + "line": 73, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10460,7 +10621,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 69, + "line": 74, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10469,13 +10630,13 @@ "inC": "1", "CONST": "-32", "setC": 1, - "line": 70, + "line": 75, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 931, - "line": 71, + "offset": 952, + "line": 76, "offsetLabel": "copyInit2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10498,8 +10659,8 @@ "inC": "-1", "setD": 1, "JMPC": 1, - "offset": 956, - "line": 74, + "offset": 977, + "line": 79, "offsetLabel": "copyFinal22", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10519,7 +10680,7 @@ }, "inFREE": "1", "setB": 1, - "line": 75, + "line": 80, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10547,7 +10708,7 @@ }, "inFREE": "1", "setE": 1, - "line": 76, + "line": 81, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10565,14 +10726,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 77, + "line": 82, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 78, + "line": 83, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10582,7 +10743,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 79, + "line": 84, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10592,7 +10753,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 80, + "line": 85, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10603,7 +10764,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 81, + "line": 86, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10618,13 +10779,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 82, + "line": 87, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 969, - "line": 83, + "offset": 990, + "line": 88, "offsetLabel": "copyEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -10644,7 +10805,7 @@ }, "inFREE": "1", "setD": 1, - "line": 86, + "line": 91, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10672,7 +10833,7 @@ }, "inFREE": "1", "setE": 1, - "line": 87, + "line": 92, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10690,7 +10851,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 88, + "line": 93, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10700,14 +10861,14 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 89, + "line": 94, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 90, + "line": 95, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10725,7 +10886,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 91, + "line": 96, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10733,14 +10894,14 @@ "CONST": "-32", "inD": "1", "setD": 1, - "line": 92, + "line": 97, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 93, + "line": 98, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10750,14 +10911,14 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 94, + "line": 99, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 95, + "line": 100, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10767,7 +10928,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 96, + "line": 101, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10778,7 +10939,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 97, + "line": 102, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10794,7 +10955,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 98, + "line": 103, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10805,7 +10966,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 101, + "line": 106, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10814,14 +10975,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 102, + "line": 107, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "offset": 32, "mWR": 1, - "line": 108, + "line": 113, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10830,7 +10991,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 109, + "line": 114, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10838,13 +10999,13 @@ { "CONST": "0", "setC": 1, - "line": 110, + "line": 115, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "setA": 1, - "line": 111, + "line": 116, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10864,22 +11025,22 @@ }, "inFREE": "1", "setB": 1, - "line": 114, + "line": 119, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 981, - "line": 115, + "offset": 1002, + "line": 120, "offsetLabel": "getLenEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "1", "setD": 1, - "line": 116, + "line": 121, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10889,27 +11050,27 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 117, + "line": 122, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "CONST": "1", "setC": 1, - "line": 118, + "line": 123, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 975, - "line": 119, + "offset": 996, + "line": 124, "offsetLabel": "getLenBytesLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "setA": 1, - "line": 122, + "line": 127, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -10920,7 +11081,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 123, + "line": 128, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10933,7 +11094,7 @@ "setC": 1, "offset": 33, "mRD": 1, - "line": 124, + "line": 129, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10942,14 +11103,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 125, + "line": 130, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "offset": 31, "mWR": 1, - "line": 135, + "line": 140, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10958,7 +11119,7 @@ "inB": "1", "offset": 32, "mWR": 1, - "line": 136, + "line": 141, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10967,7 +11128,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 137, + "line": 142, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10976,7 +11137,7 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 138, + "line": 143, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -10985,7 +11146,7 @@ "inE": "1", "offset": 35, "mWR": 1, - "line": 139, + "line": 144, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11007,8 +11168,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1015, - "line": 140, + "offset": 1036, + "line": 145, "offsetLabel": "MSTORE322", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11028,7 +11189,7 @@ }, "inFREE": "1", "setC": 1, - "line": 141, + "line": 146, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11056,7 +11217,7 @@ }, "inFREE": "1", "setE": 1, - "line": 142, + "line": 147, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11074,14 +11235,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 143, + "line": 148, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 144, + "line": 149, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11091,7 +11252,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 145, + "line": 150, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11101,13 +11262,13 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 146, + "line": 151, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "setB": 1, - "line": 147, + "line": 152, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11116,9 +11277,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 148, + "line": 153, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11126,7 +11287,7 @@ { "inC": "1", "setD": 1, - "line": 149, + "line": 154, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11136,7 +11297,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 150, + "line": 155, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11151,14 +11312,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 151, + "line": 156, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 152, + "line": 157, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11176,13 +11337,13 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 153, + "line": 158, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "setD": 1, - "line": 154, + "line": 159, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11192,7 +11353,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 155, + "line": 160, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11202,13 +11363,13 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 156, + "line": 161, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "setB": 1, - "line": 157, + "line": 162, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11217,9 +11378,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 158, + "line": 163, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11228,7 +11389,7 @@ "CONST": "32", "inC": "-1", "setD": 1, - "line": 159, + "line": 164, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11238,7 +11399,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 160, + "line": 165, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11253,7 +11414,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 161, + "line": 166, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11264,7 +11425,7 @@ "setE": 1, "offset": 35, "mRD": 1, - "line": 162, + "line": 167, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11273,13 +11434,13 @@ "inE": "1", "CONST": "32", "setE": 1, - "line": 163, + "line": 168, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1055, - "line": 164, + "offset": 1076, + "line": 169, "offsetLabel": "MSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11289,9 +11450,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 167, + "line": 172, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11307,20 +11468,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 168, + "line": 173, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 169, + "line": 174, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1055, - "line": 170, + "offset": 1076, + "line": 175, "offsetLabel": "MSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11328,7 +11489,7 @@ "inA": "1", "offset": 31, "mWR": 1, - "line": 179, + "line": 184, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11337,7 +11498,7 @@ "inB": "1", "offset": 32, "mWR": 1, - "line": 180, + "line": 185, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11346,7 +11507,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 181, + "line": 186, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11355,7 +11516,7 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 182, + "line": 187, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11364,7 +11525,7 @@ "inE": "1", "offset": 35, "mWR": 1, - "line": 183, + "line": 188, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11387,8 +11548,8 @@ "inFREE": "-1", "inC": "-1", "JMPC": 1, - "offset": 1037, - "line": 184, + "offset": 1058, + "line": 189, "offsetLabel": "MSTOREX2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11408,7 +11569,7 @@ }, "inFREE": "1", "setD": 1, - "line": 185, + "line": 190, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11436,7 +11597,7 @@ }, "inFREE": "1", "setE": 1, - "line": 186, + "line": 191, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11445,9 +11606,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 187, + "line": 192, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11459,7 +11620,7 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 188, + "line": 193, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11477,14 +11638,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 189, + "line": 194, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 190, + "line": 195, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11494,7 +11655,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 191, + "line": 196, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11504,7 +11665,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 192, + "line": 197, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11519,7 +11680,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 193, + "line": 198, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11530,7 +11691,7 @@ "setE": 1, "offset": 35, "mRD": 1, - "line": 194, + "line": 199, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11539,13 +11700,13 @@ "inE": "1", "inC": "1", "setE": 1, - "line": 195, + "line": 200, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1055, - "line": 196, + "offset": 1076, + "line": 201, "offsetLabel": "MSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11565,7 +11726,7 @@ }, "inFREE": "1", "setD": 1, - "line": 199, + "line": 204, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11593,7 +11754,7 @@ }, "inFREE": "1", "setE": 1, - "line": 200, + "line": 205, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11602,9 +11763,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 201, + "line": 206, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11616,7 +11777,7 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 202, + "line": 207, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11634,14 +11795,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 203, + "line": 208, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 204, + "line": 209, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11651,7 +11812,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 205, + "line": 210, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11661,7 +11822,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 206, + "line": 211, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11676,14 +11837,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 207, + "line": 212, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 208, + "line": 213, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11692,9 +11853,9 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 41, "mRD": 1, - "line": 209, + "line": 214, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11706,7 +11867,7 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 210, + "line": 215, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11724,14 +11885,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 211, + "line": 216, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "inD": "-1", "setD": 1, - "line": 212, + "line": 217, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11741,7 +11902,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 213, + "line": 218, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11756,7 +11917,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 214, + "line": 219, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11767,7 +11928,7 @@ "setE": 1, "offset": 35, "mRD": 1, - "line": 215, + "line": 220, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11776,7 +11937,7 @@ "inE": "1", "inC": "1", "setE": 1, - "line": 216, + "line": 221, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11787,7 +11948,7 @@ "setA": 1, "offset": 31, "mRD": 1, - "line": 219, + "line": 224, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11800,7 +11961,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 220, + "line": 225, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11813,7 +11974,7 @@ "setC": 1, "offset": 33, "mRD": 1, - "line": 221, + "line": 226, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11826,7 +11987,7 @@ "setD": 1, "offset": 34, "mRD": 1, - "line": 222, + "line": 227, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11835,14 +11996,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 223, + "line": 228, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "offset": 32, "mWR": 1, - "line": 232, + "line": 237, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11851,7 +12012,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 233, + "line": 238, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -11860,11 +12021,17 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 234, + "line": 239, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, + { + "CONST": "32", + "setA": 1, + "line": 241, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, { "freeInTag": { "op": "mod", @@ -11874,16 +12041,53 @@ "regName": "E" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setC": 1, + "line": 242, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", + "setB": 1, + "line": 243, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 244, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 245, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1076, - "line": 235, + "offset": 1108, + "line": 247, "offsetLabel": "MLOAD322", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -11896,14 +12100,60 @@ "regName": "E" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", "setC": 1, - "line": 236, + "line": 249, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 250, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 251, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 252, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 31, + "mWR": 1, + "line": 254, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 255, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11911,27 +12161,32 @@ "op": "mul", "values": [ { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "A" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "B" } ] }, "inFREE": "1", "setE": 1, - "line": 237, + "arith": 1, + "line": 256, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 31, + "mRD": 1, + "line": 257, + "offsetLabel": "tmpVarA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11949,13 +12204,13 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 238, + "line": 261, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "setD": 1, - "line": 239, + "line": 262, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11965,21 +12220,21 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 240, + "line": 263, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 241, + "line": 264, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 242, + "line": 265, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -11997,7 +12252,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 243, + "line": 266, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12007,27 +12262,27 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 244, + "line": 267, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "inB": "1", "setA": 1, - "line": 245, + "line": 268, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "inC": "1", "setE": 1, - "line": 246, + "line": 269, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1108, - "line": 247, + "offset": 1140, + "line": 270, "offsetLabel": "MLOADend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -12046,20 +12301,20 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 250, + "line": 273, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 251, + "line": 274, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1108, - "line": 252, + "offset": 1140, + "line": 275, "offsetLabel": "MLOADend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -12067,7 +12322,7 @@ "inB": "1", "offset": 32, "mWR": 1, - "line": 261, + "line": 284, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12076,7 +12331,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 262, + "line": 285, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12085,7 +12340,7 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 263, + "line": 286, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12094,7 +12349,7 @@ "inE": "1", "offset": 35, "mWR": 1, - "line": 264, + "line": 287, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12118,8 +12373,8 @@ "inC": "-1", "setD": 1, "JMPC": 1, - "offset": 1094, - "line": 265, + "offset": 1126, + "line": 288, "offsetLabel": "MLOADX2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -12139,7 +12394,7 @@ }, "inFREE": "1", "setB": 1, - "line": 266, + "line": 289, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12167,7 +12422,7 @@ }, "inFREE": "1", "setE": 1, - "line": 267, + "line": 290, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12185,13 +12440,13 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 268, + "line": 291, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "setD": 1, - "line": 269, + "line": 292, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12201,14 +12456,14 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 270, + "line": 293, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 271, + "line": 294, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12218,7 +12473,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 272, + "line": 295, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12228,7 +12483,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 273, + "line": 296, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12236,13 +12491,13 @@ "inB": "1", "inC": "1", "setE": 1, - "line": 274, + "line": 297, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1108, - "line": 275, + "offset": 1140, + "line": 298, "offsetLabel": "MLOADend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -12262,7 +12517,7 @@ }, "inFREE": "1", "setD": 1, - "line": 278, + "line": 301, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12290,7 +12545,7 @@ }, "inFREE": "1", "setE": 1, - "line": 279, + "line": 302, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12308,7 +12563,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 280, + "line": 303, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12318,14 +12573,14 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 281, + "line": 304, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "CONST": "32", "setE": 1, - "line": 282, + "line": 305, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12343,7 +12598,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 283, + "line": 306, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12351,14 +12606,14 @@ "CONST": "-32", "inD": "1", "setD": 1, - "line": 284, + "line": 307, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 285, + "line": 308, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12368,14 +12623,14 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 286, + "line": 309, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 287, + "line": 310, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12385,21 +12640,21 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 288, + "line": 311, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "inB": "1", "setA": 1, - "line": 289, + "line": 312, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", "offset": 35, "mRD": 1, - "line": 290, + "line": 313, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12408,7 +12663,7 @@ "inE": "1", "inC": "1", "setE": 1, - "line": 291, + "line": 314, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12419,7 +12674,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 294, + "line": 317, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12432,7 +12687,7 @@ "setC": 1, "offset": 33, "mRD": 1, - "line": 295, + "line": 318, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12445,7 +12700,7 @@ "setD": 1, "offset": 34, "mRD": 1, - "line": 296, + "line": 319, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12454,14 +12709,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 297, + "line": 320, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "offset": 31, "mWR": 1, - "line": 304, + "line": 327, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12470,7 +12725,7 @@ "inB": "1", "offset": 32, "mWR": 1, - "line": 305, + "line": 328, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12479,7 +12734,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 306, + "line": 329, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12488,7 +12743,7 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 307, + "line": 330, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12496,14 +12751,14 @@ { "inE": "1", "setA": 1, - "line": 309, + "line": 332, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 310, + "line": 333, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12513,7 +12768,7 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 311, + "line": 334, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12534,15 +12789,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1128, - "line": 312, + "offset": 1160, + "line": 335, "offsetLabel": "ISEMPTYSet0", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "1", "setB": 1, - "line": 315, + "line": 338, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12552,7 +12807,7 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 316, + "line": 339, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12573,15 +12828,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1128, - "line": 317, + "offset": 1160, + "line": 340, "offsetLabel": "ISEMPTYSet0", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "2", "setB": 1, - "line": 320, + "line": 343, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12591,7 +12846,7 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 321, + "line": 344, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12612,34 +12867,34 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1128, - "line": 322, + "offset": 1160, + "line": 345, "offsetLabel": "ISEMPTYSet0", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "1", "setE": 1, - "line": 325, + "line": 348, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1130, - "line": 326, + "offset": 1162, + "line": 349, "offsetLabel": "ISEMPTYEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", "setE": 1, - "line": 329, + "line": 352, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 1130, - "line": 330, + "offset": 1162, + "line": 353, "offsetLabel": "ISEMPTYEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, @@ -12651,7 +12906,7 @@ "setA": 1, "offset": 31, "mRD": 1, - "line": 333, + "line": 356, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12664,7 +12919,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 334, + "line": 357, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12677,7 +12932,7 @@ "setC": 1, "offset": 33, "mRD": 1, - "line": 335, + "line": 358, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12690,7 +12945,7 @@ "setD": 1, "offset": 34, "mRD": 1, - "line": 336, + "line": 359, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12699,14 +12954,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 337, + "line": 360, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "offset": 32, "mWR": 1, - "line": 342, + "line": 365, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12715,7 +12970,7 @@ "inC": "1", "offset": 33, "mWR": 1, - "line": 343, + "line": 366, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12724,7 +12979,7 @@ "inD": "1", "offset": 34, "mWR": 1, - "line": 344, + "line": 367, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12733,7 +12988,7 @@ "inE": "1", "offset": 35, "mWR": 1, - "line": 345, + "line": 368, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12755,7 +13010,7 @@ }, "inFREE": "-1", "setA": 1, - "line": 348, + "line": 371, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12766,7 +13021,7 @@ "setB": 1, "offset": 24, "mRD": 1, - "line": 349, + "line": 372, "offsetLabel": "gasCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12788,22 +13043,22 @@ }, "inFREE": "1", "setD": 1, - "line": 351, + "line": 374, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", "inD": "-1", "JMPC": 1, - "offset": 1144, - "line": 352, + "offset": 1176, + "line": 375, "offsetLabel": "computeGasSendCallEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", "setA": 1, - "line": 354, + "line": 377, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12814,7 +13069,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 357, + "line": 380, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12827,7 +13082,7 @@ "setC": 1, "offset": 33, "mRD": 1, - "line": 358, + "line": 381, "offsetLabel": "tmpVarC", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12840,7 +13095,7 @@ "setD": 1, "offset": 34, "mRD": 1, - "line": 359, + "line": 382, "offsetLabel": "tmpVarD", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12853,7 +13108,7 @@ "setE": 1, "offset": 35, "mRD": 1, - "line": 360, + "line": 383, "offsetLabel": "tmpVarE", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12862,14 +13117,14 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 361, + "line": 384, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", "offset": 31, "mWR": 1, - "line": 365, + "line": 388, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12878,7 +13133,7 @@ "inB": "1", "offset": 32, "mWR": 1, - "line": 366, + "line": 389, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12887,7 +13142,7 @@ "inE": "1", "offset": 23, "mWR": 1, - "line": 367, + "line": 390, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -12917,7 +13172,7 @@ }, "inFREE": "1", "setA": 1, - "line": 368, + "line": 391, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12945,7 +13200,7 @@ }, "inFREE": "1", "setB": 1, - "line": 369, + "line": 392, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -12975,7 +13230,7 @@ }, "inFREE": "-1", "setGAS": 1, - "line": 370, + "line": 393, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -13005,7 +13260,7 @@ }, "inFREE": "1", "setGAS": 1, - "line": 371, + "line": 394, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { @@ -13016,7 +13271,7 @@ "setA": 1, "offset": 31, "mRD": 1, - "line": 372, + "line": 395, "offsetLabel": "tmpVarA", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -13029,7 +13284,7 @@ "setB": 1, "offset": 32, "mRD": 1, - "line": 373, + "line": 396, "offsetLabel": "tmpVarB", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" @@ -13038,116 +13293,26 @@ "JMP": 1, "ind": 1, "offset": 0, - "line": 374, + "line": 397, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 29, - "mRD": 1, - "line": 6, - "offsetLabel": "originCTX", - "useCTX": 1, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1168, - "line": 7, - "offsetLabel": "opSTOPend", - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "setCTX": 1, - "line": 8, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 36, - "mRD": 1, - "line": 9, - "offsetLabel": "gasCTX", - "useCTX": 1, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inB": "1", - "setGAS": 1, - "line": 10, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setSP": 1, - "offset": 30, - "mRD": 1, - "line": 11, - "offsetLabel": "lastSP", - "useCTX": 1, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setPC": 1, - "offset": 31, - "mRD": 1, - "line": 12, - "offsetLabel": "lastPC", - "useCTX": 1, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "inRR": "1", + "offset": 40, "mWR": 1, - "line": 13, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 815, - "line": 14, - "offsetLabel": "readCode", - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 400, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "CONST": "1193", + "setRR": 1, "JMP": 1, - "offset": 818, - "line": 17, - "offsetLabel": "endCode", - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 20, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "offset": 1244, + "line": 401, + "offsetLabel": "storeTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13155,17 +13320,12 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 36, "mRD": 1, - "line": 21, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 403, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13173,29 +13333,24 @@ }, "inFREE": "1", "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 37, "mRD": 1, - "line": 22, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 404, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "1", "setB": 1, - "line": 23, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 405, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", "setD": 1, - "line": 24, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 406, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13214,41 +13369,651 @@ "inFREE": "1", "setE": 1, "arith": 1, - "line": 25, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 407, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 38, "mWR": 1, - "line": 26, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "line": 409, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 27, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + "CONST": "1200", + "setRR": 1, + "JMP": 1, + "offset": 1238, + "line": 411, + "offsetLabel": "loadTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 815, - "line": 28, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setRR": 1, + "offset": 40, + "mRD": 1, + "line": 412, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 413, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inRR": "1", + "offset": 40, + "mWR": 1, + "line": 417, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1204", + "setRR": 1, + "JMP": 1, + "offset": 1244, + "line": 418, + "offsetLabel": "storeTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 36, + "mRD": 1, + "line": 420, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 37, + "mRD": 1, + "line": 421, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 422, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 423, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 424, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 425, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "offset": 38, + "mWR": 1, + "line": 427, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1212", + "setRR": 1, + "JMP": 1, + "offset": 1238, + "line": 429, + "offsetLabel": "loadTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setRR": 1, + "offset": 40, + "mRD": 1, + "line": 430, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 431, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inRR": "1", + "offset": 40, + "mWR": 1, + "line": 435, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1216", + "setRR": 1, + "JMP": 1, + "offset": 1244, + "line": 436, + "offsetLabel": "storeTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 36, + "mRD": 1, + "line": 438, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 37, + "mRD": 1, + "line": 439, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 440, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 441, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "setE": 1, + "arith": 1, + "line": 442, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "offset": 38, + "mWR": 1, + "line": 444, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1223", + "setRR": 1, + "JMP": 1, + "offset": 1238, + "line": 446, + "offsetLabel": "loadTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setRR": 1, + "offset": 40, + "mRD": 1, + "line": 447, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 448, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inRR": "1", + "offset": 40, + "mWR": 1, + "line": 452, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1227", + "setRR": 1, + "JMP": 1, + "offset": 1244, + "line": 453, + "offsetLabel": "storeTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 36, + "mRD": 1, + "line": 455, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 37, + "mRD": 1, + "line": 456, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setC": 1, + "line": 457, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 458, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 459, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 460, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 38, + "mWR": 1, + "line": 462, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 39, + "mWR": 1, + "line": 463, + "offsetLabel": "arithRes2", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1236", + "setRR": 1, + "JMP": 1, + "offset": 1238, + "line": 465, + "offsetLabel": "loadTmp", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setRR": 1, + "offset": 40, + "mRD": 1, + "line": 466, + "offsetLabel": "tmpZkPC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 467, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 31, + "mRD": 1, + "line": 470, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 32, + "mRD": 1, + "line": 471, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 33, + "mRD": 1, + "line": 472, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "offset": 34, + "mRD": 1, + "line": 473, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 35, + "mRD": 1, + "line": 474, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 475, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "offset": 31, + "mWR": 1, + "line": 477, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 478, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 479, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 480, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "offset": 35, + "mWR": 1, + "line": 481, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 482, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 29, + "mRD": 1, + "line": 6, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1259, + "line": 7, + "offsetLabel": "opSTOPend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setCTX": 1, + "line": 8, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 36, + "mRD": 1, + "line": 9, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inB": "1", + "setGAS": 1, + "line": 10, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 30, + "mRD": 1, + "line": 11, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setPC": 1, + "offset": 31, + "mRD": 1, + "line": 12, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 13, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 828, + "line": 14, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, + { + "JMP": 1, + "offset": 831, + "line": 17, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 31, + "line": 20, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13266,7 +14031,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 32, + "line": 21, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13274,7 +14039,7 @@ "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -13284,39 +14049,157 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 33, + "line": 22, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setC": 1, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 25, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 26, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1266", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 27, + "offsetLabel": "addARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 38, + "mRD": 1, + "line": 28, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 29, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 30, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 828, + "line": 31, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, "line": 34, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, "line": 35, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 36, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 38, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 39, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1276", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 40, + "offsetLabel": "mulARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" }, "inFREE": "1", "setE": 1, - "arith": 1, - "line": 36, + "offset": 38, + "mRD": 1, + "line": 41, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13329,20 +14212,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 37, + "line": 42, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 38, + "line": 43, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 39, + "offset": 828, + "line": 44, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13350,7 +14233,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 42, + "line": 47, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13368,7 +14251,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 43, + "line": 48, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13386,44 +14269,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 44, + "line": 49, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 45, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 51, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 46, + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 52, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1286", + "setRR": 1, + "JMP": 1, + "offset": 1202, + "line": 53, + "offsetLabel": "subARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "sub", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 47, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "arith": 1, - "line": 48, + "offset": 38, + "mRD": 1, + "line": 54, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13436,20 +14322,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 49, + "line": 55, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 50, + "line": 56, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 51, + "offset": 828, + "line": 57, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13457,7 +14343,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 54, + "line": 60, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13475,7 +14361,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 55, + "line": 61, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13493,57 +14379,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 56, + "line": 62, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 57, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 64, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 58, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 65, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 59, + "CONST": "1296", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 66, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 60, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 38, + "mRD": 1, + "line": 67, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13556,20 +14432,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 61, + "line": 68, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 62, + "line": 69, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 63, + "offset": 828, + "line": 70, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13577,7 +14453,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 66, + "line": 73, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13595,28 +14471,28 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 67, + "line": 74, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1210", + "CONST": "1303", "setRR": 1, "JMP": 1, - "offset": 903, - "line": 68, + "offset": 924, + "line": 75, "offsetLabel": "abs", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setE": 1, - "line": 69, + "line": 76, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setC": 1, - "line": 70, + "line": 77, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13634,15 +14510,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 71, + "line": 78, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1214", + "CONST": "1307", "setRR": 1, "JMP": 1, - "offset": 903, - "line": 72, + "offset": 924, + "line": 79, "offsetLabel": "abs", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13674,59 +14550,49 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1222, - "line": 74, + "offset": 1315, + "line": 81, "offsetLabel": "opSDIVNeg", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 75, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 83, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 76, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 84, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 77, + "CONST": "1311", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 85, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 78, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 38, + "mRD": 1, + "line": 86, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13739,85 +14605,69 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 80, + "line": 87, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 81, + "line": 88, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 82, - "offsetLabel": "readCode", - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 84, + "offset": 828, + "line": 89, + "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 85, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 93, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 86, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 94, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 87, + "CONST": "1318", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 95, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 88, + "offset": 38, + "mRD": 1, + "line": 96, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1228", + "CONST": "1320", "setRR": 1, "JMP": 1, - "offset": 906, - "line": 89, + "offset": 927, + "line": 98, "offsetLabel": "ca2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13831,20 +14681,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 90, + "line": 99, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 91, + "line": 100, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 92, + "offset": 828, + "line": 101, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13852,7 +14702,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 95, + "line": 104, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13870,7 +14720,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 96, + "line": 105, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13888,57 +14738,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 97, + "line": 106, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 98, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 108, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 99, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 109, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 100, + "CONST": "1329", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 110, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 101, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 111, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13951,20 +14791,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 102, + "line": 112, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 103, + "line": 113, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 104, + "offset": 828, + "line": 114, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -13972,7 +14812,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 107, + "line": 117, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -13990,28 +14830,28 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 108, + "line": 118, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1244", + "CONST": "1336", "setRR": 1, "JMP": 1, - "offset": 903, - "line": 109, + "offset": 924, + "line": 119, "offsetLabel": "abs", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setE": 1, - "line": 110, + "line": 120, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setC": 1, - "line": 111, + "line": 121, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14029,15 +14869,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 112, + "line": 122, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1248", + "CONST": "1340", "setRR": 1, "JMP": 1, - "offset": 903, - "line": 113, + "offset": 924, + "line": 123, "offsetLabel": "abs", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14059,59 +14899,49 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1256, - "line": 115, + "offset": 1348, + "line": 125, "offsetLabel": "opSMODNeg", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 117, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 128, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 118, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 129, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 119, + "CONST": "1344", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 130, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 120, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 131, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14124,85 +14954,69 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 121, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-5", - "setGAS": 1, - "line": 122, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 815, - "line": 123, - "offsetLabel": "readCode", - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 125, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 126, + "line": 132, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 127, + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 133, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 828, + "line": 134, + "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", - "arith": 1, - "line": 128, + "offset": 36, + "mWR": 1, + "line": 138, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 139, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1351", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 140, + "offsetLabel": "divARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 129, + "offset": 39, + "mRD": 1, + "line": 141, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1262", + "CONST": "1353", "setRR": 1, "JMP": 1, - "offset": 906, - "line": 130, + "offset": 927, + "line": 142, "offsetLabel": "ca2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14216,20 +15030,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 131, + "line": 143, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 132, + "line": 144, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 133, + "offset": 828, + "line": 145, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14237,7 +15051,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 135, + "line": 148, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14255,7 +15069,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 136, + "line": 149, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14273,26 +15087,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 137, + "line": 150, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 152, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 153, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1362", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 154, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setE": 1, - "line": 138, + "offset": 38, + "mRD": 1, + "line": 155, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14310,57 +15145,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 139, + "line": 156, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 140, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 158, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 141, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 159, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 142, + "CONST": "1367", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 160, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 143, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 161, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14373,20 +15198,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 144, + "line": 162, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-8", "setGAS": 1, - "line": 145, + "line": 163, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 146, + "offset": 828, + "line": 164, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14394,7 +15219,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 149, + "line": 167, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14412,7 +15237,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 150, + "line": 168, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14430,26 +15255,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 151, + "line": 169, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 171, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 37, + "mWR": 1, + "line": 172, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1377", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 173, + "offsetLabel": "mulARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setE": 1, - "line": 152, + "offset": 38, + "mRD": 1, + "line": 174, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14467,57 +15313,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 153, + "line": 175, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 154, + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 177, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 155, + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 178, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 156, + }, + { + "CONST": "1382", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 179, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 157, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 180, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14530,20 +15366,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 158, + "line": 181, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-8", "setGAS": 1, - "line": 159, + "line": 182, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 160, + "offset": 828, + "line": 183, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14551,7 +15387,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 163, + "line": 186, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14569,7 +15405,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 164, + "line": 187, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14587,7 +15423,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 165, + "line": 188, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14607,7 +15443,7 @@ }, "inFREE": "1", "setA": 1, - "line": 166, + "line": 189, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14620,15 +15456,15 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 167, + "line": 190, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1295", + "CONST": "1392", "setRR": 1, "JMP": 1, - "offset": 971, - "line": 168, + "offset": 992, + "line": 191, "offsetLabel": "getLenBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14637,13 +15473,13 @@ "CONST": "-10", "inA": "-50", "setGAS": 1, - "line": 169, + "line": 192, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 170, + "offset": 828, + "line": 193, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14651,7 +15487,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 173, + "line": 196, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14669,7 +15505,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 174, + "line": 197, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14687,7 +15523,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 175, + "line": 198, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14708,11 +15544,64 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1306, - "line": 176, + "offset": 1411, + "line": 199, "offsetLabel": "opSIGNEXTENDEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, + { + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "8" + } + ] + }, + "inFREE": "1", + "offset": 36, + "mWR": 1, + "line": 201, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "7", + "offset": 37, + "mWR": 1, + "line": 202, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1401", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 203, + "offsetLabel": "addARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 204, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, { "freeInTag": { "op": "functionCall", @@ -14723,32 +15612,14 @@ "num": "2" }, { - "op": "add", - "values": [ - { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "8" - } - ] - }, - { - "op": "number", - "num": "7" - } - ] + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", "setC": 1, - "line": 177, + "line": 205, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14779,8 +15650,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1305, - "line": 178, + "offset": 1406, + "line": 206, "offsetLabel": "opSIGNEXTENDPositive", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14816,16 +15687,56 @@ }, "inFREE": "1", "setB": 1, - "line": 179, + "line": 207, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1306, - "line": 180, + "offset": 1411, + "line": 208, "offsetLabel": "opSIGNEXTENDEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, + { + "inC": "1", + "offset": 36, + "mWR": 1, + "line": 212, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "offset": 37, + "mWR": 1, + "line": 213, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1409", + "setRR": 1, + "JMP": 1, + "offset": 1202, + "line": 214, + "offsetLabel": "subARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 215, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, { "freeInTag": { "op": "functionCall", @@ -14836,23 +15747,14 @@ "regName": "B" }, { - "op": "sub", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "1" - } - ] + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", "setB": 1, - "line": 183, + "line": 216, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14865,20 +15767,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 186, + "line": 219, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 187, + "line": 220, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 188, + "offset": 828, + "line": 221, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14892,13 +15794,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 192, + "line": 225, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 193, + "offset": 828, + "line": 226, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14912,13 +15814,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 196, + "line": 229, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 197, + "offset": 828, + "line": 230, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -14926,7 +15828,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 200, + "line": 233, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14934,7 +15836,7 @@ "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -14944,7 +15846,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 201, + "line": 234, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14952,7 +15854,7 @@ "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -14962,14 +15864,19 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 202, + "line": 235, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 203, + "CONST": "1", + "setB": 1, + "line": 236, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 237, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -14978,17 +15885,24 @@ "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" }, { "op": "getReg", - "regName": "B" + "regName": "C" } ] }, "inFREE": "1", "setA": 1, - "line": 204, + "line": 238, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 240, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15015,13 +15929,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 205, + "line": 241, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 207, + "offset": 828, + "line": 242, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15029,7 +15943,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 209, + "line": 244, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15047,7 +15961,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 210, + "line": 245, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15065,14 +15979,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 211, + "line": 246, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 212, + "line": 247, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15099,13 +16013,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 213, + "line": 248, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 214, + "offset": 828, + "line": 249, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15113,7 +16027,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 217, + "line": 252, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15121,7 +16035,7 @@ "op": "" }, "inFREE": "1", - "setA": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15131,7 +16045,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 218, + "line": 253, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15139,7 +16053,7 @@ "op": "" }, "inFREE": "1", - "setB": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15149,14 +16063,19 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 219, + "line": 254, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 220, + "CONST": "1", + "setB": 1, + "line": 255, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 256, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15165,17 +16084,24 @@ "values": [ { "op": "getReg", - "regName": "B" + "regName": "E" }, { "op": "getReg", - "regName": "A" + "regName": "C" } ] }, "inFREE": "1", "setA": 1, - "line": 221, + "line": 257, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 259, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15202,13 +16128,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 222, + "line": 260, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 223, + "offset": 828, + "line": 261, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15216,7 +16142,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 225, + "line": 263, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15234,7 +16160,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 226, + "line": 264, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15252,14 +16178,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 227, + "line": 265, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 228, + "line": 266, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15286,13 +16212,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 229, + "line": 267, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 230, + "offset": 828, + "line": 268, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15300,7 +16226,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 232, + "line": 270, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15318,7 +16244,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 233, + "line": 271, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15336,14 +16262,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 234, + "line": 272, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 235, + "line": 273, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15370,13 +16296,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 236, + "line": 274, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 237, + "offset": 828, + "line": 275, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15384,7 +16310,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 240, + "line": 278, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15402,14 +16328,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 241, + "line": 279, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 242, + "line": 280, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15436,13 +16362,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 243, + "line": 281, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 244, + "offset": 828, + "line": 282, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15450,7 +16376,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 247, + "line": 285, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15468,7 +16394,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 248, + "line": 286, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15486,14 +16412,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 249, + "line": 287, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 250, + "line": 288, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15520,13 +16446,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 251, + "line": 289, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 252, + "offset": 828, + "line": 290, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15534,7 +16460,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 255, + "line": 293, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15552,7 +16478,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 256, + "line": 294, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15570,14 +16496,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 257, + "line": 295, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 258, + "line": 296, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15604,13 +16530,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 259, + "line": 297, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 260, + "offset": 828, + "line": 298, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15618,7 +16544,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 263, + "line": 301, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15636,7 +16562,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 264, + "line": 302, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15654,14 +16580,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 265, + "line": 303, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 266, + "line": 304, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15688,13 +16614,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 267, + "line": 305, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 268, + "offset": 828, + "line": 306, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15702,7 +16628,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 271, + "line": 309, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15720,14 +16646,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 272, + "line": 310, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 273, + "line": 311, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15750,13 +16676,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 274, + "line": 312, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 275, + "offset": 828, + "line": 313, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15764,7 +16690,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 278, + "line": 316, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15782,7 +16708,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 279, + "line": 317, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15800,14 +16726,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 280, + "line": 318, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "31", "inB": "-1", "setD": 1, - "line": 281, + "line": 319, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15817,14 +16743,14 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 282, + "line": 320, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 283, + "line": 321, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15851,13 +16777,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 284, + "line": 322, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 285, + "offset": 828, + "line": 323, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -15865,7 +16791,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 289, + "line": 327, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15873,7 +16799,7 @@ "op": "" }, "inFREE": "1", - "setD": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15883,26 +16809,60 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 290, + "line": 328, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 330, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "8", + "offset": 37, + "mWR": 1, + "line": 331, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1495", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 332, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "D" - }, - { - "op": "number", - "num": "8" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "line": 291, + "offset": 38, + "mRD": 1, + "line": 333, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 334, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15922,7 +16882,7 @@ }, "inFREE": "1", "setB": 1, - "line": 292, + "line": 336, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15969,7 +16929,7 @@ }, "inFREE": "1", "setD": 1, - "line": 293, + "line": 337, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15987,7 +16947,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 295, + "line": 339, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -15997,7 +16957,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 296, + "line": 340, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16010,20 +16970,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 297, + "line": 341, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 298, + "line": 342, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 299, + "offset": 828, + "line": 343, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16031,7 +16991,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 303, + "line": 347, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16039,7 +16999,7 @@ "op": "" }, "inFREE": "1", - "setD": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -16049,26 +17009,60 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 304, + "line": 348, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 350, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "8", + "offset": 37, + "mWR": 1, + "line": 351, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1509", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 352, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "D" - }, - { - "op": "number", - "num": "8" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "line": 305, + "offset": 38, + "mRD": 1, + "line": 353, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 354, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16088,7 +17082,7 @@ }, "inFREE": "1", "setB": 1, - "line": 306, + "line": 355, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16135,7 +17129,7 @@ }, "inFREE": "1", "setD": 1, - "line": 307, + "line": 356, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16153,7 +17147,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 309, + "line": 358, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16163,7 +17157,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 310, + "line": 359, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16176,20 +17170,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 311, + "line": 360, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 312, + "line": 361, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 313, + "offset": 828, + "line": 362, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16197,7 +17191,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 318, + "line": 367, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16205,7 +17199,7 @@ "op": "" }, "inFREE": "1", - "setD": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -16215,26 +17209,47 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 319, + "line": 368, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 370, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "8", + "offset": 37, + "mWR": 1, + "line": 371, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1523", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 372, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "D" - }, - { - "op": "number", - "num": "8" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "line": 320, + "offset": 38, + "mRD": 1, + "line": 373, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16254,7 +17269,7 @@ }, "inFREE": "1", "setB": 1, - "line": 321, + "line": 374, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16301,7 +17316,7 @@ }, "inFREE": "1", "setD": 1, - "line": 322, + "line": 375, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16319,15 +17334,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 324, + "line": 377, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1408", + "CONST": "1528", "setRR": 1, "JMP": 1, - "offset": 903, - "line": 325, + "offset": 924, + "line": 378, "offsetLabel": "abs", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16338,7 +17353,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 327, + "line": 380, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16359,8 +17374,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1413, - "line": 328, + "offset": 1533, + "line": 381, "offsetLabel": "opSARNeg", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16374,40 +17389,31 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 329, + "line": 382, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 330, + "line": 383, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 331, + "offset": 828, + "line": 384, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ + "op": "functionCall", + "funcName": "comp_gt", + "params": [ { - "op": "functionCall", - "funcName": "comp_gt", - "params": [ - { - "op": "number", - "num": "1" - }, - { - "op": "getReg", - "regName": "A" - } - ] + "op": "number", + "num": "1" }, { "op": "getReg", @@ -16416,16 +17422,50 @@ ] }, "inFREE": "1", + "offset": 36, + "mWR": 1, + "line": 388, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 389, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1536", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 390, + "offsetLabel": "addARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 334, + "offset": 38, + "mRD": 1, + "line": 391, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1415", + "CONST": "1538", "setRR": 1, "JMP": 1, - "offset": 906, - "line": 335, + "offset": 927, + "line": 393, "offsetLabel": "ca2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16439,20 +17479,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 336, + "line": 394, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 337, + "line": 395, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 338, + "offset": 828, + "line": 396, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16460,7 +17500,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 341, + "line": 399, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16478,7 +17518,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 342, + "line": 400, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16496,7 +17536,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 343, + "line": 401, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16504,7 +17544,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 344, + "line": 402, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16513,45 +17553,101 @@ "inGAS": "1", "CONST": "-30", "setGAS": 1, - "line": 346, + "line": 404, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "31", + "setA": 1, + "line": 407, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 409, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 410, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1550", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 411, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", - "values": [ - { - "op": "number", - "num": "6" - }, - { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - } - ] + "op": "" }, - "inFREE": "-1", + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 412, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "6", + "offset": 36, + "mWR": 1, + "line": 415, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 416, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1554", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 417, + "offsetLabel": "mulARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 418, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inA": "-1", "setGAS": 1, - "line": 347, + "line": 419, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16562,7 +17658,7 @@ "setB": 1, "offset": 6, "mRD": 1, - "line": 349, + "line": 421, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16573,7 +17669,7 @@ "setB": 1, "offset": 6, "mWR": 1, - "line": 350, + "line": 422, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16581,15 +17677,15 @@ { "CONST": "32", "setD": 1, - "line": 351, + "line": 423, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1442, - "line": 354, + "offset": 1574, + "line": 426, "offsetLabel": "opSHA3End", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16597,24 +17693,24 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1436, - "line": 355, + "offset": 1568, + "line": 427, "offsetLabel": "opSHA3Final", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1430", + "CONST": "1562", "setRR": 1, "JMP": 1, - "offset": 1060, - "line": 356, + "offset": 1081, + "line": 428, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setB": 1, - "line": 357, + "line": 429, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16625,7 +17721,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 358, + "line": 430, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16635,35 +17731,35 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 359, + "line": 431, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setE": 1, - "line": 360, + "line": 432, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 361, + "line": 433, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1427, - "line": 362, + "offset": 1559, + "line": 434, "offsetLabel": "opSHA3Loop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1437", + "CONST": "1569", "setRR": 1, "JMP": 1, - "offset": 1079, - "line": 364, + "offset": 1111, + "line": 436, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16671,7 +17767,7 @@ "CONST": "32", "inC": "-1", "setD": 1, - "line": 365, + "line": 437, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16681,7 +17777,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 366, + "line": 438, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16692,7 +17788,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 367, + "line": 439, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16700,7 +17796,7 @@ { "inC": "1", "setD": 1, - "line": 368, + "line": 440, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16708,7 +17804,7 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 369, + "line": 441, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16719,7 +17815,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 372, + "line": 444, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16728,7 +17824,7 @@ "ind": 1, "offset": 0, "hashE": 1, - "line": 373, + "line": 445, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16740,7 +17836,7 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 374, + "line": 446, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16753,7 +17849,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 375, + "line": 447, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16764,7 +17860,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 376, + "line": 448, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16777,7 +17873,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 377, + "line": 449, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16786,15 +17882,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 378, + "offset": 1925, + "line": 450, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 379, + "offset": 828, + "line": 451, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16806,7 +17902,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 383, + "line": 455, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16815,8 +17911,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1454, - "line": 384, + "offset": 1586, + "line": 456, "offsetLabel": "opADDRESSdeploy", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16828,15 +17924,15 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 385, + "line": 457, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1455, - "line": 386, + "offset": 1587, + "line": 458, "offsetLabel": "opADDRESSend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16848,7 +17944,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 389, + "line": 461, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16863,20 +17959,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 392, + "line": 464, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 393, + "line": 465, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 394, + "offset": 828, + "line": 466, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16884,7 +17980,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 397, + "line": 469, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16902,14 +17998,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 398, + "line": 470, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 399, + "line": 471, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16919,7 +18015,7 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 400, + "line": 472, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16932,7 +18028,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 401, + "line": 473, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16952,7 +18048,7 @@ }, "inFREE": "1", "setD": 1, - "line": 402, + "line": 474, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -16960,13 +18056,13 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 403, + "line": 475, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 404, + "offset": 828, + "line": 476, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -16978,7 +18074,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 407, + "line": 479, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -16993,20 +18089,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 408, + "line": 480, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 409, + "line": 481, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 410, + "offset": 828, + "line": 482, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17018,7 +18114,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 413, + "line": 485, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17033,20 +18129,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 414, + "line": 486, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 415, + "line": 487, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 416, + "offset": 828, + "line": 488, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17058,7 +18154,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 419, + "line": 491, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17073,20 +18169,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 420, + "line": 492, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 421, + "line": 493, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 422, + "offset": 828, + "line": 494, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17094,7 +18190,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 426, + "line": 498, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17102,7 +18198,7 @@ "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -17112,67 +18208,82 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 427, + "line": 499, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 501, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 502, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1615", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 503, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setB": 1, - "line": 428, + "offset": 38, + "mRD": 1, + "line": 504, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 429, + "offset": 39, + "mRD": 1, + "line": 505, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1490, - "line": 430, + "offset": 1625, + "line": 506, "offsetLabel": "opCALLDATALOAD2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "setC": 1, - "line": 431, + "line": 507, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1024", "inB": "1", "setSP": 1, - "line": 432, + "line": 508, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17190,13 +18301,13 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 433, + "line": 509, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "setSP": 1, - "line": 434, + "line": 510, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17209,40 +18320,40 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 435, + "line": 511, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 436, + "line": 512, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 437, + "offset": 828, + "line": 513, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "setC": 1, - "line": 440, + "line": 516, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setD": 1, - "line": 441, + "line": 517, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1024", "inB": "1", "setSP": 1, - "line": 442, + "line": 518, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17259,7 +18370,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 443, + "line": 519, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17269,14 +18380,14 @@ "inFREE": "1", "setB": 1, "shl": 1, - "line": 444, + "line": 520, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 445, + "line": 521, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17294,7 +18405,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 446, + "line": 522, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17304,13 +18415,13 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 447, + "line": 523, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "setSP": 1, - "line": 448, + "line": 524, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17324,20 +18435,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 449, + "line": 525, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 450, + "line": 526, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 451, + "offset": 828, + "line": 527, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17349,7 +18460,7 @@ "setB": 1, "offset": 7, "mRD": 1, - "line": 454, + "line": 530, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17364,20 +18475,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 455, + "line": 531, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 456, + "line": 532, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 457, + "offset": 828, + "line": 533, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17385,7 +18496,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 461, + "line": 537, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17403,7 +18514,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 462, + "line": 538, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17421,7 +18532,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 463, + "line": 539, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17439,7 +18550,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 464, + "line": 540, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17447,7 +18558,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 465, + "line": 541, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17456,7 +18567,7 @@ "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 466, + "line": 542, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17494,22 +18605,22 @@ }, "inFREE": "-1", "setGAS": 1, - "line": 467, + "line": 543, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "offset": 10, "mWR": 1, - "line": 468, + "line": 544, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1515, - "line": 469, + "offset": 1650, + "line": 545, "offsetLabel": "opCALLDATACOPYinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17517,8 +18628,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1557, - "line": 472, + "offset": 1697, + "line": 548, "offsetLabel": "opCALLDATACOPYend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17526,48 +18637,69 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1533, - "line": 473, + "offset": 1673, + "line": 549, "offsetLabel": "opCALLDATACOPYfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, + { + "inB": "1", + "offset": 36, + "mWR": 1, + "line": 550, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 551, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1655", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 552, + "offsetLabel": "divARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "line": 474, + "offset": 39, + "mRD": 1, + "line": 553, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1024", "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 554, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1024", + "inA": "1", "setSP": 1, - "line": 475, + "line": 555, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17585,7 +18717,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 476, + "line": 556, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17595,34 +18727,34 @@ "inFREE": "1", "setC": 1, "shl": 1, - "line": 477, + "line": 557, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1025", "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 558, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1025", + "inA": "1", "setSP": 1, - "line": 478, + "line": 559, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 479, + "line": 560, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17640,7 +18772,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 480, + "line": 561, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17650,25 +18782,25 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 481, + "line": 562, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "inC": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 482, + "line": 563, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1527", + "CONST": "1667", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 483, + "offset": 1006, + "line": 564, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17680,7 +18812,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 484, + "line": 565, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17700,14 +18832,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 485, + "line": 566, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 486, + "line": 567, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17721,20 +18853,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 487, + "line": 568, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "CONST": "32", "setB": 1, - "line": 488, + "line": 569, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1515, - "line": 489, + "offset": 1650, + "line": 570, "offsetLabel": "opCALLDATACOPYinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17754,7 +18886,7 @@ }, "inFREE": "1", "setD": 1, - "line": 492, + "line": 573, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17774,7 +18906,7 @@ }, "inFREE": "1", "setSP": 1, - "line": 493, + "line": 574, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17792,7 +18924,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 494, + "line": 575, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17802,7 +18934,7 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 495, + "line": 576, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17813,7 +18945,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 496, + "line": 577, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -17833,7 +18965,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 497, + "line": 578, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17853,7 +18985,7 @@ }, "inFREE": "1", "setSP": 1, - "line": 498, + "line": 579, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17861,21 +18993,21 @@ "CONST": "-32", "inD": "1", "setD": 1, - "line": 499, + "line": 580, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "JMPC": 1, - "offset": 1552, - "line": 500, + "offset": 1692, + "line": 581, "offsetLabel": "opCALLDATACOPYxor", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setB": 1, - "line": 501, + "line": 582, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17893,14 +19025,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 502, + "line": 583, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 503, + "line": 584, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17910,14 +19042,14 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 504, + "line": 585, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 505, + "line": 586, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17927,38 +19059,38 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 506, + "line": 587, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "inA": "1", "setA": 1, - "line": 507, + "line": 588, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 508, + "line": 589, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1551", + "CONST": "1691", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 509, + "offset": 1040, + "line": 590, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1557, - "line": 510, + "offset": 1697, + "line": 591, "offsetLabel": "opCALLDATACOPYend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -17966,7 +19098,7 @@ "CONST": "32", "inC": "-1", "setD": 1, - "line": 513, + "line": 594, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17976,7 +19108,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 514, + "line": 595, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -17986,24 +19118,24 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 515, + "line": 596, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 516, + "line": 597, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1557", + "CONST": "1697", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 517, + "offset": 1040, + "line": 598, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18015,7 +19147,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 520, + "line": 601, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18028,7 +19160,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 521, + "line": 602, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18041,7 +19173,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 522, + "line": 603, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18050,15 +19182,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 523, + "offset": 1925, + "line": 604, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 524, + "offset": 828, + "line": 605, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18070,7 +19202,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 528, + "line": 609, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18079,8 +19211,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1572, - "line": 529, + "offset": 1712, + "line": 610, "offsetLabel": "opCODESIZEdep", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18092,7 +19224,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 530, + "line": 611, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18100,13 +19232,13 @@ { "CONST": "2", "setB": 1, - "line": 531, + "line": 612, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 532, + "line": 613, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18116,7 +19248,7 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 533, + "line": 614, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18132,7 +19264,7 @@ }, "inFREE": "1", "setB": 1, - "line": 534, + "line": 615, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18145,20 +19277,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 535, + "line": 616, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 536, + "line": 617, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 537, + "offset": 828, + "line": 618, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18170,7 +19302,7 @@ "setB": 1, "offset": 7, "mRD": 1, - "line": 540, + "line": 621, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18185,20 +19317,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 541, + "line": 622, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 542, + "line": 623, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 543, + "offset": 828, + "line": 624, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18210,7 +19342,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 546, + "line": 627, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18219,8 +19351,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1506, - "line": 547, + "offset": 1641, + "line": 628, "offsetLabel": "opCALLDATACOPY", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18232,7 +19364,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 548, + "line": 629, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18240,13 +19372,13 @@ { "CONST": "2", "setB": 1, - "line": 549, + "line": 630, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 550, + "line": 631, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18256,14 +19388,14 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 551, + "line": 632, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 552, + "line": 633, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18281,7 +19413,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 553, + "line": 634, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18299,7 +19431,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 554, + "line": 635, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18317,7 +19449,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 555, + "line": 636, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18325,7 +19457,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 556, + "line": 637, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18334,7 +19466,7 @@ "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 557, + "line": 638, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18372,15 +19504,15 @@ }, "inFREE": "-1", "setGAS": 1, - "line": 558, + "line": 639, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1602, - "line": 561, + "offset": 1742, + "line": 642, "offsetLabel": "opCODECOPYend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18388,8 +19520,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1597, - "line": 562, + "offset": 1737, + "line": 643, "offsetLabel": "opCODECOPYfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18414,24 +19546,24 @@ }, "inFREE": "1", "setD": 1, - "line": 563, + "line": 644, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 564, + "line": 645, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1594", + "CONST": "1734", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 565, + "offset": 1006, + "line": 646, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18439,20 +19571,20 @@ "inC": "1", "CONST": "-32", "setC": 1, - "line": 566, + "line": 647, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "CONST": "32", "setB": 1, - "line": 567, + "line": 648, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1589, - "line": 568, + "offset": 1729, + "line": 649, "offsetLabel": "opCODECOPYinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18477,14 +19609,14 @@ }, "inFREE": "1", "setA": 1, - "line": 571, + "line": 652, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 572, + "line": 653, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18494,24 +19626,24 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 573, + "line": 654, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 574, + "line": 655, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1602", + "CONST": "1742", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 575, + "offset": 1040, + "line": 656, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18523,7 +19655,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 578, + "line": 659, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18536,7 +19668,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 579, + "line": 660, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18545,15 +19677,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 580, + "offset": 1925, + "line": 661, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 581, + "offset": 828, + "line": 662, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18565,7 +19697,7 @@ "setA": 1, "offset": 6, "mRD": 1, - "line": 584, + "line": 665, "offsetLabel": "txGasPrice", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18580,20 +19712,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 585, + "line": 666, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 586, + "line": 667, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 587, + "offset": 828, + "line": 668, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18601,7 +19733,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 590, + "line": 671, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18619,7 +19751,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 591, + "line": 672, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18639,19 +19771,19 @@ }, "inFREE": "1", "setD": 1, - "line": 592, + "line": 673, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setB": 1, - "line": 593, + "line": 674, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 594, + "line": 675, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18661,7 +19793,7 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 595, + "line": 676, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18677,7 +19809,7 @@ }, "inFREE": "1", "setB": 1, - "line": 596, + "line": 677, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18690,7 +19822,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 597, + "line": 678, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18698,13 +19830,13 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 598, + "line": 679, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 599, + "offset": 828, + "line": 680, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18712,7 +19844,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 602, + "line": 683, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18730,7 +19862,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 603, + "line": 684, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18750,19 +19882,19 @@ }, "inFREE": "1", "setD": 1, - "line": 604, + "line": 685, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setB": 1, - "line": 605, + "line": 686, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 606, + "line": 687, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18772,7 +19904,7 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 607, + "line": 688, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18790,7 +19922,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 608, + "line": 689, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18808,7 +19940,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 609, + "line": 690, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18826,7 +19958,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 610, + "line": 691, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18834,7 +19966,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 611, + "line": 692, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -18844,7 +19976,7 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 612, + "line": 693, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -18882,15 +20014,15 @@ }, "inFREE": "-1", "setGAS": 1, - "line": 613, + "line": 694, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1645, - "line": 616, + "offset": 1785, + "line": 697, "offsetLabel": "opEXTCODECOPYend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18898,8 +20030,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1640, - "line": 617, + "offset": 1780, + "line": 698, "offsetLabel": "opEXTCODECOPYfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18924,24 +20056,24 @@ }, "inFREE": "1", "setD": 1, - "line": 618, + "line": 699, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 619, + "line": 700, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1637", + "CONST": "1777", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 620, + "offset": 1006, + "line": 701, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18949,20 +20081,20 @@ "inC": "1", "CONST": "-32", "setC": 1, - "line": 621, + "line": 702, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "CONST": "32", "setB": 1, - "line": 622, + "line": 703, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1632, - "line": 623, + "offset": 1772, + "line": 704, "offsetLabel": "opEXTCODECOPYinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -18987,14 +20119,14 @@ }, "inFREE": "1", "setA": 1, - "line": 626, + "line": 707, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 627, + "line": 708, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19004,24 +20136,24 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 628, + "line": 709, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 629, + "line": 710, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1645", + "CONST": "1785", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 630, + "offset": 1040, + "line": 711, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19033,7 +20165,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 633, + "line": 714, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19046,7 +20178,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 634, + "line": 715, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19055,15 +20187,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 635, + "offset": 1925, + "line": 716, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 636, + "offset": 828, + "line": 717, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19075,7 +20207,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 640, + "line": 721, "offsetLabel": "retLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19090,20 +20222,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 641, + "line": 722, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 642, + "line": 723, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 643, + "offset": 828, + "line": 724, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19111,7 +20243,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 648, + "line": 729, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19129,7 +20261,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 649, + "line": 730, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19147,7 +20279,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 650, + "line": 731, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19158,7 +20290,7 @@ "setC": 1, "offset": 26, "mRD": 1, - "line": 652, + "line": 733, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19167,7 +20299,7 @@ "inB": "1", "inC": "1", "setB": 1, - "line": 653, + "line": 734, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19185,52 +20317,108 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 654, + "line": 735, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 655, + "line": 736, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "31", + "setA": 1, + "line": 738, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 740, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 741, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1804", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 742, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", - "values": [ - { - "op": "number", - "num": "3" - }, - { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - } - ] + "op": "" }, - "inFREE": "-1", + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 743, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "3", + "offset": 36, + "mWR": 1, + "line": 746, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 37, + "mWR": 1, + "line": 747, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1808", + "setRR": 1, + "JMP": 1, + "offset": 1214, + "line": 748, + "offsetLabel": "mulARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 38, + "mRD": 1, + "line": 749, + "offsetLabel": "arithRes1", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inA": "-1", "setGAS": 1, - "line": 656, + "line": 750, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19238,7 +20426,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 657, + "line": 751, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19247,8 +20435,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1679, - "line": 660, + "offset": 1828, + "line": 754, "offsetLabel": "opRETURNDATACOPYend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19256,118 +20444,118 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1673, - "line": 661, + "offset": 1822, + "line": 755, "offsetLabel": "opRETURNDATACOPYfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setE": 1, - "line": 662, + "line": 756, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1666", + "CONST": "1815", "setRR": 1, "JMP": 1, - "offset": 1060, - "line": 663, + "offset": 1081, + "line": 757, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setB": 1, - "line": 664, + "line": 758, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 665, + "line": 759, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 666, + "line": 760, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1670", + "CONST": "1819", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 667, + "offset": 1006, + "line": 761, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setD": 1, - "line": 668, + "line": 762, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 669, + "line": 763, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1662, - "line": 670, + "offset": 1811, + "line": 764, "offsetLabel": "opRETURNDATACOPYinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setE": 1, - "line": 673, + "line": 767, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1675", + "CONST": "1824", "setRR": 1, "JMP": 1, - "offset": 1079, - "line": 674, + "offset": 1111, + "line": 768, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setB": 1, - "line": 675, + "line": 769, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 676, + "line": 770, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 677, + "line": 771, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1679", + "CONST": "1828", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 678, + "offset": 1040, + "line": 772, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19379,7 +20567,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 681, + "line": 775, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19392,7 +20580,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 682, + "line": 776, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19401,15 +20589,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 683, + "offset": 1925, + "line": 777, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 684, + "offset": 828, + "line": 778, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19417,7 +20605,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 687, + "line": 781, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19435,7 +20623,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 688, + "line": 782, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19455,7 +20643,7 @@ }, "inFREE": "1", "setD": 1, - "line": 689, + "line": 783, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19463,19 +20651,19 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 690, + "line": 784, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setB": 1, - "line": 691, + "line": 785, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 692, + "line": 786, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19485,7 +20673,7 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 693, + "line": 787, "cmdAfter": [ { "op": "setVar", @@ -19516,7 +20704,7 @@ }, "inFREE": "1", "setC": 1, - "line": 695, + "line": 789, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19527,7 +20715,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 696, + "line": 790, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19538,7 +20726,7 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 697, + "line": 791, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19546,15 +20734,15 @@ { "CONST": "32", "setD": 1, - "line": 700, + "line": 794, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 1703, - "line": 701, + "offset": 1852, + "line": 795, "offsetLabel": "opEXTCODEHASHend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19562,8 +20750,8 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 1700, - "line": 702, + "offset": 1849, + "line": 796, "offsetLabel": "opEXTCODEHASHfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19588,7 +20776,7 @@ }, "inFREE": "1", "setB": 1, - "line": 703, + "line": 797, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19596,14 +20784,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 704, + "line": 798, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "inD": "-1", "setC": 1, - "line": 705, + "line": 799, "cmdAfter": [ { "op": "setVar", @@ -19632,15 +20820,15 @@ }, { "JMP": 1, - "offset": 1693, - "line": 707, + "offset": 1842, + "line": 801, "offsetLabel": "opEXTCODEHASHinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "setD": 1, - "line": 710, + "line": 804, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19664,7 +20852,7 @@ }, "inFREE": "1", "setB": 1, - "line": 711, + "line": 805, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19672,14 +20860,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 712, + "line": 806, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 715, + "line": 809, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19691,7 +20879,7 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 716, + "line": 810, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19704,13 +20892,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 717, + "line": 811, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 718, + "offset": 828, + "line": 812, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19718,14 +20906,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 721, + "line": 815, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-20", "setGAS": 1, - "line": 722, + "line": 816, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19743,7 +20931,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 723, + "line": 817, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19754,7 +20942,7 @@ "setB": 1, "offset": 15, "mRD": 1, - "line": 726, + "line": 820, "offsetLabel": "numBatch", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19764,8 +20952,8 @@ "inA": "-1", "CONST": "-1", "JMPC": 1, - "offset": 1724, - "line": 727, + "offset": 1873, + "line": 821, "offsetLabel": "opBLOCKHASHzero", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19777,7 +20965,7 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 730, + "line": 824, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19788,7 +20976,7 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 731, + "line": 825, "offsetLabel": "lastHashIdUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19796,7 +20984,7 @@ { "CONST": "32", "setD": 1, - "line": 732, + "line": 826, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19804,7 +20992,7 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 733, + "line": 827, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19812,14 +21000,14 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 734, + "line": 828, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 735, + "line": 829, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19831,7 +21019,7 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 736, + "line": 830, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19842,7 +21030,7 @@ "setA": 1, "offset": 8, "mRD": 1, - "line": 739, + "line": 833, "offsetLabel": "systemAddr", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19850,7 +21038,7 @@ { "CONST": "3", "setB": 1, - "line": 741, + "line": 835, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19860,7 +21048,7 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 742, + "line": 836, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -19873,13 +21061,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 745, + "line": 839, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 746, + "offset": 828, + "line": 840, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19893,13 +21081,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 750, + "line": 844, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 751, + "offset": 828, + "line": 845, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19911,7 +21099,7 @@ "setA": 1, "offset": 7, "mRD": 1, - "line": 754, + "line": 848, "offsetLabel": "sequencerAddr", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19926,20 +21114,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 755, + "line": 849, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 756, + "line": 850, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 757, + "offset": 828, + "line": 851, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19951,7 +21139,7 @@ "setA": 1, "offset": 16, "mRD": 1, - "line": 761, + "line": 855, "offsetLabel": "timestamp", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -19966,20 +21154,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 762, + "line": 856, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 763, + "line": 857, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 764, + "offset": 828, + "line": 858, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -19991,7 +21179,7 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 767, + "line": 861, "offsetLabel": "numBatch", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20006,20 +21194,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 768, + "line": 862, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 769, + "line": 863, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 770, + "offset": 828, + "line": 864, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20031,7 +21219,7 @@ "setA": 1, "offset": 28, "mRD": 1, - "line": 773, + "line": 867, "offsetLabel": "batchDifficulty", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20046,20 +21234,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 774, + "line": 868, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 775, + "line": 869, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 776, + "offset": 828, + "line": 870, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20071,7 +21259,7 @@ "setA": 1, "offset": 29, "mRD": 1, - "line": 779, + "line": 873, "offsetLabel": "batchGasLimit", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20086,20 +21274,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 780, + "line": 874, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 781, + "line": 875, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 782, + "offset": 828, + "line": 876, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20111,7 +21299,7 @@ "setA": 1, "offset": 10, "mRD": 1, - "line": 785, + "line": 879, "offsetLabel": "defaultChainId", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20126,20 +21314,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 786, + "line": 880, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 787, + "line": 881, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 788, + "offset": 828, + "line": 882, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20151,7 +21339,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 792, + "line": 886, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20160,7 +21348,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 793, + "line": 887, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20170,7 +21358,7 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 794, + "line": 888, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20183,20 +21371,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 795, + "line": 889, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5", "setGAS": 1, - "line": 796, + "line": 890, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 797, + "offset": 828, + "line": 891, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20204,20 +21392,20 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 800, + "line": 894, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 801, + "line": 895, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 802, + "offset": 828, + "line": 896, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20225,7 +21413,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 805, + "line": 899, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20243,15 +21431,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 806, + "line": 900, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1762", + "CONST": "1911", "setRR": 1, "JMP": 1, - "offset": 1060, - "line": 807, + "offset": 1081, + "line": 901, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20265,14 +21453,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 808, + "line": 902, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 809, + "line": 903, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20283,7 +21471,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 810, + "line": 904, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20292,15 +21480,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 811, + "offset": 1925, + "line": 905, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 812, + "offset": 828, + "line": 906, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20308,7 +21496,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 815, + "line": 909, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20326,7 +21514,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 816, + "line": 910, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20344,24 +21532,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 817, + "line": 911, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 818, + "line": 912, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1772", + "CONST": "1921", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 819, + "offset": 1006, + "line": 913, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20369,7 +21557,7 @@ "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 820, + "line": 914, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20380,7 +21568,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 821, + "line": 915, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20389,31 +21577,31 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 822, + "offset": 1925, + "line": 916, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 823, + "offset": 828, + "line": 917, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1777", + "CONST": "1926", "setRR": 1, "JMP": 1, - "offset": 1149, - "line": 827, + "offset": 1181, + "line": 921, "offsetLabel": "saveMem", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 828, + "offset": 828, + "line": 922, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20421,7 +21609,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 831, + "line": 925, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20439,7 +21627,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 832, + "line": 926, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20457,20 +21645,20 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 833, + "line": 927, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setC": 1, - "line": 834, + "line": 928, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 835, + "line": 929, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20480,24 +21668,24 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 836, + "line": 930, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 837, + "line": 931, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1786", + "CONST": "1935", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 838, + "offset": 1040, + "line": 932, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20505,7 +21693,7 @@ "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 839, + "line": 933, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20516,7 +21704,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 840, + "line": 934, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20525,15 +21713,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 841, + "offset": 1925, + "line": 935, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 842, + "offset": 828, + "line": 936, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20541,7 +21729,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 845, + "line": 939, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20559,7 +21747,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 846, + "line": 940, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20570,7 +21758,7 @@ "setA": 1, "offset": 2, "mRD": 1, - "line": 847, + "line": 941, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20578,7 +21766,7 @@ { "CONST": "3", "setB": 1, - "line": 848, + "line": 942, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20588,7 +21776,7 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 849, + "line": 943, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20601,7 +21789,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 850, + "line": 944, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20625,7 +21813,7 @@ }, "inFREE": "1", "setA": 1, - "line": 851, + "line": 945, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20633,13 +21821,13 @@ "CONST": "-100", "inA": "-2000", "setGAS": 1, - "line": 852, + "line": 946, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 853, + "offset": 828, + "line": 947, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20651,7 +21839,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 856, + "line": 950, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20660,8 +21848,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 857, + "offset": 2952, + "line": 951, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20669,7 +21857,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 858, + "line": 952, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20687,7 +21875,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 859, + "line": 953, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20705,7 +21893,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 860, + "line": 954, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20716,7 +21904,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 861, + "line": 955, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20725,8 +21913,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1808, - "line": 862, + "offset": 1957, + "line": 956, "offsetLabel": "deploymentSSTORE", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20738,15 +21926,15 @@ "setA": 1, "offset": 2, "mRD": 1, - "line": 863, + "line": 957, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1809, - "line": 864, + "offset": 1958, + "line": 958, "offsetLabel": "opSSTOREinit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20758,7 +21946,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 867, + "line": 961, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20766,7 +21954,7 @@ { "CONST": "3", "setB": 1, - "line": 870, + "line": 964, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20776,14 +21964,14 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 871, + "line": 965, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSR": "1", "offset": 25, "mWR": 1, - "line": 872, + "line": 966, "offsetLabel": "auxSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20796,7 +21984,7 @@ "setSR": 1, "offset": 20, "mRD": 1, - "line": 873, + "line": 967, "offsetLabel": "initSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20808,7 +21996,7 @@ "inFREE": "1", "setB": 1, "sRD": 1, - "line": 874, + "line": 968, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20819,7 +22007,7 @@ "setSR": 1, "offset": 25, "mRD": 1, - "line": 875, + "line": 969, "offsetLabel": "auxSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -20845,14 +22033,14 @@ }, "inFREE": "1", "setA": 1, - "line": 876, + "line": 970, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inA": "-2100", "setGAS": 1, - "line": 877, + "line": 971, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20873,8 +22061,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1820, - "line": 878, + "offset": 1969, + "line": 972, "offsetLabel": "opSSTOREdif", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20882,13 +22070,13 @@ "inGAS": "1", "CONST": "-100", "setGAS": 1, - "line": 880, + "line": 974, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1848, - "line": 881, + "offset": 1997, + "line": 975, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20910,8 +22098,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1824, - "line": 885, + "offset": 1973, + "line": 979, "offsetLabel": "opSSTOREdifA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20933,8 +22121,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1843, - "line": 887, + "offset": 1992, + "line": 981, "offsetLabel": "opSSTOREdifB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20942,13 +22130,13 @@ "inGAS": "1", "CONST": "-20000", "setGAS": 1, - "line": 889, + "line": 983, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1848, - "line": 890, + "offset": 1997, + "line": 984, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -20956,7 +22144,7 @@ "inGAS": "1", "CONST": "-100", "setGAS": 1, - "line": 894, + "line": 988, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -20977,15 +22165,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1832, - "line": 897, + "offset": 1981, + "line": 991, "offsetLabel": "opSSTOREdifA1", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1827, - "line": 899, + "offset": 1976, + "line": 993, "offsetLabel": "opSSTOREdifAB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21007,8 +22195,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1848, - "line": 902, + "offset": 1997, + "line": 996, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21030,8 +22218,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1840, - "line": 904, + "offset": 1989, + "line": 998, "offsetLabel": "opSSTOREdifA2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21043,7 +22231,7 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 906, + "line": 1000, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21054,15 +22242,15 @@ "setA": 1, "offset": 19, "mWR": 1, - "line": 907, + "line": 1001, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1848, - "line": 908, + "offset": 1997, + "line": 1002, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21084,8 +22272,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1836, - "line": 912, + "offset": 1985, + "line": 1006, "offsetLabel": "opSSTOREdifA12", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21097,7 +22285,7 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 914, + "line": 1008, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21108,15 +22296,15 @@ "setA": 1, "offset": 19, "mWR": 1, - "line": 915, + "line": 1009, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1827, - "line": 916, + "offset": 1976, + "line": 1010, "offsetLabel": "opSSTOREdifAB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21138,8 +22326,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1827, - "line": 919, + "offset": 1976, + "line": 1013, "offsetLabel": "opSSTOREdifAB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21151,7 +22339,7 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 921, + "line": 1015, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21162,15 +22350,15 @@ "setA": 1, "offset": 19, "mWR": 1, - "line": 922, + "line": 1016, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1827, - "line": 923, + "offset": 1976, + "line": 1017, "offsetLabel": "opSSTOREdifAB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21182,7 +22370,7 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 927, + "line": 1021, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21193,15 +22381,15 @@ "setA": 1, "offset": 19, "mWR": 1, - "line": 928, + "line": 1022, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1848, - "line": 929, + "offset": 1997, + "line": 1023, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21209,7 +22397,7 @@ "inGAS": "1", "CONST": "-2900", "setGAS": 1, - "line": 933, + "line": 1027, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21230,8 +22418,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1848, - "line": 934, + "offset": 1997, + "line": 1028, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21243,7 +22431,7 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 936, + "line": 1030, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21254,15 +22442,15 @@ "setA": 1, "offset": 19, "mWR": 1, - "line": 937, + "line": 1031, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1848, - "line": 938, + "offset": 1997, + "line": 1032, "offsetLabel": "opSSTOREend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21274,7 +22462,7 @@ "setA": 1, "offset": 12, "mRD": 1, - "line": 941, + "line": 1035, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21283,8 +22471,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 1852, - "line": 942, + "offset": 2001, + "line": 1036, "offsetLabel": "mloadContract", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21296,15 +22484,15 @@ "setA": 1, "offset": 2, "mRD": 1, - "line": 943, + "line": 1037, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1853, - "line": 944, + "offset": 2002, + "line": 1038, "offsetLabel": "opSSTOREsr", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21316,7 +22504,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 947, + "line": 1041, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21324,7 +22512,7 @@ { "CONST": "3", "setB": 1, - "line": 950, + "line": 1044, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21334,13 +22522,13 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 951, + "line": 1045, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 952, + "offset": 828, + "line": 1046, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21348,7 +22536,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 956, + "line": 1050, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21366,26 +22554,26 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 957, + "line": 1051, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setPC": 1, - "line": 958, + "line": 1052, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-8", "setGAS": 1, - "line": 959, + "line": 1053, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 960, + "offset": 828, + "line": 1054, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21393,7 +22581,7 @@ "inSP": "1", "CONST": "-2", "setSP": 1, - "line": 964, + "line": 1058, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21411,14 +22599,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 965, + "line": 1059, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-10", "setGAS": 1, - "line": 966, + "line": 1060, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21439,8 +22627,8 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 815, - "line": 967, + "offset": 828, + "line": 1061, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21448,7 +22636,7 @@ "inSP": "1", "CONST": "1", "setSP": 1, - "line": 968, + "line": 1062, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21466,19 +22654,19 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 969, + "line": 1063, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setPC": 1, - "line": 970, + "line": 1064, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 971, + "offset": 828, + "line": 1065, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21486,7 +22674,7 @@ "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 975, + "line": 1069, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21499,13 +22687,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 976, + "line": 1070, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 977, + "offset": 828, + "line": 1071, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21513,7 +22701,7 @@ "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 980, + "line": 1074, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21524,7 +22712,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 981, + "line": 1075, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21539,13 +22727,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 982, + "line": 1076, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 983, + "offset": 828, + "line": 1077, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21553,7 +22741,7 @@ "inGAS": "1", "CONST": "-2", "setGAS": 1, - "line": 986, + "line": 1080, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21566,13 +22754,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 987, + "line": 1081, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 988, + "offset": 828, + "line": 1082, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21580,13 +22768,13 @@ "inGAS": "1", "CONST": "-1", "setGAS": 1, - "line": 991, + "line": 1085, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 992, + "offset": 828, + "line": 1086, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21611,7 +22799,7 @@ }, "inFREE": "1", "setB": 1, - "line": 995, + "line": 1089, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21624,37 +22812,77 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 996, + "line": 1090, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inPC": "1", "inD": "1", "setPC": 1, - "line": 997, + "line": 1091, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 998, + "line": 1092, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 999, + "offset": 828, + "line": 1093, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "offset": 10, - "mWR": 1, - "line": 1002, - "offsetLabel": "SPw", - "useCTX": 1, + "inSP": "1", + "offset": 10, + "mWR": 1, + "line": 1096, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 9, + "mRD": 1, + "line": 1097, + "offsetLabel": "SPr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inPC": "1", + "offset": 36, + "mWR": 1, + "line": 1099, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "offset": 37, + "mWR": 1, + "line": 1100, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2040", + "setRR": 1, + "JMP": 1, + "offset": 1225, + "line": 1101, + "offsetLabel": "divARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21662,57 +22890,32 @@ "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 9, + "setA": 1, + "offset": 38, "mRD": 1, - "line": 1003, - "offsetLabel": "SPr", - "useCTX": 1, + "line": 1102, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", - "setA": 1, - "line": 1004, + "setC": 1, + "offset": 39, + "mRD": 1, + "line": 1103, + "offsetLabel": "arithRes2", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "inA": "1", "setSP": 1, - "line": 1005, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 1006, + "line": 1104, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21741,8 +22944,8 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 1899, - "line": 1007, + "offset": 2051, + "line": 1105, "offsetLabel": "opAuxPUSHC", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21761,7 +22964,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1008, + "line": 1106, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21772,7 +22975,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 1009, + "line": 1107, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21798,7 +23001,7 @@ }, "inFREE": "1", "setB": 1, - "line": 1010, + "line": 1108, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21811,27 +23014,27 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1011, + "line": 1109, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inPC": "1", "inD": "1", "setPC": 1, - "line": 1012, + "line": 1110, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1013, + "line": 1111, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1014, + "offset": 828, + "line": 1112, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -21839,7 +23042,7 @@ "CONST": "32", "inC": "-1", "setE": 1, - "line": 1017, + "line": 1115, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21856,7 +23059,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1018, + "line": 1116, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21880,27 +23083,27 @@ }, "inFREE": "1", "setA": 1, - "line": 1019, + "line": 1117, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1020, + "line": 1118, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inPC": "1", "inD": "1", "setPC": 1, - "line": 1021, + "line": 1119, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "inE": "-1", "setD": 1, - "line": 1022, + "line": 1120, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21918,7 +23121,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1023, + "line": 1121, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21942,7 +23145,7 @@ }, "inFREE": "1", "setB": 1, - "line": 1024, + "line": 1122, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21952,7 +23155,7 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 1025, + "line": 1123, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -21963,7 +23166,7 @@ "setSP": 1, "offset": 10, "mRD": 1, - "line": 1026, + "line": 1124, "offsetLabel": "SPw", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -21979,27 +23182,27 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1027, + "line": 1125, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1028, + "line": 1126, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1029, + "offset": 828, + "line": 1127, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setD": 1, - "line": 1032, + "line": 1130, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22010,7 +23213,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1033, + "line": 1131, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22019,22 +23222,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1034, + "offset": 2035, + "line": 1132, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1035, + "offset": 2030, + "line": 1133, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setD": 1, - "line": 1038, + "line": 1136, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22045,7 +23248,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1039, + "line": 1137, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22054,22 +23257,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1040, + "offset": 2035, + "line": 1138, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1041, + "offset": 2030, + "line": 1139, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "3", "setD": 1, - "line": 1044, + "line": 1142, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22080,7 +23283,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1045, + "line": 1143, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22089,22 +23292,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1046, + "offset": 2035, + "line": 1144, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1047, + "offset": 2030, + "line": 1145, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "4", "setD": 1, - "line": 1050, + "line": 1148, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22115,7 +23318,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1051, + "line": 1149, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22124,22 +23327,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1052, + "offset": 2035, + "line": 1150, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1053, + "offset": 2030, + "line": 1151, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "5", "setD": 1, - "line": 1056, + "line": 1154, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22150,7 +23353,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1057, + "line": 1155, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22159,22 +23362,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1058, + "offset": 2035, + "line": 1156, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1059, + "offset": 2030, + "line": 1157, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "6", "setD": 1, - "line": 1062, + "line": 1160, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22185,7 +23388,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1063, + "line": 1161, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22194,22 +23397,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1064, + "offset": 2035, + "line": 1162, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1065, + "offset": 2030, + "line": 1163, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "7", "setD": 1, - "line": 1068, + "line": 1166, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22220,7 +23423,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1069, + "line": 1167, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22229,22 +23432,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1070, + "offset": 2035, + "line": 1168, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1071, + "offset": 2030, + "line": 1169, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "8", "setD": 1, - "line": 1074, + "line": 1172, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22255,7 +23458,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1075, + "line": 1173, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22264,22 +23467,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1076, + "offset": 2035, + "line": 1174, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1077, + "offset": 2030, + "line": 1175, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "9", "setD": 1, - "line": 1080, + "line": 1178, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22290,7 +23493,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1081, + "line": 1179, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22299,22 +23502,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1082, + "offset": 2035, + "line": 1180, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1083, + "offset": 2030, + "line": 1181, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "10", "setD": 1, - "line": 1086, + "line": 1184, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22325,7 +23528,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1087, + "line": 1185, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22334,22 +23537,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1088, + "offset": 2035, + "line": 1186, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1089, + "offset": 2030, + "line": 1187, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "11", "setD": 1, - "line": 1092, + "line": 1190, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22360,7 +23563,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1093, + "line": 1191, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22369,22 +23572,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1094, + "offset": 2035, + "line": 1192, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1095, + "offset": 2030, + "line": 1193, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "12", "setD": 1, - "line": 1098, + "line": 1196, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22395,7 +23598,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1099, + "line": 1197, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22404,22 +23607,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1100, + "offset": 2035, + "line": 1198, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1101, + "offset": 2030, + "line": 1199, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "13", "setD": 1, - "line": 1104, + "line": 1202, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22430,7 +23633,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1105, + "line": 1203, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22439,22 +23642,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1106, + "offset": 2035, + "line": 1204, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1107, + "offset": 2030, + "line": 1205, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "14", "setD": 1, - "line": 1110, + "line": 1208, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22465,7 +23668,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1111, + "line": 1209, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22474,22 +23677,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1112, + "offset": 2035, + "line": 1210, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1113, + "offset": 2030, + "line": 1211, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "15", "setD": 1, - "line": 1116, + "line": 1214, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22500,7 +23703,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1117, + "line": 1215, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22509,22 +23712,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1118, + "offset": 2035, + "line": 1216, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1119, + "offset": 2030, + "line": 1217, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "16", "setD": 1, - "line": 1122, + "line": 1220, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22535,7 +23738,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1123, + "line": 1221, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22544,22 +23747,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1124, + "offset": 2035, + "line": 1222, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1125, + "offset": 2030, + "line": 1223, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "17", "setD": 1, - "line": 1128, + "line": 1226, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22570,7 +23773,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1129, + "line": 1227, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22579,22 +23782,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1130, + "offset": 2035, + "line": 1228, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1131, + "offset": 2030, + "line": 1229, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "18", "setD": 1, - "line": 1134, + "line": 1232, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22605,7 +23808,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1135, + "line": 1233, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22614,22 +23817,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1136, + "offset": 2035, + "line": 1234, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1137, + "offset": 2030, + "line": 1235, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "19", "setD": 1, - "line": 1140, + "line": 1238, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22640,7 +23843,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1141, + "line": 1239, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22649,22 +23852,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1142, + "offset": 2035, + "line": 1240, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1143, + "offset": 2030, + "line": 1241, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "20", "setD": 1, - "line": 1146, + "line": 1244, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22675,7 +23878,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1147, + "line": 1245, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22684,22 +23887,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1148, + "offset": 2035, + "line": 1246, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1149, + "offset": 2030, + "line": 1247, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "21", "setD": 1, - "line": 1152, + "line": 1250, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22710,7 +23913,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1153, + "line": 1251, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22719,22 +23922,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1154, + "offset": 2035, + "line": 1252, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1155, + "offset": 2030, + "line": 1253, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "22", "setD": 1, - "line": 1158, + "line": 1256, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22745,7 +23948,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1159, + "line": 1257, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22754,22 +23957,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1160, + "offset": 2035, + "line": 1258, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1161, + "offset": 2030, + "line": 1259, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "23", "setD": 1, - "line": 1164, + "line": 1262, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22780,7 +23983,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1165, + "line": 1263, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22789,22 +23992,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1166, + "offset": 2035, + "line": 1264, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1167, + "offset": 2030, + "line": 1265, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "24", "setD": 1, - "line": 1170, + "line": 1268, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22815,7 +24018,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1171, + "line": 1269, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22824,22 +24027,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1172, + "offset": 2035, + "line": 1270, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1173, + "offset": 2030, + "line": 1271, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "25", "setD": 1, - "line": 1176, + "line": 1274, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22850,7 +24053,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1177, + "line": 1275, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22859,22 +24062,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1178, + "offset": 2035, + "line": 1276, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1179, + "offset": 2030, + "line": 1277, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "26", "setD": 1, - "line": 1182, + "line": 1280, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22885,7 +24088,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1183, + "line": 1281, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22894,22 +24097,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1184, + "offset": 2035, + "line": 1282, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1185, + "offset": 2030, + "line": 1283, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "27", "setD": 1, - "line": 1188, + "line": 1286, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22920,7 +24123,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1189, + "line": 1287, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22929,22 +24132,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1190, + "offset": 2035, + "line": 1288, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1191, + "offset": 2030, + "line": 1289, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "28", "setD": 1, - "line": 1194, + "line": 1292, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22955,7 +24158,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1195, + "line": 1293, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22964,22 +24167,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1196, + "offset": 2035, + "line": 1294, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1197, + "offset": 2030, + "line": 1295, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "29", "setD": 1, - "line": 1200, + "line": 1298, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -22990,7 +24193,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1201, + "line": 1299, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -22999,22 +24202,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1202, + "offset": 2035, + "line": 1300, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1203, + "offset": 2030, + "line": 1301, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "30", "setD": 1, - "line": 1206, + "line": 1304, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23025,7 +24228,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1207, + "line": 1305, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -23034,22 +24237,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1208, + "offset": 2035, + "line": 1306, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1209, + "offset": 2030, + "line": 1307, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "31", "setD": 1, - "line": 1212, + "line": 1310, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23060,7 +24263,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1213, + "line": 1311, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -23069,22 +24272,22 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1214, + "offset": 2035, + "line": 1312, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1215, + "offset": 2030, + "line": 1313, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "32", "setD": 1, - "line": 1218, + "line": 1316, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23095,7 +24298,7 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 1219, + "line": 1317, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -23104,15 +24307,15 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1886, - "line": 1220, + "offset": 2035, + "line": 1318, "offsetLabel": "opAuxPUSHB", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1881, - "line": 1221, + "offset": 2030, + "line": 1319, "offsetLabel": "opAuxPUSHA", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23120,7 +24323,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1224, + "line": 1322, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23137,7 +24340,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1225, + "line": 1323, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23150,20 +24353,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1226, + "line": 1324, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1227, + "line": 1325, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1228, + "offset": 828, + "line": 1326, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23171,7 +24374,7 @@ "inSP": "1", "CONST": "-2", "setSP": 1, - "line": 1231, + "line": 1329, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23189,14 +24392,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1232, + "line": 1330, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "2", "setSP": 1, - "line": 1233, + "line": 1331, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23209,20 +24412,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1234, + "line": 1332, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1235, + "line": 1333, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1236, + "offset": 828, + "line": 1334, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23230,7 +24433,7 @@ "inSP": "1", "CONST": "-3", "setSP": 1, - "line": 1239, + "line": 1337, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23248,14 +24451,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1240, + "line": 1338, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "3", "setSP": 1, - "line": 1241, + "line": 1339, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23268,20 +24471,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1242, + "line": 1340, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1243, + "line": 1341, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1244, + "offset": 828, + "line": 1342, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23289,7 +24492,7 @@ "inSP": "1", "CONST": "-4", "setSP": 1, - "line": 1247, + "line": 1345, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23307,14 +24510,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1248, + "line": 1346, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "4", "setSP": 1, - "line": 1249, + "line": 1347, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23327,20 +24530,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1250, + "line": 1348, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1251, + "line": 1349, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1252, + "offset": 828, + "line": 1350, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23348,7 +24551,7 @@ "inSP": "1", "CONST": "-5", "setSP": 1, - "line": 1255, + "line": 1353, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23366,14 +24569,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1256, + "line": 1354, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "5", "setSP": 1, - "line": 1257, + "line": 1355, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23386,20 +24589,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1258, + "line": 1356, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1259, + "line": 1357, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1260, + "offset": 828, + "line": 1358, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23407,7 +24610,7 @@ "inSP": "1", "CONST": "-6", "setSP": 1, - "line": 1263, + "line": 1361, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23425,14 +24628,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1264, + "line": 1362, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "6", "setSP": 1, - "line": 1265, + "line": 1363, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23445,20 +24648,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1266, + "line": 1364, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1267, + "line": 1365, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1268, + "offset": 828, + "line": 1366, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23466,7 +24669,7 @@ "inSP": "1", "CONST": "-7", "setSP": 1, - "line": 1271, + "line": 1369, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23484,14 +24687,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1272, + "line": 1370, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "7", "setSP": 1, - "line": 1273, + "line": 1371, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23504,20 +24707,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1274, + "line": 1372, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1275, + "line": 1373, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1276, + "offset": 828, + "line": 1374, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23525,7 +24728,7 @@ "inSP": "1", "CONST": "-8", "setSP": 1, - "line": 1279, + "line": 1377, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23543,14 +24746,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1280, + "line": 1378, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "8", "setSP": 1, - "line": 1281, + "line": 1379, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23563,20 +24766,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1282, + "line": 1380, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1283, + "line": 1381, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1284, + "offset": 828, + "line": 1382, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23584,7 +24787,7 @@ "inSP": "1", "CONST": "-9", "setSP": 1, - "line": 1287, + "line": 1385, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23602,14 +24805,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1288, + "line": 1386, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "9", "setSP": 1, - "line": 1289, + "line": 1387, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23622,20 +24825,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1290, + "line": 1388, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1291, + "line": 1389, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1292, + "offset": 828, + "line": 1390, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23643,7 +24846,7 @@ "inSP": "1", "CONST": "-10", "setSP": 1, - "line": 1295, + "line": 1393, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23661,14 +24864,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1296, + "line": 1394, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "10", "setSP": 1, - "line": 1297, + "line": 1395, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23681,20 +24884,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1298, + "line": 1396, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1299, + "line": 1397, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1300, + "offset": 828, + "line": 1398, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23702,7 +24905,7 @@ "inSP": "1", "CONST": "-11", "setSP": 1, - "line": 1303, + "line": 1401, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23720,14 +24923,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1304, + "line": 1402, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "11", "setSP": 1, - "line": 1305, + "line": 1403, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23740,20 +24943,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1306, + "line": 1404, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1307, + "line": 1405, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1308, + "offset": 828, + "line": 1406, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23761,7 +24964,7 @@ "inSP": "1", "CONST": "-12", "setSP": 1, - "line": 1311, + "line": 1409, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23779,14 +24982,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1312, + "line": 1410, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "12", "setSP": 1, - "line": 1313, + "line": 1411, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23799,20 +25002,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1314, + "line": 1412, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1315, + "line": 1413, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1316, + "offset": 828, + "line": 1414, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23820,7 +25023,7 @@ "inSP": "1", "CONST": "-13", "setSP": 1, - "line": 1319, + "line": 1417, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23838,14 +25041,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1320, + "line": 1418, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "13", "setSP": 1, - "line": 1321, + "line": 1419, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23858,20 +25061,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1322, + "line": 1420, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1323, + "line": 1421, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1324, + "offset": 828, + "line": 1422, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23879,7 +25082,7 @@ "inSP": "1", "CONST": "-14", "setSP": 1, - "line": 1327, + "line": 1425, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23897,14 +25100,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1328, + "line": 1426, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "14", "setSP": 1, - "line": 1329, + "line": 1427, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23917,20 +25120,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1330, + "line": 1428, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1331, + "line": 1429, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1332, + "offset": 828, + "line": 1430, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23938,7 +25141,7 @@ "inSP": "1", "CONST": "-15", "setSP": 1, - "line": 1335, + "line": 1433, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23956,14 +25159,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1336, + "line": 1434, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "15", "setSP": 1, - "line": 1337, + "line": 1435, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -23976,20 +25179,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1338, + "line": 1436, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1339, + "line": 1437, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1340, + "offset": 828, + "line": 1438, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -23997,7 +25200,7 @@ "inSP": "1", "CONST": "-16", "setSP": 1, - "line": 1343, + "line": 1441, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24015,14 +25218,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1344, + "line": 1442, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "16", "setSP": 1, - "line": 1345, + "line": 1443, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24035,20 +25238,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1346, + "line": 1444, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1347, + "line": 1445, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1348, + "offset": 828, + "line": 1446, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24056,7 +25259,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1351, + "line": 1449, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24074,7 +25277,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1352, + "line": 1450, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24092,7 +25295,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1353, + "line": 1451, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24105,7 +25308,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1354, + "line": 1452, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24118,20 +25321,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1355, + "line": 1453, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1356, + "line": 1454, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1357, + "offset": 828, + "line": 1455, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24139,7 +25342,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1360, + "line": 1458, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24157,14 +25360,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1361, + "line": 1459, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-2", "setSP": 1, - "line": 1362, + "line": 1460, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24182,7 +25385,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1363, + "line": 1461, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24196,14 +25399,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1364, + "line": 1462, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "2", "setSP": 1, - "line": 1365, + "line": 1463, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24216,20 +25419,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1366, + "line": 1464, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1367, + "line": 1465, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1368, + "offset": 828, + "line": 1466, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24237,7 +25440,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1371, + "line": 1469, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24255,14 +25458,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1372, + "line": 1470, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-3", "setSP": 1, - "line": 1373, + "line": 1471, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24280,7 +25483,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1374, + "line": 1472, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24294,14 +25497,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1375, + "line": 1473, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "3", "setSP": 1, - "line": 1376, + "line": 1474, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24314,20 +25517,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1377, + "line": 1475, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1378, + "line": 1476, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1379, + "offset": 828, + "line": 1477, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24335,7 +25538,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1382, + "line": 1480, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24353,14 +25556,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1383, + "line": 1481, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-4", "setSP": 1, - "line": 1384, + "line": 1482, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24378,7 +25581,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1385, + "line": 1483, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24392,14 +25595,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1386, + "line": 1484, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "4", "setSP": 1, - "line": 1387, + "line": 1485, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24412,20 +25615,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1388, + "line": 1486, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1389, + "line": 1487, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1390, + "offset": 828, + "line": 1488, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24433,7 +25636,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1393, + "line": 1491, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24451,14 +25654,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1394, + "line": 1492, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-5", "setSP": 1, - "line": 1395, + "line": 1493, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24476,7 +25679,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1396, + "line": 1494, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24490,14 +25693,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1397, + "line": 1495, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "5", "setSP": 1, - "line": 1398, + "line": 1496, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24510,20 +25713,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1399, + "line": 1497, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1400, + "line": 1498, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1401, + "offset": 828, + "line": 1499, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24531,7 +25734,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1404, + "line": 1502, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24549,14 +25752,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1405, + "line": 1503, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-6", "setSP": 1, - "line": 1406, + "line": 1504, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24574,7 +25777,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1407, + "line": 1505, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24588,14 +25791,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1408, + "line": 1506, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "6", "setSP": 1, - "line": 1409, + "line": 1507, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24608,20 +25811,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1410, + "line": 1508, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1411, + "line": 1509, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1412, + "offset": 828, + "line": 1510, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24629,7 +25832,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1415, + "line": 1513, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24647,14 +25850,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1416, + "line": 1514, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-7", "setSP": 1, - "line": 1417, + "line": 1515, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24672,7 +25875,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1418, + "line": 1516, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24686,14 +25889,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1419, + "line": 1517, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "7", "setSP": 1, - "line": 1420, + "line": 1518, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24706,20 +25909,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1421, + "line": 1519, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1422, + "line": 1520, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1423, + "offset": 828, + "line": 1521, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24727,7 +25930,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1426, + "line": 1524, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24745,14 +25948,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1427, + "line": 1525, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-8", "setSP": 1, - "line": 1428, + "line": 1526, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24770,7 +25973,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1429, + "line": 1527, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24784,14 +25987,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1430, + "line": 1528, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "8", "setSP": 1, - "line": 1431, + "line": 1529, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24804,20 +26007,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1432, + "line": 1530, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1433, + "line": 1531, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1434, + "offset": 828, + "line": 1532, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24825,7 +26028,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1437, + "line": 1535, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24843,14 +26046,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1438, + "line": 1536, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-9", "setSP": 1, - "line": 1439, + "line": 1537, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24868,7 +26071,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1440, + "line": 1538, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24882,14 +26085,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1441, + "line": 1539, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "9", "setSP": 1, - "line": 1442, + "line": 1540, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24902,20 +26105,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1443, + "line": 1541, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1444, + "line": 1542, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1445, + "offset": 828, + "line": 1543, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -24923,7 +26126,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1448, + "line": 1546, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24941,14 +26144,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1449, + "line": 1547, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-10", "setSP": 1, - "line": 1450, + "line": 1548, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24966,7 +26169,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1451, + "line": 1549, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -24980,14 +26183,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1452, + "line": 1550, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "10", "setSP": 1, - "line": 1453, + "line": 1551, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25000,20 +26203,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1454, + "line": 1552, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1455, + "line": 1553, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1456, + "offset": 828, + "line": 1554, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25021,7 +26224,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1459, + "line": 1557, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25039,14 +26242,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1460, + "line": 1558, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-11", "setSP": 1, - "line": 1461, + "line": 1559, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25064,7 +26267,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1462, + "line": 1560, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25078,14 +26281,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1463, + "line": 1561, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "11", "setSP": 1, - "line": 1464, + "line": 1562, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25098,20 +26301,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1465, + "line": 1563, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1466, + "line": 1564, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1467, + "offset": 828, + "line": 1565, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25119,7 +26322,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1470, + "line": 1568, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25137,14 +26340,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1471, + "line": 1569, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-12", "setSP": 1, - "line": 1472, + "line": 1570, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25162,7 +26365,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1473, + "line": 1571, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25176,14 +26379,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1474, + "line": 1572, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "12", "setSP": 1, - "line": 1475, + "line": 1573, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25196,20 +26399,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1476, + "line": 1574, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1477, + "line": 1575, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1478, + "offset": 828, + "line": 1576, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25217,7 +26420,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1481, + "line": 1579, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25235,14 +26438,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1482, + "line": 1580, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-13", "setSP": 1, - "line": 1483, + "line": 1581, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25260,7 +26463,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1484, + "line": 1582, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25274,14 +26477,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1485, + "line": 1583, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "13", "setSP": 1, - "line": 1486, + "line": 1584, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25294,20 +26497,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1487, + "line": 1585, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1488, + "line": 1586, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1489, + "offset": 828, + "line": 1587, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25315,7 +26518,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1492, + "line": 1590, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25333,14 +26536,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1493, + "line": 1591, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-14", "setSP": 1, - "line": 1494, + "line": 1592, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25358,7 +26561,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1495, + "line": 1593, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25372,14 +26575,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1496, + "line": 1594, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "14", "setSP": 1, - "line": 1497, + "line": 1595, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25392,20 +26595,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1498, + "line": 1596, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1499, + "line": 1597, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1500, + "offset": 828, + "line": 1598, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25413,7 +26616,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1503, + "line": 1601, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25431,14 +26634,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1504, + "line": 1602, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-15", "setSP": 1, - "line": 1505, + "line": 1603, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25456,7 +26659,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1506, + "line": 1604, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25470,14 +26673,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1507, + "line": 1605, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "15", "setSP": 1, - "line": 1508, + "line": 1606, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25490,20 +26693,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1509, + "line": 1607, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1510, + "line": 1608, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1511, + "offset": 828, + "line": 1609, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25511,7 +26714,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1514, + "line": 1612, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25529,14 +26732,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1515, + "line": 1613, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-16", "setSP": 1, - "line": 1516, + "line": 1614, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25554,7 +26757,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1517, + "line": 1615, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25568,14 +26771,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1518, + "line": 1616, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "16", "setSP": 1, - "line": 1519, + "line": 1617, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25588,20 +26791,20 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1520, + "line": 1618, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1521, + "line": 1619, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1522, + "offset": 828, + "line": 1620, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25613,7 +26816,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1527, + "line": 1625, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25622,8 +26825,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1528, + "offset": 2952, + "line": 1626, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25631,7 +26834,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1529, + "line": 1627, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25649,7 +26852,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1530, + "line": 1628, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25667,7 +26870,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1531, + "line": 1629, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25675,7 +26878,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1532, + "line": 1630, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25684,7 +26887,7 @@ "CONST": "0", "offset": 32, "mWR": 1, - "line": 1533, + "line": 1631, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25693,14 +26896,14 @@ "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1534, + "line": 1632, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inC": "-8", "setGAS": 1, - "line": 1535, + "line": 1633, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25711,7 +26914,7 @@ "setB": 1, "offset": 30, "mRD": 1, - "line": 1536, + "line": 1634, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25721,15 +26924,15 @@ "CONST": "1", "offset": 30, "mWR": 1, - "line": 1537, + "line": 1635, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1538, + "offset": 2489, + "line": 1636, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25741,7 +26944,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1541, + "line": 1639, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25750,8 +26953,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1542, + "offset": 2952, + "line": 1640, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25759,7 +26962,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1543, + "line": 1641, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25777,7 +26980,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1544, + "line": 1642, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25795,7 +26998,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1545, + "line": 1643, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25803,7 +27006,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1546, + "line": 1644, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25812,7 +27015,7 @@ "CONST": "1", "offset": 32, "mWR": 1, - "line": 1547, + "line": 1645, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25821,14 +27024,14 @@ "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1548, + "line": 1646, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inC": "-8", "setGAS": 1, - "line": 1549, + "line": 1647, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25839,7 +27042,7 @@ "setB": 1, "offset": 30, "mRD": 1, - "line": 1550, + "line": 1648, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25849,15 +27052,15 @@ "CONST": "1", "offset": 30, "mWR": 1, - "line": 1551, + "line": 1649, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1552, + "offset": 2489, + "line": 1650, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25869,7 +27072,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1555, + "line": 1653, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25878,8 +27081,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1556, + "offset": 2952, + "line": 1654, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25887,7 +27090,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1557, + "line": 1655, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25905,7 +27108,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1558, + "line": 1656, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25923,7 +27126,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1559, + "line": 1657, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25931,7 +27134,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1560, + "line": 1658, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25940,7 +27143,7 @@ "CONST": "2", "offset": 32, "mWR": 1, - "line": 1561, + "line": 1659, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25949,14 +27152,14 @@ "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1562, + "line": 1660, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inC": "-8", "setGAS": 1, - "line": 1563, + "line": 1661, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -25967,7 +27170,7 @@ "setB": 1, "offset": 30, "mRD": 1, - "line": 1564, + "line": 1662, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -25977,15 +27180,15 @@ "CONST": "1", "offset": 30, "mWR": 1, - "line": 1565, + "line": 1663, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1566, + "offset": 2489, + "line": 1664, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -25997,7 +27200,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1569, + "line": 1667, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26006,8 +27209,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1570, + "offset": 2952, + "line": 1668, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26015,7 +27218,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1571, + "line": 1669, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26033,7 +27236,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1572, + "line": 1670, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26051,7 +27254,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1573, + "line": 1671, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26059,7 +27262,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1574, + "line": 1672, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26068,7 +27271,7 @@ "CONST": "3", "offset": 32, "mWR": 1, - "line": 1575, + "line": 1673, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26077,14 +27280,14 @@ "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1576, + "line": 1674, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inC": "-8", "setGAS": 1, - "line": 1577, + "line": 1675, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26095,7 +27298,7 @@ "setB": 1, "offset": 30, "mRD": 1, - "line": 1578, + "line": 1676, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26105,15 +27308,15 @@ "CONST": "1", "offset": 30, "mWR": 1, - "line": 1579, + "line": 1677, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1580, + "offset": 2489, + "line": 1678, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26125,7 +27328,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1583, + "line": 1681, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26134,8 +27337,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1584, + "offset": 2952, + "line": 1682, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26143,7 +27346,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1585, + "line": 1683, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26161,7 +27364,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1586, + "line": 1684, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26179,7 +27382,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1587, + "line": 1685, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26187,7 +27390,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1588, + "line": 1686, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26196,7 +27399,7 @@ "CONST": "4", "offset": 32, "mWR": 1, - "line": 1589, + "line": 1687, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26205,14 +27408,14 @@ "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1590, + "line": 1688, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inC": "-8", "setGAS": 1, - "line": 1591, + "line": 1689, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26223,7 +27426,7 @@ "setB": 1, "offset": 30, "mRD": 1, - "line": 1592, + "line": 1690, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26233,15 +27436,15 @@ "CONST": "1", "offset": 30, "mWR": 1, - "line": 1593, + "line": 1691, "offsetLabel": "nextFreeLogIndex", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1594, + "offset": 2489, + "line": 1692, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26249,8 +27452,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 2345, - "line": 1597, + "offset": 2497, + "line": 1695, "offsetLabel": "opSaveTopicsInit", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26258,17 +27461,17 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 2343, - "line": 1598, + "offset": 2495, + "line": 1696, "offsetLabel": "opLOGFinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2340", + "CONST": "2492", "setRR": 1, "JMP": 1, - "offset": 1060, - "line": 1599, + "offset": 1081, + "line": 1697, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26292,29 +27495,29 @@ ] }, "inFREE": "1", - "line": 1600, + "line": 1698, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 1601, + "line": 1699, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2337, - "line": 1602, + "offset": 2489, + "line": 1700, "offsetLabel": "opLOGLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2344", + "CONST": "2496", "setRR": 1, "JMP": 1, - "offset": 1079, - "line": 1605, + "offset": 1111, + "line": 1703, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26338,7 +27541,7 @@ ] }, "inFREE": "1", - "line": 1606, + "line": 1704, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26349,7 +27552,7 @@ "setA": 1, "offset": 32, "mRD": 1, - "line": 1609, + "line": 1707, "offsetLabel": "numTopics", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26358,8 +27561,8 @@ "inA": "1", "CONST": "-1", "JMPC": 1, - "offset": 2353, - "line": 1612, + "offset": 2505, + "line": 1710, "offsetLabel": "opLOGend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26367,14 +27570,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1613, + "line": 1711, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-375", "setGAS": 1, - "line": 1614, + "line": 1712, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26392,7 +27595,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1615, + "line": 1713, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26415,20 +27618,20 @@ ] }, "inFREE": "1", - "line": 1616, + "line": 1714, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "CONST": "-1", "setA": 1, - "line": 1617, + "line": 1715, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2346, - "line": 1618, + "offset": 2498, + "line": 1716, "offsetLabel": "opSaveTopicsLoop", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26440,7 +27643,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 1621, + "line": 1719, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26453,7 +27656,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1622, + "line": 1720, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26462,15 +27665,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 1623, + "offset": 1925, + "line": 1721, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1624, + "offset": 828, + "line": 1722, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26482,7 +27685,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1629, + "line": 1727, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26491,8 +27694,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1630, + "offset": 2952, + "line": 1728, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26500,7 +27703,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1631, + "line": 1729, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26518,14 +27721,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1632, + "line": 1730, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1633, + "line": 1731, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26545,14 +27748,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1634, + "line": 1732, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "offset": 28, "mWR": 1, - "line": 1635, + "line": 1733, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26572,14 +27775,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1636, + "line": 1734, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "offset": 27, "mWR": 1, - "line": 1637, + "line": 1735, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26588,7 +27791,7 @@ "inCTX": "1", "offset": 23, "mWR": 1, - "line": 1638, + "line": 1736, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26601,7 +27804,7 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 1639, + "line": 1737, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26609,14 +27812,14 @@ { "inGAS": "1", "setC": 1, - "line": 1640, + "line": 1738, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "offset": 30, "mWR": 1, - "line": 1641, + "line": 1739, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26625,7 +27828,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 1642, + "line": 1740, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26638,7 +27841,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1644, + "line": 1742, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26649,7 +27852,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1645, + "line": 1743, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26658,7 +27861,7 @@ "CONST": "1", "offset": 12, "mWR": 1, - "line": 1646, + "line": 1744, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26671,7 +27874,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1647, + "line": 1745, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26680,7 +27883,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 1648, + "line": 1746, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26689,7 +27892,7 @@ "inB": "1", "offset": 14, "mWR": 1, - "line": 1649, + "line": 1747, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26698,7 +27901,7 @@ "inB": "1", "offset": 15, "mWR": 1, - "line": 1650, + "line": 1748, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26706,34 +27909,34 @@ { "inC": "1", "setGAS": 1, - "line": 1652, + "line": 1750, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2380", + "CONST": "2532", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 1653, + "offset": 930, + "line": 1751, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setA": 1, - "line": 1654, + "line": 1752, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setB": 1, - "line": 1655, + "line": 1753, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1656, + "line": 1754, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -26743,24 +27946,24 @@ "inFREE": "1", "setB": 1, "sRD": 1, - "line": 1657, + "line": 1755, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 4, "mWR": 1, - "line": 1658, + "line": 1756, "offsetLabel": "txNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2386", + "CONST": "2538", "setRR": 1, "JMP": 1, - "offset": 971, - "line": 1659, + "offset": 992, + "line": 1757, "offsetLabel": "getLenBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26768,7 +27971,7 @@ "inA": "1", "offset": 5, "mWR": 1, - "line": 1660, + "line": 1758, "offsetLabel": "lengthNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26781,7 +27984,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 1661, + "line": 1759, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26790,7 +27993,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 1662, + "line": 1760, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26803,7 +28006,7 @@ "setA": 1, "offset": 26, "mRD": 1, - "line": 1663, + "line": 1761, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26812,15 +28015,15 @@ "inA": "1", "offset": 3, "mWR": 1, - "line": 1664, + "line": 1762, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 1668, + "offset": 702, + "line": 1766, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26828,14 +28031,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1681, + "line": 1779, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 1682, + "line": 1780, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26855,14 +28058,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1683, + "line": 1781, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 24, "mWR": 1, - "line": 1684, + "line": 1782, "offsetLabel": "gasCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26882,14 +28085,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1685, + "line": 1783, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 25, "mWR": 1, - "line": 1686, + "line": 1784, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26909,14 +28112,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1687, + "line": 1785, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1688, + "line": 1786, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26929,7 +28132,7 @@ "setB": 1, "offset": 33, "mRD": 1, - "line": 1689, + "line": 1787, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26938,8 +28141,8 @@ "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 2403, - "line": 1690, + "offset": 2555, + "line": 1788, "offsetLabel": "opCALL2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26947,8 +28150,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 1691, + "offset": 2952, + "line": 1789, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -26967,14 +28170,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1694, + "line": 1792, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 28, "mWR": 1, - "line": 1695, + "line": 1793, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -26994,14 +28197,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1696, + "line": 1794, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1697, + "line": 1795, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27010,7 +28213,7 @@ "inA": "1", "inB": "1", "setE": 1, - "line": 1698, + "line": 1796, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27028,14 +28231,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1699, + "line": 1797, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1700, + "line": 1798, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27055,14 +28258,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1701, + "line": 1799, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1702, + "line": 1800, "offsetLabel": "retLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27071,7 +28274,7 @@ "inA": "1", "inB": "1", "setD": 1, - "line": 1703, + "line": 1801, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27092,15 +28295,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 2415, - "line": 1704, + "offset": 2567, + "line": 1802, "offsetLabel": "opCALL3", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 1705, + "line": 1803, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27111,7 +28314,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1708, + "line": 1806, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27120,17 +28323,17 @@ "inE": "1", "inB": "-1", "JMPC": 1, - "offset": 2418, - "line": 1709, + "offset": 2570, + "line": 1807, "offsetLabel": "opCALL4", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2418", + "CONST": "2570", "setRR": 1, "JMP": 1, - "offset": 1149, - "line": 1710, + "offset": 1181, + "line": 1808, "offsetLabel": "saveMem", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -27142,7 +28345,7 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 1713, + "line": 1811, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27155,7 +28358,7 @@ "setD": 1, "offset": 15, "mRD": 1, - "line": 1714, + "line": 1812, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27164,7 +28367,7 @@ "inSP": "1", "offset": 30, "mWR": 1, - "line": 1715, + "line": 1813, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27173,7 +28376,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 1716, + "line": 1814, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27186,7 +28389,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1718, + "line": 1816, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27197,7 +28400,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1719, + "line": 1817, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27206,7 +28409,7 @@ "inCTX": "1", "offset": 22, "mWR": 1, - "line": 1720, + "line": 1818, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27219,7 +28422,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1721, + "line": 1819, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27228,7 +28431,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 1722, + "line": 1820, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27237,7 +28440,7 @@ "inB": "1", "offset": 14, "mWR": 1, - "line": 1723, + "line": 1821, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27246,7 +28449,7 @@ "inD": "1", "offset": 15, "mWR": 1, - "line": 1724, + "line": 1822, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27267,7 +28470,7 @@ ] }, "inFREE": "1", - "line": 1725, + "line": 1823, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27278,7 +28481,7 @@ "setA": 1, "offset": 25, "mRD": 1, - "line": 1728, + "line": 1826, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27287,7 +28490,7 @@ "inA": "1", "offset": 1, "mWR": 1, - "line": 1729, + "line": 1827, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27296,7 +28499,7 @@ "inA": "1", "offset": 2, "mWR": 1, - "line": 1730, + "line": 1828, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27318,7 +28521,7 @@ }, "inFREE": "1", "setD": 1, - "line": 1731, + "line": 1829, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27326,7 +28529,7 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 1733, + "line": 1831, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27337,7 +28540,7 @@ "setA": 1, "offset": 26, "mRD": 1, - "line": 1734, + "line": 1832, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27346,7 +28549,7 @@ "inA": "1", "offset": 3, "mWR": 1, - "line": 1735, + "line": 1833, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27369,8 +28572,8 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 2439, - "line": 1736, + "offset": 2591, + "line": 1834, "offsetLabel": "opCALLend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -27378,15 +28581,15 @@ "inGAS": "1", "CONST": "-9000", "setGAS": 1, - "line": 1737, + "line": 1835, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2440", + "CONST": "2592", "setRR": 1, "JMP": 1, - "offset": 1135, - "line": 1743, + "offset": 1167, + "line": 1841, "offsetLabel": "computeGasSendCall", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -27398,7 +28601,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1744, + "line": 1842, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27408,7 +28611,7 @@ "inA": "-1", "offset": 36, "mWR": 1, - "line": 1745, + "line": 1843, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27421,7 +28624,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 1746, + "line": 1844, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27429,7 +28632,7 @@ { "inA": "1", "setGAS": 1, - "line": 1747, + "line": 1845, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27440,7 +28643,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 1748, + "line": 1846, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27449,7 +28652,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 1749, + "line": 1847, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27462,7 +28665,7 @@ "setE": 1, "offset": 28, "mRD": 1, - "line": 1750, + "line": 1848, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27475,24 +28678,24 @@ "setC": 1, "offset": 27, "mRD": 1, - "line": 1751, + "line": 1849, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2449", + "CONST": "2601", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 1752, + "offset": 930, + "line": 1850, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 1753, + "offset": 702, + "line": 1851, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -27500,14 +28703,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1758, + "line": 1856, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 1759, + "line": 1857, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27527,14 +28730,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1760, + "line": 1858, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 24, "mWR": 1, - "line": 1761, + "line": 1859, "offsetLabel": "gasCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27554,14 +28757,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1762, + "line": 1860, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 25, "mWR": 1, - "line": 1763, + "line": 1861, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27581,14 +28784,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1764, + "line": 1862, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1765, + "line": 1863, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27608,14 +28811,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1766, + "line": 1864, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 28, "mWR": 1, - "line": 1767, + "line": 1865, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27635,14 +28838,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1768, + "line": 1866, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1769, + "line": 1867, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27651,7 +28854,7 @@ "inA": "1", "inB": "1", "setE": 1, - "line": 1770, + "line": 1868, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27669,14 +28872,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1771, + "line": 1869, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1772, + "line": 1870, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27696,14 +28899,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1773, + "line": 1871, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1774, + "line": 1872, "offsetLabel": "retLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27712,7 +28915,7 @@ "inA": "1", "inB": "1", "setD": 1, - "line": 1775, + "line": 1873, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27733,15 +28936,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 2470, - "line": 1776, + "offset": 2622, + "line": 1874, "offsetLabel": "opCALLCODE2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 1777, + "line": 1875, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27752,7 +28955,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1780, + "line": 1878, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27761,17 +28964,17 @@ "inE": "1", "inB": "-1", "JMPC": 1, - "offset": 2473, - "line": 1781, + "offset": 2625, + "line": 1879, "offsetLabel": "opCALLCODE3", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2473", + "CONST": "2625", "setRR": 1, "JMP": 1, - "offset": 1149, - "line": 1782, + "offset": 1181, + "line": 1880, "offsetLabel": "saveMem", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -27783,7 +28986,7 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 1785, + "line": 1883, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27796,7 +28999,7 @@ "setC": 1, "offset": 14, "mRD": 1, - "line": 1786, + "line": 1884, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27809,7 +29012,7 @@ "setD": 1, "offset": 15, "mRD": 1, - "line": 1787, + "line": 1885, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27822,7 +29025,7 @@ "setE": 1, "offset": 2, "mRD": 1, - "line": 1788, + "line": 1886, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27831,7 +29034,7 @@ "inSP": "1", "offset": 30, "mWR": 1, - "line": 1789, + "line": 1887, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27840,7 +29043,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 1790, + "line": 1888, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27853,7 +29056,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1792, + "line": 1890, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27864,7 +29067,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1793, + "line": 1891, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27873,7 +29076,7 @@ "inCTX": "1", "offset": 22, "mWR": 1, - "line": 1794, + "line": 1892, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27886,7 +29089,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1795, + "line": 1893, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27895,7 +29098,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 1796, + "line": 1894, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27904,7 +29107,7 @@ "inB": "1", "offset": 14, "mWR": 1, - "line": 1797, + "line": 1895, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27913,7 +29116,7 @@ "inE": "1", "offset": 2, "mWR": 1, - "line": 1798, + "line": 1896, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27922,7 +29125,7 @@ "inD": "1", "offset": 15, "mWR": 1, - "line": 1799, + "line": 1897, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27943,7 +29146,7 @@ ] }, "inFREE": "1", - "line": 1800, + "line": 1898, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27954,7 +29157,7 @@ "setA": 1, "offset": 25, "mRD": 1, - "line": 1801, + "line": 1899, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27963,7 +29166,7 @@ "inA": "1", "offset": 1, "mWR": 1, - "line": 1802, + "line": 1900, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -27985,7 +29188,7 @@ }, "inFREE": "1", "setD": 1, - "line": 1803, + "line": 1901, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -27993,7 +29196,7 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 1805, + "line": 1903, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28004,7 +29207,7 @@ "setA": 1, "offset": 26, "mRD": 1, - "line": 1806, + "line": 1904, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28013,7 +29216,7 @@ "inA": "1", "offset": 3, "mWR": 1, - "line": 1807, + "line": 1905, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28022,8 +29225,8 @@ "inA": "1", "CONST": "-1", "JMPC": 1, - "offset": 2496, - "line": 1808, + "offset": 2648, + "line": 1906, "offsetLabel": "opCALLCODEend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28031,15 +29234,15 @@ "inGAS": "1", "CONST": "-9000", "setGAS": 1, - "line": 1810, + "line": 1908, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2497", + "CONST": "2649", "setRR": 1, "JMP": 1, - "offset": 1135, - "line": 1814, + "offset": 1167, + "line": 1912, "offsetLabel": "computeGasSendCall", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28051,7 +29254,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1815, + "line": 1913, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28061,7 +29264,7 @@ "inA": "-1", "offset": 36, "mWR": 1, - "line": 1816, + "line": 1914, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28074,7 +29277,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 1817, + "line": 1915, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28082,7 +29285,7 @@ { "inA": "1", "setGAS": 1, - "line": 1818, + "line": 1916, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28093,7 +29296,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 1819, + "line": 1917, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28102,7 +29305,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 1820, + "line": 1918, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28115,7 +29318,7 @@ "setE": 1, "offset": 28, "mRD": 1, - "line": 1821, + "line": 1919, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28128,24 +29331,24 @@ "setC": 1, "offset": 27, "mRD": 1, - "line": 1822, + "line": 1920, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2506", + "CONST": "2658", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 1823, + "offset": 930, + "line": 1921, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 1824, + "offset": 702, + "line": 1922, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28153,7 +29356,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1829, + "line": 1927, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28171,7 +29374,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1830, + "line": 1928, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28189,7 +29392,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1831, + "line": 1929, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28197,7 +29400,7 @@ "inC": "1", "offset": 24, "mWR": 1, - "line": 1832, + "line": 1930, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28210,7 +29413,7 @@ "setD": 1, "offset": 12, "mRD": 1, - "line": 1833, + "line": 1931, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28219,8 +29422,8 @@ "CONST": "0", "inD": "-1", "JMPC": 1, - "offset": 2552, - "line": 1834, + "offset": 2704, + "line": 1932, "offsetLabel": "opRETURNdeploy", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28232,7 +29435,7 @@ "setB": 1, "offset": 29, "mRD": 1, - "line": 1835, + "line": 1933, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28241,8 +29444,8 @@ "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 2548, - "line": 1836, + "offset": 2700, + "line": 1934, "offsetLabel": "opRETURNend2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28250,7 +29453,7 @@ "inCTX": "1", "offset": 22, "mWR": 1, - "line": 1837, + "line": 1935, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28263,7 +29466,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1838, + "line": 1936, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28276,7 +29479,7 @@ "setB": 1, "offset": 36, "mRD": 1, - "line": 1839, + "line": 1937, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28285,7 +29488,7 @@ "inB": "1", "inGAS": "1", "setGAS": 1, - "line": 1841, + "line": 1939, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28296,7 +29499,7 @@ "setB": 1, "offset": 26, "mRD": 1, - "line": 1842, + "line": 1940, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28309,7 +29512,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 1844, + "line": 1942, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28318,8 +29521,8 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 2540, - "line": 1848, + "offset": 2692, + "line": 1946, "offsetLabel": "opRETURNend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28327,24 +29530,24 @@ "inC": "1", "CONST": "-32", "JMPC": 1, - "offset": 2534, - "line": 1849, + "offset": 2686, + "line": 1947, "offsetLabel": "opRETURNfinal", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2524", + "CONST": "2676", "setRR": 1, "JMP": 1, - "offset": 1060, - "line": 1850, + "offset": 1081, + "line": 1948, "offsetLabel": "MLOAD32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setD": 1, - "line": 1851, + "line": 1949, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28355,7 +29558,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1852, + "line": 1950, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28363,44 +29566,44 @@ { "inB": "1", "setE": 1, - "line": 1853, + "line": 1951, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 1854, + "line": 1952, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2529", + "CONST": "2681", "setRR": 1, "JMP": 1, - "offset": 985, - "line": 1855, + "offset": 1006, + "line": 1953, "offsetLabel": "MSTORE32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setB": 1, - "line": 1856, + "line": 1954, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 1857, + "line": 1955, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "CONST": "-32", "setC": 1, - "line": 1858, + "line": 1956, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28411,24 +29614,24 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 1859, + "line": 1957, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2521, - "line": 1860, + "offset": 2673, + "line": 1958, "offsetLabel": "opRETURN32", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2535", + "CONST": "2687", "setRR": 1, "JMP": 1, - "offset": 1079, - "line": 1863, + "offset": 1111, + "line": 1961, "offsetLabel": "MLOADX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28440,7 +29643,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1864, + "line": 1962, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28448,24 +29651,24 @@ { "inB": "1", "setE": 1, - "line": 1865, + "line": 1963, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "offset": 41, "mWR": 1, - "line": 1866, + "line": 1964, "offsetLabel": "bytesToStore", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2539", + "CONST": "2691", "setRR": 1, "JMP": 1, - "offset": 1019, - "line": 1867, + "offset": 1040, + "line": 1965, "offsetLabel": "MSTOREX", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28477,7 +29680,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 1868, + "line": 1966, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28490,7 +29693,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1871, + "line": 1969, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28503,7 +29706,7 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 1872, + "line": 1970, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28516,7 +29719,7 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 1873, + "line": 1971, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28531,7 +29734,7 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1874, + "line": 1972, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28542,7 +29745,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 1875, + "line": 1973, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28555,7 +29758,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1876, + "line": 1974, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28564,15 +29767,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 1877, + "offset": 1925, + "line": 1975, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1878, + "offset": 828, + "line": 1976, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28584,7 +29787,7 @@ "setE": 1, "offset": 24, "mRD": 1, - "line": 1882, + "line": 1980, "offsetLabel": "lastMemLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28597,7 +29800,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1883, + "line": 1981, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28606,15 +29809,15 @@ "inB": "1", "inE": "-1", "JMPC": 1, - "offset": 1776, - "line": 1884, + "offset": 1925, + "line": 1982, "offsetLabel": "saveMemLength", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 818, - "line": 1885, + "offset": 831, + "line": 1983, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28622,7 +29825,7 @@ "inGAS": "1", "inC": "-200", "setGAS": 1, - "line": 1889, + "line": 1987, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28633,7 +29836,7 @@ "setB": 1, "offset": 29, "mRD": 1, - "line": 1890, + "line": 1988, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28642,15 +29845,15 @@ "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 2556, - "line": 1891, + "offset": 2708, + "line": 1989, "offsetLabel": "opRETURNcreate", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 818, - "line": 1892, + "offset": 831, + "line": 1990, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28662,7 +29865,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 1896, + "line": 1994, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28675,7 +29878,7 @@ "setD": 1, "offset": 4, "mRD": 1, - "line": 1897, + "line": 1995, "offsetLabel": "txNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28684,19 +29887,19 @@ "inD": "1", "CONST": "1", "setD": 1, - "line": 1898, + "line": 1996, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setB": 1, - "line": 1899, + "line": 1997, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1900, + "line": 1998, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28706,7 +29909,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1901, + "line": 1999, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28717,7 +29920,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 1903, + "line": 2001, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28725,19 +29928,19 @@ { "CONST": "1", "setB": 1, - "line": 1904, + "line": 2002, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1905, + "line": 2003, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setD": 1, - "line": 1906, + "line": 2004, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28747,7 +29950,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1907, + "line": 2005, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28763,19 +29966,19 @@ }, "inFREE": "1", "setD": 1, - "line": 1910, + "line": 2008, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setB": 1, - "line": 1911, + "line": 2009, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1912, + "line": 2010, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28785,7 +29988,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1913, + "line": 2011, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28796,7 +29999,7 @@ "setB": 1, "offset": 3, "mRD": 1, - "line": 1915, + "line": 2013, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28819,8 +30022,8 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 2598, - "line": 1916, + "offset": 2753, + "line": 2014, "offsetLabel": "opRETURNcreateEnd", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -28832,7 +30035,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 1919, + "line": 2017, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28841,7 +30044,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 1920, + "line": 2018, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28851,7 +30054,7 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 1921, + "line": 2019, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28862,34 +30065,55 @@ "setC": 1, "offset": 3, "mRD": 1, - "line": 1922, + "line": 2020, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, + { + "inE": "1", + "offset": 36, + "mWR": 1, + "line": 2022, + "offsetLabel": "arithA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 2023, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2732", + "setRR": 1, + "JMP": 1, + "offset": 1202, + "line": 2024, + "offsetLabel": "subARITH", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, { "freeInTag": { - "op": "sub", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 1923, + "offset": 38, + "mRD": 1, + "line": 2025, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "31", "setD": 1, - "line": 1924, + "line": 2027, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28899,40 +30123,34 @@ "inFREE": "1", "setB": 1, "shr": 1, - "line": 1925, + "line": 2028, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "127", "inB": "-1", "JMPC": 1, - "offset": 897, - "line": 1926, + "offset": 918, + "line": 2029, "offsetLabel": "invalidTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setB": 1, - "line": 1927, + "line": 2030, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setD": 1, - "line": 1928, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "arith": 1, - "line": 1929, + "line": 2031, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setD": 1, - "line": 1930, + "line": 2032, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28943,7 +30161,7 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 1931, + "line": 2033, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28952,7 +30170,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 1932, + "line": 2034, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28962,7 +30180,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1933, + "line": 2035, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28973,7 +30191,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 1935, + "line": 2037, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -28982,7 +30200,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 1936, + "line": 2038, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -28992,7 +30210,7 @@ "inFREE": "1", "setC": 1, "sRD": 1, - "line": 1937, + "line": 2039, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29003,41 +30221,49 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1938, + "line": 2040, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 1939, + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 2042, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 1940, + "inC": "1", + "offset": 37, + "mWR": 1, + "line": 2043, + "offsetLabel": "arithB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2749", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 2044, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 1941, + "offset": 38, + "mRD": 1, + "line": 2045, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29048,7 +30274,7 @@ "setA": 1, "offset": 13, "mRD": 1, - "line": 1942, + "line": 2047, "offsetLabel": "createContractAddress", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29057,7 +30283,7 @@ "CONST": "0", "setB": 1, "setC": 1, - "line": 1943, + "line": 2048, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29067,7 +30293,7 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1944, + "line": 2049, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29078,7 +30304,7 @@ "setB": 1, "offset": 29, "mRD": 1, - "line": 1947, + "line": 2052, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29086,7 +30312,7 @@ { "inB": "1", "setCTX": 1, - "line": 1948, + "line": 2053, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29097,7 +30323,7 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 1949, + "line": 2054, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29110,7 +30336,7 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 1950, + "line": 2055, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29125,13 +30351,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1951, + "line": 2056, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 1952, + "offset": 828, + "line": 2057, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -29139,14 +30365,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1955, + "line": 2060, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 1956, + "line": 2061, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29166,14 +30392,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1957, + "line": 2062, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 24, "mWR": 1, - "line": 1958, + "line": 2063, "offsetLabel": "gasCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29193,14 +30419,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1959, + "line": 2064, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 25, "mWR": 1, - "line": 1960, + "line": 2065, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29220,14 +30446,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1961, + "line": 2066, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 28, "mWR": 1, - "line": 1962, + "line": 2067, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29247,14 +30473,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1963, + "line": 2068, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1964, + "line": 2069, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29263,7 +30489,7 @@ "inA": "1", "inB": "1", "setE": 1, - "line": 1965, + "line": 2070, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29281,14 +30507,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1966, + "line": 2071, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1967, + "line": 2072, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29308,14 +30534,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1968, + "line": 2073, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 1969, + "line": 2074, "offsetLabel": "retLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29324,7 +30550,7 @@ "inA": "1", "inB": "1", "setD": 1, - "line": 1970, + "line": 2075, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29345,15 +30571,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 2622, - "line": 1971, + "offset": 2777, + "line": 2076, "offsetLabel": "opDELEGATECALL2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 1972, + "line": 2077, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29364,7 +30590,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 1975, + "line": 2080, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29373,17 +30599,17 @@ "inE": "1", "inB": "-1", "JMPC": 1, - "offset": 2625, - "line": 1976, + "offset": 2780, + "line": 2081, "offsetLabel": "opDELEGATECALL3", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2625", + "CONST": "2780", "setRR": 1, "JMP": 1, - "offset": 1149, - "line": 1977, + "offset": 1181, + "line": 2082, "offsetLabel": "saveMem", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -29395,7 +30621,7 @@ "setB": 1, "offset": 3, "mRD": 1, - "line": 1980, + "line": 2085, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29408,7 +30634,7 @@ "setC": 1, "offset": 14, "mRD": 1, - "line": 1981, + "line": 2086, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29421,7 +30647,7 @@ "setD": 1, "offset": 15, "mRD": 1, - "line": 1982, + "line": 2087, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29434,7 +30660,7 @@ "setE": 1, "offset": 2, "mRD": 1, - "line": 1983, + "line": 2088, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29443,7 +30669,7 @@ "inSP": "1", "offset": 30, "mWR": 1, - "line": 1984, + "line": 2089, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29452,7 +30678,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 1985, + "line": 2090, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29465,7 +30691,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1987, + "line": 2092, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29476,7 +30702,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1988, + "line": 2093, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29485,7 +30711,7 @@ "inCTX": "1", "offset": 22, "mWR": 1, - "line": 1989, + "line": 2094, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29498,7 +30724,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1990, + "line": 2095, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29507,7 +30733,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 1991, + "line": 2096, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29516,7 +30742,7 @@ "inC": "1", "offset": 14, "mWR": 1, - "line": 1992, + "line": 2097, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29525,7 +30751,7 @@ "inE": "1", "offset": 2, "mWR": 1, - "line": 1993, + "line": 2098, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29534,7 +30760,7 @@ "inD": "1", "offset": 15, "mWR": 1, - "line": 1994, + "line": 2099, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29555,14 +30781,14 @@ ] }, "inFREE": "1", - "line": 1995, + "line": 2100, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 3, "mWR": 1, - "line": 1996, + "line": 2101, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29575,7 +30801,7 @@ "setA": 1, "offset": 25, "mRD": 1, - "line": 1997, + "line": 2102, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29584,7 +30810,7 @@ "inA": "1", "offset": 1, "mWR": 1, - "line": 1998, + "line": 2103, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29606,7 +30832,7 @@ }, "inFREE": "1", "setD": 1, - "line": 1999, + "line": 2104, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29614,15 +30840,15 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 2001, + "line": 2106, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2646", + "CONST": "2801", "setRR": 1, "JMP": 1, - "offset": 1135, - "line": 2002, + "offset": 1167, + "line": 2107, "offsetLabel": "computeGasSendCall", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -29634,7 +30860,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 2003, + "line": 2108, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29644,7 +30870,7 @@ "inA": "-1", "offset": 36, "mWR": 1, - "line": 2004, + "line": 2109, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29657,7 +30883,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 2005, + "line": 2110, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29665,7 +30891,7 @@ { "inA": "1", "setGAS": 1, - "line": 2006, + "line": 2111, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29676,7 +30902,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 2009, + "line": 2114, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29685,7 +30911,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 2010, + "line": 2115, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29698,7 +30924,7 @@ "setE": 1, "offset": 28, "mRD": 1, - "line": 2011, + "line": 2116, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29711,24 +30937,24 @@ "setC": 1, "offset": 27, "mRD": 1, - "line": 2012, + "line": 2117, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2655", + "CONST": "2810", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 2013, + "offset": 930, + "line": 2118, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 2016, + "offset": 702, + "line": 2121, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -29740,7 +30966,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 2021, + "line": 2126, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29749,8 +30975,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 2022, + "offset": 2952, + "line": 2127, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -29758,7 +30984,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 2023, + "line": 2128, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -29776,14 +31002,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2024, + "line": 2129, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 2025, + "line": 2130, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29803,14 +31029,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2026, + "line": 2131, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "offset": 28, "mWR": 1, - "line": 2027, + "line": 2132, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29830,14 +31056,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2028, + "line": 2133, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "offset": 27, "mWR": 1, - "line": 2029, + "line": 2134, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29857,14 +31083,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2030, + "line": 2135, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 2031, + "line": 2136, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29877,7 +31103,7 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 2032, + "line": 2137, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29885,14 +31111,14 @@ { "inGAS": "1", "setC": 1, - "line": 2033, + "line": 2138, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "offset": 30, "mWR": 1, - "line": 2034, + "line": 2139, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29901,7 +31127,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 2035, + "line": 2140, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29914,7 +31140,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 2037, + "line": 2142, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29925,7 +31151,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 2038, + "line": 2143, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29934,7 +31160,7 @@ "CONST": "1", "offset": 12, "mWR": 1, - "line": 2039, + "line": 2144, "offsetLabel": "isCreateContract", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29943,7 +31169,7 @@ "CONST": "1", "offset": 34, "mWR": 1, - "line": 2040, + "line": 2145, "offsetLabel": "isCreate2", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29952,7 +31178,7 @@ "inD": "1", "offset": 35, "mWR": 1, - "line": 2041, + "line": 2146, "offsetLabel": "salt", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29965,7 +31191,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 2042, + "line": 2147, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29974,7 +31200,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 2043, + "line": 2148, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29983,7 +31209,7 @@ "inB": "1", "offset": 14, "mWR": 1, - "line": 2044, + "line": 2149, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -29992,7 +31218,7 @@ "inB": "1", "offset": 15, "mWR": 1, - "line": 2045, + "line": 2150, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30000,34 +31226,34 @@ { "inC": "1", "setGAS": 1, - "line": 2047, + "line": 2152, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2682", + "CONST": "2837", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 2048, + "offset": 930, + "line": 2153, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setA": 1, - "line": 2049, + "line": 2154, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setB": 1, - "line": 2050, + "line": 2155, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 2051, + "line": 2156, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30037,24 +31263,24 @@ "inFREE": "1", "setB": 1, "sRD": 1, - "line": 2052, + "line": 2157, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 4, "mWR": 1, - "line": 2053, + "line": 2158, "offsetLabel": "txNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2688", + "CONST": "2843", "setRR": 1, "JMP": 1, - "offset": 971, - "line": 2054, + "offset": 992, + "line": 2159, "offsetLabel": "getLenBytes", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30062,7 +31288,7 @@ "inA": "1", "offset": 5, "mWR": 1, - "line": 2055, + "line": 2160, "offsetLabel": "lengthNonce", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30075,7 +31301,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 2056, + "line": 2161, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30084,7 +31310,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 2057, + "line": 2162, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30097,7 +31323,7 @@ "setA": 1, "offset": 26, "mRD": 1, - "line": 2058, + "line": 2163, "offsetLabel": "valueCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30106,15 +31332,15 @@ "inA": "1", "offset": 3, "mWR": 1, - "line": 2059, + "line": 2164, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 2063, + "offset": 702, + "line": 2168, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30122,14 +31348,14 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 2067, + "line": 2172, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 2068, + "line": 2173, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30149,14 +31375,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2069, + "line": 2174, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 24, "mWR": 1, - "line": 2070, + "line": 2175, "offsetLabel": "gasCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30176,14 +31402,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2071, + "line": 2176, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 25, "mWR": 1, - "line": 2072, + "line": 2177, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30203,14 +31429,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2073, + "line": 2178, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 28, "mWR": 1, - "line": 2074, + "line": 2179, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30230,14 +31456,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2075, + "line": 2180, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 2076, + "line": 2181, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30246,7 +31472,7 @@ "inA": "1", "inB": "1", "setE": 1, - "line": 2077, + "line": 2182, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30264,14 +31490,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2078, + "line": 2183, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 2079, + "line": 2184, "offsetLabel": "retOffset", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30291,14 +31517,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2080, + "line": 2185, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 27, "mWR": 1, - "line": 2081, + "line": 2186, "offsetLabel": "retLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30307,7 +31533,7 @@ "inA": "1", "inB": "1", "setD": 1, - "line": 2082, + "line": 2187, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30328,15 +31554,15 @@ "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 2712, - "line": 2083, + "offset": 2867, + "line": 2188, "offsetLabel": "opSTATICCALL2", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setE": 1, - "line": 2084, + "line": 2189, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30347,7 +31573,7 @@ "setB": 1, "offset": 23, "mRD": 1, - "line": 2087, + "line": 2192, "offsetLabel": "memLength", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30356,17 +31582,17 @@ "inE": "1", "inB": "-1", "JMPC": 1, - "offset": 2715, - "line": 2088, + "offset": 2870, + "line": 2193, "offsetLabel": "opSTATICCALL3", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2715", + "CONST": "2870", "setRR": 1, "JMP": 1, - "offset": 1149, - "line": 2089, + "offset": 1181, + "line": 2194, "offsetLabel": "saveMem", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30378,7 +31604,7 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 2092, + "line": 2197, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30391,7 +31617,7 @@ "setD": 1, "offset": 15, "mRD": 1, - "line": 2093, + "line": 2198, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30400,7 +31626,7 @@ "inSP": "1", "offset": 30, "mWR": 1, - "line": 2094, + "line": 2199, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30409,7 +31635,7 @@ "inPC": "1", "offset": 31, "mWR": 1, - "line": 2095, + "line": 2200, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30422,7 +31648,7 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 2097, + "line": 2202, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30433,7 +31659,7 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 2098, + "line": 2203, "offsetLabel": "lastCtxUsed", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30442,7 +31668,7 @@ "inCTX": "1", "offset": 22, "mWR": 1, - "line": 2099, + "line": 2204, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30455,7 +31681,7 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 2100, + "line": 2205, "offsetLabel": "originAuxCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30464,7 +31690,7 @@ "inA": "1", "offset": 29, "mWR": 1, - "line": 2101, + "line": 2206, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30473,7 +31699,7 @@ "CONST": "0", "offset": 3, "mWR": 1, - "line": 2102, + "line": 2207, "offsetLabel": "txValue", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30482,7 +31708,7 @@ "CONST": "1", "offset": 33, "mWR": 1, - "line": 2103, + "line": 2208, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30491,7 +31717,7 @@ "inB": "1", "offset": 14, "mWR": 1, - "line": 2104, + "line": 2209, "offsetLabel": "txSrcAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30500,7 +31726,7 @@ "inD": "1", "offset": 15, "mWR": 1, - "line": 2105, + "line": 2210, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30521,7 +31747,7 @@ ] }, "inFREE": "1", - "line": 2106, + "line": 2211, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30532,7 +31758,7 @@ "setA": 1, "offset": 25, "mRD": 1, - "line": 2107, + "line": 2212, "offsetLabel": "addrCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30541,7 +31767,7 @@ "inA": "1", "offset": 1, "mWR": 1, - "line": 2108, + "line": 2213, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30550,7 +31776,7 @@ "inA": "1", "offset": 2, "mWR": 1, - "line": 2109, + "line": 2214, "offsetLabel": "storageAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30572,7 +31798,7 @@ }, "inFREE": "1", "setD": 1, - "line": 2110, + "line": 2215, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30580,15 +31806,15 @@ "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 2112, + "line": 2217, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2735", + "CONST": "2890", "setRR": 1, "JMP": 1, - "offset": 1135, - "line": 2113, + "offset": 1167, + "line": 2218, "offsetLabel": "computeGasSendCall", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30600,7 +31826,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 2114, + "line": 2219, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30610,7 +31836,7 @@ "inA": "-1", "offset": 36, "mWR": 1, - "line": 2115, + "line": 2220, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30623,7 +31849,7 @@ "setCTX": 1, "offset": 22, "mRD": 1, - "line": 2116, + "line": 2221, "offsetLabel": "currentCTX", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30631,7 +31857,7 @@ { "inA": "1", "setGAS": 1, - "line": 2117, + "line": 2222, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30642,7 +31868,7 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 2119, + "line": 2224, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30651,7 +31877,7 @@ "inA": "1", "offset": 7, "mWR": 1, - "line": 2120, + "line": 2225, "offsetLabel": "txCalldataLen", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30664,7 +31890,7 @@ "setE": 1, "offset": 28, "mRD": 1, - "line": 2121, + "line": 2226, "offsetLabel": "argsOffsetCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30677,24 +31903,24 @@ "setC": 1, "offset": 27, "mRD": 1, - "line": 2122, + "line": 2227, "offsetLabel": "argsLengthCall", "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2744", + "CONST": "2899", "setRR": 1, "JMP": 1, - "offset": 909, - "line": 2123, + "offset": 930, + "line": 2228, "offsetLabel": "copySP", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 697, - "line": 2127, + "offset": 702, + "line": 2232, "offsetLabel": "txType", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30702,7 +31928,7 @@ "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 2134, + "line": 2239, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30720,7 +31946,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2135, + "line": 2240, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30738,7 +31964,7 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2136, + "line": 2241, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30749,7 +31975,7 @@ "setC": 1, "offset": 29, "mRD": 1, - "line": 2137, + "line": 2242, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30758,15 +31984,15 @@ "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 2757, - "line": 2138, + "offset": 2912, + "line": 2243, "offsetLabel": "opREVERTend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inC": "1", "setCTX": 1, - "line": 2139, + "line": 2244, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30777,7 +32003,7 @@ "setC": 1, "offset": 36, "mRD": 1, - "line": 2140, + "line": 2245, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30786,7 +32012,7 @@ "inGAS": "1", "inC": "1", "setGAS": 1, - "line": 2141, + "line": 2246, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30797,7 +32023,7 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 2142, + "line": 2247, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30810,7 +32036,7 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 2143, + "line": 2248, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30825,13 +32051,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 2144, + "line": 2249, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 2145, + "offset": 828, + "line": 2250, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30843,15 +32069,15 @@ "setSR": 1, "offset": 20, "mRD": 1, - "line": 2148, + "line": 2253, "offsetLabel": "initSR", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 818, - "line": 2149, + "offset": 831, + "line": 2254, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30863,7 +32089,7 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 2155, + "line": 2260, "offsetLabel": "iSstaticCall", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30872,8 +32098,8 @@ "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2798, - "line": 2156, + "offset": 2952, + "line": 2261, "offsetLabel": "invalidStaticTx", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -30881,7 +32107,7 @@ "CONST": "24000", "offset": 19, "mWR": 1, - "line": 2157, + "line": 2262, "offsetLabel": "gasRefund", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30890,7 +32116,7 @@ "inGAS": "1", "CONST": "-5000", "setGAS": 1, - "line": 2158, + "line": 2263, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30901,7 +32127,7 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 2161, + "line": 2266, "offsetLabel": "txDestAddr", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -30909,19 +32135,19 @@ { "CONST": "2", "setB": 1, - "line": 2162, + "line": 2267, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 2163, + "line": 2268, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setD": 1, - "line": 2164, + "line": 2269, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30931,14 +32157,14 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 2165, + "line": 2270, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 2168, + "line": 2273, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30948,7 +32174,7 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 2169, + "line": 2274, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30958,20 +32184,20 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 2172, + "line": 2277, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setD": 1, - "line": 2173, + "line": 2278, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 2176, + "line": 2281, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -30989,21 +32215,21 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2177, + "line": 2282, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setE": 1, - "line": 2180, + "line": 2285, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2776", + "CONST": "2931", "setRR": 1, "JMP": 1, - "offset": 1112, - "line": 2181, + "offset": 1144, + "line": 2286, "offsetLabel": "ISEMPTY", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -31011,7 +32237,7 @@ "inGAS": "1", "inE": "-25000", "setGAS": 1, - "line": 2182, + "line": 2287, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31031,21 +32257,21 @@ }, "inFREE": "1", "setE": 1, - "line": 2185, + "line": 2290, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inE": "-2600", "setGAS": 1, - "line": 2186, + "line": 2291, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 2189, + "line": 2294, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31055,51 +32281,47 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 2190, + "line": 2295, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", - "setA": 1, - "line": 2193, + "offset": 36, + "mWR": 1, + "line": 2299, + "offsetLabel": "arithA", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", - "setC": 1, - "line": 2194, - "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 2195, + "offset": 37, + "mWR": 1, + "line": 2300, + "offsetLabel": "arithB", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 2196, + "CONST": "2939", + "setRR": 1, + "JMP": 1, + "offset": 1191, + "line": 2301, + "offsetLabel": "addARITH", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", "setD": 1, - "arith": 1, - "line": 2197, + "offset": 38, + "mRD": 1, + "line": 2302, + "offsetLabel": "arithRes1", + "useCTX": 0, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31117,14 +32339,14 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 2200, + "line": 2305, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 2201, + "line": 2306, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31134,20 +32356,20 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 2202, + "line": 2307, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 818, - "line": 2204, + "offset": 831, + "line": 2309, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setGAS": 1, - "line": 2210, + "line": 2315, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31158,7 +32380,7 @@ "setB": 1, "offset": 29, "mRD": 1, - "line": 2212, + "line": 2317, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31167,15 +32389,15 @@ "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 2797, - "line": 2213, + "offset": 2951, + "line": 2318, "offsetLabel": "opINVALIDend", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "setCTX": 1, - "line": 2215, + "line": 2320, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31186,7 +32408,7 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 2217, + "line": 2322, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31199,22 +32421,22 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 2218, + "line": 2323, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 2219, + "offset": 828, + "line": 2324, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 818, - "line": 2222, + "offset": 831, + "line": 2327, "offsetLabel": "endCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, @@ -31226,7 +32448,7 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 2225, + "line": 2330, "offsetLabel": "originCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31239,7 +32461,7 @@ "setA": 1, "offset": 36, "mRD": 1, - "line": 2226, + "line": 2331, "offsetLabel": "gasCTX", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31247,7 +32469,7 @@ { "inA": "1", "setGAS": 1, - "line": 2227, + "line": 2332, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { @@ -31258,7 +32480,7 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 2228, + "line": 2333, "offsetLabel": "lastSP", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31271,7 +32493,7 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 2229, + "line": 2334, "offsetLabel": "lastPC", "useCTX": 1, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" @@ -31286,13 +32508,13 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 2230, + "line": 2335, "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 815, - "line": 2231, + "offset": 828, + "line": 2336, "offsetLabel": "readCode", "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" } @@ -31384,280 +32606,286 @@ "processTx": 623, "check_defaultChainId": 638, "endCheckChainId": 641, - "addGas": 682, - "loopBytes": 686, - "add4Gas": 693, - "add16Gas": 695, - "txType": 697, - "checkTxType": 707, - "getContractAddress": 712, - "nonce1byte": 730, - "nonce0": 739, - "endContractAddress": 740, - "create2": 747, - "loopCreate2": 752, - "endloopCreate2": 759, - "create2end": 764, - "deploy": 784, - "readDeployBytecode": 790, - "callContract": 802, - "readByteCode": 805, - "readCode": 815, - "endCode": 818, - "endDeploy": 821, - "endByteCode": 831, - "moveBalances": 831, - "refundGas": 864, - "terminateTX": 896, - "invalidTx": 897, - "invalidTxOrigin": 901, - "abs": 903, - "ca2": 906, - "endca2": 908, - "copySP": 909, - "copyInit": 915, - "copyFinal": 924, - "copyInit2": 931, - "copyFinal2": 946, - "copyFinal22": 956, - "copyEnd": 969, - "getLenBytes": 971, - "getLenBytesLoop": 975, - "getLenEnd": 981, - "MSTORE32": 985, - "MSTORE322": 1015, - "MSTOREX": 1019, - "MSTOREX2": 1037, - "MSTOREend": 1055, - "MLOAD32": 1060, - "MLOAD322": 1076, - "MLOADX": 1079, - "MLOADX2": 1094, - "MLOADend": 1108, - "ISEMPTY": 1112, - "ISEMPTYSet1": 1126, - "ISEMPTYSet0": 1128, - "ISEMPTYEnd": 1130, - "computeGasSendCall": 1135, - "computeGasSendCallEnd": 1144, - "saveMem": 1149, - "opSTOP": 1159, - "opSTOPend": 1168, - "opADD": 1169, - "opMUL": 1178, - "opSUB": 1187, - "opDIV": 1197, - "opSDIV": 1207, - "opSDIVNeg": 1222, - "opMOD": 1231, - "opSMOD": 1241, - "opSMODNeg": 1256, - "opADDMOD": 1265, - "opMULMOD": 1277, - "opEXP": 1289, - "opSIGNEXTEND": 1297, - "opSIGNEXTENDPositive": 1305, - "opSIGNEXTENDEnd": 1306, - "set0": 1309, - "set1": 1311, - "opSLT": 1313, - "opLT": 1320, - "opSGT": 1326, - "opGT": 1333, - "opEQ": 1339, - "opISZERO": 1345, - "opAND": 1350, - "opOR": 1356, - "opXOR": 1362, - "opNOT": 1368, - "opBYTE": 1373, - "opSHR": 1381, - "opSHL": 1391, - "opSAR": 1401, - "opSARNeg": 1413, - "opSHA3": 1418, - "opSHA3Loop": 1427, - "opSHA3Final": 1436, - "opSHA3End": 1442, - "opADDRESS": 1450, - "opADDRESSdeploy": 1454, - "opADDRESSend": 1455, - "opBALANCE": 1458, - "opORIGIN": 1466, - "opCALLER": 1470, - "opCALLVALUE": 1474, - "opCALLDATALOAD": 1478, - "opCALLDATALOAD2": 1490, - "opCALLDATASIZE": 1502, - "opCALLDATACOPY": 1506, - "opCALLDATACOPYinit": 1515, - "opCALLDATACOPYfinal": 1533, - "opCALLDATACOPYxor": 1552, - "opCALLDATACOPYend": 1557, - "opCODESIZE": 1562, - "opCODESIZEdep": 1572, - "opCODECOPY": 1576, - "opCODECOPYinit": 1589, - "opCODECOPYfinal": 1597, - "opCODECOPYend": 1602, - "opGASPRICE": 1606, - "opEXTCODESIZE": 1610, - "opEXTCODECOPY": 1620, - "opEXTCODECOPYinit": 1632, - "opEXTCODECOPYfinal": 1640, - "opEXTCODECOPYend": 1645, - "opRETURNDATASIZE": 1649, - "opRETURNDATACOPY": 1653, - "opRETURNDATACOPYinit": 1662, - "opRETURNDATACOPYfinal": 1673, - "opRETURNDATACOPYend": 1679, - "opEXTCODEHASH": 1683, - "opEXTCODEHASHinit": 1693, - "opEXTCODEHASHfinal": 1700, - "opEXTCODEHASHend": 1703, - "opBLOCKHASH": 1707, - "opBLOCKHASHzero": 1724, - "opCOINBASE": 1726, - "opTIMESTAMP": 1730, - "opNUMBER": 1734, - "opDIFFICULTY": 1738, - "opGASLIMIT": 1742, - "opCHAINID": 1746, - "opSELFBALANCE": 1750, - "opPOP": 1756, - "opMLOAD": 1759, - "opMSTORE": 1767, - "saveMemLength": 1776, - "opMSTORE8": 1778, - "opSLOAD": 1790, - "opSSTORE": 1799, - "deploymentSSTORE": 1808, - "opSSTOREinit": 1809, - "opSSTOREdif": 1820, - "opSSTOREdifA": 1824, - "opSSTOREdifAA": 1825, - "opSSTOREdifAB": 1827, - "opSSTOREdifA1": 1832, - "opSSTOREdifA12": 1836, - "opSSTOREdifA2": 1840, - "opSSTOREdifB": 1843, - "opSSTOREend": 1848, - "mloadContract": 1852, - "opSSTOREsr": 1853, - "opJUMP": 1856, - "opJUMPI": 1861, - "opPC": 1869, - "opMSIZE": 1872, - "opGAS": 1876, - "opJUMPDEST": 1879, - "opAuxPUSHA": 1881, - "opAuxPUSHB": 1886, - "opAuxPUSHC": 1899, - "opPUSH1": 1912, - "opPUSH2": 1916, - "opPUSH3": 1920, - "opPUSH4": 1924, - "opPUSH5": 1928, - "opPUSH6": 1932, - "opPUSH7": 1936, - "opPUSH8": 1940, - "opPUSH9": 1944, - "opPUSH10": 1948, - "opPUSH11": 1952, - "opPUSH12": 1956, - "opPUSH13": 1960, - "opPUSH14": 1964, - "opPUSH15": 1968, - "opPUSH16": 1972, - "opPUSH17": 1976, - "opPUSH18": 1980, - "opPUSH19": 1984, - "opPUSH20": 1988, - "opPUSH21": 1992, - "opPUSH22": 1996, - "opPUSH23": 2000, - "opPUSH24": 2004, - "opPUSH25": 2008, - "opPUSH26": 2012, - "opPUSH27": 2016, - "opPUSH28": 2020, - "opPUSH29": 2024, - "opPUSH30": 2028, - "opPUSH31": 2032, - "opPUSH32": 2036, - "opDUP1": 2040, - "opDUP2": 2045, - "opDUP3": 2051, - "opDUP4": 2057, - "opDUP5": 2063, - "opDUP6": 2069, - "opDUP7": 2075, - "opDUP8": 2081, - "opDUP9": 2087, - "opDUP10": 2093, - "opDUP11": 2099, - "opDUP12": 2105, - "opDUP13": 2111, - "opDUP14": 2117, - "opDUP15": 2123, - "opDUP16": 2129, - "opSWAP1": 2135, - "opSWAP2": 2142, - "opSWAP3": 2151, - "opSWAP4": 2160, - "opSWAP5": 2169, - "opSWAP6": 2178, - "opSWAP7": 2187, - "opSWAP8": 2196, - "opSWAP9": 2205, - "opSWAP10": 2214, - "opSWAP11": 2223, - "opSWAP12": 2232, - "opSWAP13": 2241, - "opSWAP14": 2250, - "opSWAP15": 2259, - "opSWAP16": 2268, - "opLOG0": 2277, - "opLOG1": 2289, - "opLOG2": 2301, - "opLOG3": 2313, - "opLOG4": 2325, - "opLOGLoop": 2337, - "opLOGFinal": 2343, - "opSaveTopicsInit": 2345, - "opSaveTopicsLoop": 2346, - "opLOGend": 2353, - "opCREATE": 2357, - "opCALL": 2392, - "opCALL2": 2403, - "opCALL3": 2415, - "opCALL4": 2418, - "opCALLend": 2439, - "opCALLCODE": 2450, - "opCALLCODE2": 2470, - "opCALLCODE3": 2473, - "opCALLCODEend": 2496, - "opRETURN": 2507, - "opRETURN32": 2521, - "opRETURNfinal": 2534, - "opRETURNend": 2540, - "opRETURNend2": 2548, - "opRETURNdeploy": 2552, - "opRETURNcreate": 2556, - "opRETURNcreateEnd": 2598, - "opDELEGATECALL": 2604, - "opDELEGATECALL2": 2622, - "opDELEGATECALL3": 2625, - "opDELEGATECALLend": 2650, - "opCREATE2": 2656, - "opSTATICCALL": 2694, - "opSTATICCALL2": 2712, - "opSTATICCALL3": 2715, - "opREVERT": 2745, - "opREVERTend": 2757, - "opSELFDESTRUCT": 2759, - "opINVALID": 2790, - "opINVALIDend": 2797, - "invalidStaticTx": 2798 + "addGas": 683, + "loopBytes": 687, + "add4Gas": 698, + "add16Gas": 700, + "txType": 702, + "checkTxType": 712, + "getContractAddress": 717, + "nonce1byte": 735, + "nonce0": 744, + "endContractAddress": 745, + "create2": 752, + "loopCreate2": 761, + "endloopCreate2": 768, + "create2end": 773, + "deploy": 793, + "readDeployBytecode": 799, + "callContract": 815, + "readByteCode": 818, + "readCode": 828, + "endCode": 831, + "endDeploy": 834, + "endByteCode": 844, + "moveBalances": 844, + "refundGas": 883, + "terminateTX": 917, + "invalidTx": 918, + "invalidTxOrigin": 922, + "abs": 924, + "ca2": 927, + "endca2": 929, + "copySP": 930, + "copyInit": 936, + "copyFinal": 945, + "copyInit2": 952, + "copyFinal2": 967, + "copyFinal22": 977, + "copyEnd": 990, + "getLenBytes": 992, + "getLenBytesLoop": 996, + "getLenEnd": 1002, + "MSTORE32": 1006, + "MSTORE322": 1036, + "MSTOREX": 1040, + "MSTOREX2": 1058, + "MSTOREend": 1076, + "MLOAD32": 1081, + "MLOAD322": 1108, + "MLOADX": 1111, + "MLOADX2": 1126, + "MLOADend": 1140, + "ISEMPTY": 1144, + "ISEMPTYSet1": 1158, + "ISEMPTYSet0": 1160, + "ISEMPTYEnd": 1162, + "computeGasSendCall": 1167, + "computeGasSendCallEnd": 1176, + "saveMem": 1181, + "addARITH": 1191, + "subARITH": 1202, + "mulARITH": 1214, + "divARITH": 1225, + "loadTmp": 1238, + "storeTmp": 1244, + "opSTOP": 1250, + "opSTOPend": 1259, + "opADD": 1260, + "opMUL": 1270, + "opSUB": 1280, + "opDIV": 1290, + "opSDIV": 1300, + "opSDIVNeg": 1315, + "opMOD": 1323, + "opSMOD": 1333, + "opSMODNeg": 1348, + "opADDMOD": 1356, + "opMULMOD": 1371, + "opEXP": 1386, + "opSIGNEXTEND": 1394, + "opSIGNEXTENDPositive": 1406, + "opSIGNEXTENDEnd": 1411, + "set0": 1414, + "set1": 1416, + "opSLT": 1418, + "opLT": 1427, + "opSGT": 1433, + "opGT": 1442, + "opEQ": 1448, + "opISZERO": 1454, + "opAND": 1459, + "opOR": 1465, + "opXOR": 1471, + "opNOT": 1477, + "opBYTE": 1482, + "opSHR": 1490, + "opSHL": 1504, + "opSAR": 1518, + "opSARNeg": 1533, + "opSHA3": 1541, + "opSHA3Loop": 1559, + "opSHA3Final": 1568, + "opSHA3End": 1574, + "opADDRESS": 1582, + "opADDRESSdeploy": 1586, + "opADDRESSend": 1587, + "opBALANCE": 1590, + "opORIGIN": 1598, + "opCALLER": 1602, + "opCALLVALUE": 1606, + "opCALLDATALOAD": 1610, + "opCALLDATALOAD2": 1625, + "opCALLDATASIZE": 1637, + "opCALLDATACOPY": 1641, + "opCALLDATACOPYinit": 1650, + "opCALLDATACOPYfinal": 1673, + "opCALLDATACOPYxor": 1692, + "opCALLDATACOPYend": 1697, + "opCODESIZE": 1702, + "opCODESIZEdep": 1712, + "opCODECOPY": 1716, + "opCODECOPYinit": 1729, + "opCODECOPYfinal": 1737, + "opCODECOPYend": 1742, + "opGASPRICE": 1746, + "opEXTCODESIZE": 1750, + "opEXTCODECOPY": 1760, + "opEXTCODECOPYinit": 1772, + "opEXTCODECOPYfinal": 1780, + "opEXTCODECOPYend": 1785, + "opRETURNDATASIZE": 1789, + "opRETURNDATACOPY": 1793, + "opRETURNDATACOPYinit": 1811, + "opRETURNDATACOPYfinal": 1822, + "opRETURNDATACOPYend": 1828, + "opEXTCODEHASH": 1832, + "opEXTCODEHASHinit": 1842, + "opEXTCODEHASHfinal": 1849, + "opEXTCODEHASHend": 1852, + "opBLOCKHASH": 1856, + "opBLOCKHASHzero": 1873, + "opCOINBASE": 1875, + "opTIMESTAMP": 1879, + "opNUMBER": 1883, + "opDIFFICULTY": 1887, + "opGASLIMIT": 1891, + "opCHAINID": 1895, + "opSELFBALANCE": 1899, + "opPOP": 1905, + "opMLOAD": 1908, + "opMSTORE": 1916, + "saveMemLength": 1925, + "opMSTORE8": 1927, + "opSLOAD": 1939, + "opSSTORE": 1948, + "deploymentSSTORE": 1957, + "opSSTOREinit": 1958, + "opSSTOREdif": 1969, + "opSSTOREdifA": 1973, + "opSSTOREdifAA": 1974, + "opSSTOREdifAB": 1976, + "opSSTOREdifA1": 1981, + "opSSTOREdifA12": 1985, + "opSSTOREdifA2": 1989, + "opSSTOREdifB": 1992, + "opSSTOREend": 1997, + "mloadContract": 2001, + "opSSTOREsr": 2002, + "opJUMP": 2005, + "opJUMPI": 2010, + "opPC": 2018, + "opMSIZE": 2021, + "opGAS": 2025, + "opJUMPDEST": 2028, + "opAuxPUSHA": 2030, + "opAuxPUSHB": 2035, + "opAuxPUSHC": 2051, + "opPUSH1": 2064, + "opPUSH2": 2068, + "opPUSH3": 2072, + "opPUSH4": 2076, + "opPUSH5": 2080, + "opPUSH6": 2084, + "opPUSH7": 2088, + "opPUSH8": 2092, + "opPUSH9": 2096, + "opPUSH10": 2100, + "opPUSH11": 2104, + "opPUSH12": 2108, + "opPUSH13": 2112, + "opPUSH14": 2116, + "opPUSH15": 2120, + "opPUSH16": 2124, + "opPUSH17": 2128, + "opPUSH18": 2132, + "opPUSH19": 2136, + "opPUSH20": 2140, + "opPUSH21": 2144, + "opPUSH22": 2148, + "opPUSH23": 2152, + "opPUSH24": 2156, + "opPUSH25": 2160, + "opPUSH26": 2164, + "opPUSH27": 2168, + "opPUSH28": 2172, + "opPUSH29": 2176, + "opPUSH30": 2180, + "opPUSH31": 2184, + "opPUSH32": 2188, + "opDUP1": 2192, + "opDUP2": 2197, + "opDUP3": 2203, + "opDUP4": 2209, + "opDUP5": 2215, + "opDUP6": 2221, + "opDUP7": 2227, + "opDUP8": 2233, + "opDUP9": 2239, + "opDUP10": 2245, + "opDUP11": 2251, + "opDUP12": 2257, + "opDUP13": 2263, + "opDUP14": 2269, + "opDUP15": 2275, + "opDUP16": 2281, + "opSWAP1": 2287, + "opSWAP2": 2294, + "opSWAP3": 2303, + "opSWAP4": 2312, + "opSWAP5": 2321, + "opSWAP6": 2330, + "opSWAP7": 2339, + "opSWAP8": 2348, + "opSWAP9": 2357, + "opSWAP10": 2366, + "opSWAP11": 2375, + "opSWAP12": 2384, + "opSWAP13": 2393, + "opSWAP14": 2402, + "opSWAP15": 2411, + "opSWAP16": 2420, + "opLOG0": 2429, + "opLOG1": 2441, + "opLOG2": 2453, + "opLOG3": 2465, + "opLOG4": 2477, + "opLOGLoop": 2489, + "opLOGFinal": 2495, + "opSaveTopicsInit": 2497, + "opSaveTopicsLoop": 2498, + "opLOGend": 2505, + "opCREATE": 2509, + "opCALL": 2544, + "opCALL2": 2555, + "opCALL3": 2567, + "opCALL4": 2570, + "opCALLend": 2591, + "opCALLCODE": 2602, + "opCALLCODE2": 2622, + "opCALLCODE3": 2625, + "opCALLCODEend": 2648, + "opRETURN": 2659, + "opRETURN32": 2673, + "opRETURNfinal": 2686, + "opRETURNend": 2692, + "opRETURNend2": 2700, + "opRETURNdeploy": 2704, + "opRETURNcreate": 2708, + "opRETURNcreateEnd": 2753, + "opDELEGATECALL": 2759, + "opDELEGATECALL2": 2777, + "opDELEGATECALL3": 2780, + "opDELEGATECALLend": 2805, + "opCREATE2": 2811, + "opSTATICCALL": 2849, + "opSTATICCALL2": 2867, + "opSTATICCALL3": 2870, + "opREVERT": 2900, + "opREVERTend": 2912, + "opSELFDESTRUCT": 2914, + "opINVALID": 2944, + "opINVALIDend": 2951, + "invalidStaticTx": 2952 } } diff --git a/main/opcodes.zkasm b/main/opcodes.zkasm index 856c22fa..e44d3f22 100644 --- a/main/opcodes.zkasm +++ b/main/opcodes.zkasm @@ -20,9 +20,12 @@ opADD: SP - 1 => SP $ => A :MLOAD(SP--) $ => C :MLOAD(SP) - 1 => B - 0 => D - ${A+C} => E :ARITH + + ; Add operation with Arith + A :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(addARITH) + $ => E :MLOAD(arithRes1) E :MSTORE(SP++) GAS-3 => GAS :JMP(readCode) @@ -31,9 +34,11 @@ opMUL: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP) - 0 => C - 0 => D - ${A*B} => E :ARITH + ; Mul operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(mulARITH) + $ => E :MLOAD(arithRes1) E :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) @@ -42,10 +47,11 @@ opSUB: SP - 1 => SP $ => E :MLOAD(SP--) $ => C :MLOAD(SP) - 1 => B - 0 => D - ${E-C} => A - E :ARITH + ; Sub operation with Arith + E :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(subARITH) + $ => A :MLOAD(arithRes1) A :MSTORE(SP++) GAS-3 => GAS :JMP(readCode) @@ -54,10 +60,11 @@ opDIV: SP - 1 => SP $ => E :MLOAD(SP--) $ => A :MLOAD(SP) - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH ; TODO: Add --> LT(Residu < numToDiv) + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => B :MLOAD(arithRes1) B :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) @@ -70,22 +77,24 @@ opSDIV: B => C $ => A :MLOAD(SP) :CALL(abs) - ; //TODO: save contraints + ; //TODO: save constrains ${bitwise_xor(bitwise_xor(C, B), 1)} - 1 :JMPC(opSDIVNeg) ;0 negative, 1 positive - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH ; TODO: Add --> LT(Residu < numToDiv) - + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => B :MLOAD(arithRes1) B :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) + opSDIVNeg: - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH ; TODO: Add --> LT(Residu < numToDiv) - B => A + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + :CALL(ca2) A :MSTORE(SP++) GAS-5 => GAS @@ -95,10 +104,11 @@ opMOD: SP - 1 => SP $ => E :MLOAD(SP--) $ => A :MLOAD(SP) - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH + ; Mod operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => C :MLOAD(arithRes2) C :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) @@ -114,33 +124,41 @@ opSMOD: ${bitwise_xor(C, 1)} - 1 :JMPC(opSMODNeg) ; 0 negative, 1 positive - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => C :MLOAD(arithRes2) C :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) + opSMODNeg: - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH - C => A + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes2) :CALL(ca2) A :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) + opADDMOD: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP--) - ${A+B} => E ; //TODO: ARITH + ; Add operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(addARITH) + $ => E :MLOAD(arithRes1) $ => A :MLOAD(SP) - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH ; //TODO: Check residu + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => C :MLOAD(arithRes2) C :MSTORE(SP++) GAS-8 => GAS :JMP(readCode) @@ -149,12 +167,17 @@ opMULMOD: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP--) - ${A*B} => E ;//TODO: ARITH + ; Mul operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(mulARITH) + $ => E :MLOAD(arithRes1) $ => A :MLOAD(SP) - ${E%A} => C - ${E/A} => B - 0 => D - E :ARITH ;//TODO: Check residu + ; Div operation with Arith + E :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(divARITH) + $ => C :MLOAD(arithRes2) C :MSTORE(SP++) GAS-8 => GAS :JMP(readCode) @@ -174,13 +197,23 @@ opSIGNEXTEND: ; following this impl https://github.com/ethereumjs/ethereumjs-mon $ => A :MLOAD(SP--) $ => B :MLOAD(SP) ${comp_lt(A, 31)} - 1 :JMPC(opSIGNEXTENDEnd) - ${exp(2, A * 8 + 7)} => C ; signBit ; // TODO: ARITH + ; Add operation with Arith + ${A * 8} :MSTORE(arithA) + 7 :MSTORE(arithB) + :CALL(addARITH) + $ => A :MLOAD(arithRes1) + ${exp(2, A)} => C ; signBit ${comp_gt(bitwise_and(C, B) , 0)} - 1 :JMPC(opSIGNEXTENDPositive) ; 0 if negative, -1 if positive ${bitwise_or(B, bitwise_not(C - 1))} => B :JMP(opSIGNEXTENDEnd) opSIGNEXTENDPositive: - ${bitwise_and(B, C - 1)} => B ; // TODO: ARITH + ; Sub operation with Arith + C :MSTORE(arithA) + 1 :MSTORE(arithB) + :CALL(subARITH) + $ => A :MLOAD(arithRes1) + ${bitwise_and(B, A)} => B opSIGNEXTENDEnd: B :MSTORE(SP++) @@ -198,12 +231,14 @@ set1: opSLT: SP - 1 => SP - $ => A :MLOAD(SP--) - $ => B :MLOAD(SP) + $ => E :MLOAD(SP--) + $ => C :MLOAD(SP) + 1 => B + 0 => D + ${E-C} => A + ;E :ARITH GAS-3 => GAS - ${A - B} => A ${comp_gt(A, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)} :MSTORE(SP++) - :JMP(readCode) opLT: SP - 1 => SP @@ -215,10 +250,13 @@ opLT: opSGT: SP - 1 => SP - $ => A :MLOAD(SP--) - $ => B :MLOAD(SP) + $ => C :MLOAD(SP--) + $ => E :MLOAD(SP) + 1 => B + 0 => D + ${E-C} => A + ;E :ARITH GAS-3 => GAS - ${B - A} => A ${comp_gt(A, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)} :MSTORE(SP++) :JMP(readCode) opGT: @@ -287,8 +325,14 @@ opBYTE: ; TODO: Adapt to division opSHR: ; //TODO: SHR byte by byte working fine. Not working when shifting bits. Could be done by: [B / 2**(A%8)] or SHR bits directly SP - 1 => SP - $ => D :MLOAD(SP--) - ${D/8} => D + $ => E :MLOAD(SP--) + ; Div operation with Arith + E :MSTORE(arithA) + 8 :MSTORE(arithB) + :CALL(divARITH) + $ => D :MLOAD(arithRes1) + $ => C :MLOAD(arithRes2) + ${comp_gt(D, 32)} => B ${B * 32 + bitwise_xor(B, 1) * D} => D @@ -301,8 +345,13 @@ opSHR: ; //TODO: SHR byte by byte working fine. Not working when shifting bits. ; TODO: Adapt to multiplication opSHL: ; //TODO: SHL byte by byte working fine. Not working when shifting bits. Could be done by: [B / 2**(A%8)] or SHR bits directly SP - 1 => SP - $ => D :MLOAD(SP--) - ${D/8} => D + $ => E :MLOAD(SP--) + ; Div operation with Arith + E :MSTORE(arithA) + 8 :MSTORE(arithB) + :CALL(divARITH) + $ => D :MLOAD(arithRes1) + $ => C :MLOAD(arithRes2) ${comp_gt(D, 32)} => B ${B * 32 + bitwise_xor(B, 1) * D} => D @@ -316,8 +365,12 @@ opSHL: ; //TODO: SHL byte by byte working fine. Not working when shifting bits. ; https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/vm/src/evm/opcodes/functions.ts#L342 opSAR: SP - 1 => SP - $ => D :MLOAD(SP--) - ${D/8} => D ;// TODO: ARITH + $ => E :MLOAD(SP--) + ; Div operation with Arith + E :MSTORE(arithA) + 8 :MSTORE(arithB) + :CALL(divARITH) + $ => D :MLOAD(arithRes1) ${comp_gt(D, 32)} => B ${B * 32 + bitwise_xor(B, 1) * D} => D @@ -331,7 +384,12 @@ opSAR: :JMP(readCode) opSARNeg: - ${comp_gt(1, A) + A} => A ; TODO: add comments + ARITH + ; Add operation with Arith + ${comp_gt(1, A)}:MSTORE(arithA) + A :MSTORE(arithB) + :CALL(addARITH) + $ => A :MLOAD(arithRes1) + ; TODO: add comments :CALL(ca2) A :MSTORE(SP++) GAS-3 => GAS @@ -344,7 +402,21 @@ opSHA3: E + C :MSTORE(lastMemLength) ; gas GAS - 30 => GAS ; gas static = 30 - GAS - ${6*((C+31)/32)} => GAS ; dynamic_gas = dynamic_gas = 6 * minimum_word_size + memory_expansion_cost ; TODO: ARITH + ; Div operation with Arith + ;${6*((C+31)/32)} + C+31 => A + ;(C+31)/32 + A :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + ; Mul operation with Arith + ; 6*((C+31)/32) + 6 :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(mulARITH) + $ => A :MLOAD(arithRes1) + GAS - A => GAS ; dynamic_gas = dynamic_gas = 6 * minimum_word_size + memory_expansion_cost ; new hash id $ => B :MLOAD(lastHashIdUsed) B + 1 => B :MSTORE(lastHashIdUsed) @@ -424,9 +496,13 @@ opCALLVALUE: ; // TODO: Check when a contract is deployed with CREATE opCALLDATALOAD: SP - 1 => SP - $ => A :MLOAD(SP) - ${A/32} => B - ${A%32} => A ; //TODO: ARITH + $ => E :MLOAD(SP) + ; Div operation with Arith + E :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => B :MLOAD(arithRes1) + $ => A :MLOAD(arithRes2) 0 - A :JMPC(opCALLDATALOAD2) SP => C 1024 + B => SP @@ -471,11 +547,16 @@ opCALLDATACOPY: opCALLDATACOPYinit: C - 1 :JMPC(opCALLDATACOPYend) C - 32 :JMPC(opCALLDATACOPYfinal) - ${B%32} => D - 1024 + ${B/32} => SP + B :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => D :MLOAD(arithRes2) + $ => A :MLOAD(arithRes1) + 1024 + A => SP $ => A :MLOAD(SP) $ => C :SHL - 1024 + ${B/32} + 1 => SP + $ => A :MLOAD(arithRes1) + 1024 + A + 1 => SP 32 - D => D $ => A :MLOAD(SP) $ => A :SHR @@ -653,7 +734,20 @@ opRETURNDATACOPY: B + C => B ;RETURNDATA[offset:offset+length] $ => C :MLOAD(SP) ;length - length return data GAS - 3 => GAS - GAS - ${3*((C+31)/32)} => GAS ; // TODO: ARITH + ;${3*((C+31)/32)} + C+31 => A + ;(C+31)/32 + A :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + ; Mul operation with Arith + ; 3*((C+31)/32) + 3 :MSTORE(arithA) + A :MSTORE(arithB) + :CALL(mulARITH) + $ => A :MLOAD(arithRes1) + GAS - A => GAS B + C :MSTORE(lastMemLength) opRETURNDATACOPYinit: @@ -1001,9 +1095,13 @@ opAuxPUSHA: opAuxPUSHB: SP :MSTORE(SPw) $ => SP :MLOAD(SPr) ; SPr == 1024 - ${PC/32} => A ; //TODO: ARITH + ; Div operation with Arith + PC :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + $ => C :MLOAD(arithRes2) SP + A => SP - ${PC%32} => C A - ${(PC+D)/32} :JMPC(opAuxPUSHC) $ => A :MLOAD(SP) $ => SP :MLOAD(SPw) @@ -1920,25 +2018,32 @@ opRETURNcreate: 0 => B,C $ => E :SLOAD ; Original Balance in E $ => C :MLOAD(txValue) ; A = E - C - ${E-C} => A + ; Sub operation with Arith + E :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(subARITH) + $ => A :MLOAD(arithRes1) + 31 => D $ => B :SHR 0x7F - B :JMPC(invalidTx) ; If A is a negative value --> invalidTx 1 => B 0 => D - E :ARITH ; originalBalance -value in A A => D ; originalBalance -value in D $ => A :MLOAD(txSrcAddr) 0 => B,C $ => SR :SSTORE - ; Increment destination balance + ; Increment destination balance $ => A :MLOAD(createContractAddress) 0 => B,C - $ => C :SLOAD ; Original Balance in E - $ => A :MLOAD(txValue) ; E = A + C - 1 => B - 0 => D - ${A+C} => D :ARITH ; originalBalance + value in D + $ => C :SLOAD ; Original Balance in E + $ => A :MLOAD(txValue) + ; Add operation with Arith + A :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(addARITH) + $ => D :MLOAD(arithRes1) ; originalBalance + value in D + $ => A :MLOAD(createContractAddress) 0 => B,C $ => SR :SSTORE @@ -2190,11 +2295,11 @@ opSELFDESTRUCT: $ => E :SLOAD ; compute new receiver balance - D => A - E => C - 1 => B - 0 => D - ${A+C} => D :ARITH + ; Add operation with Arith + D :MSTORE(arithA) + E :MSTORE(arithB) + :CALL(addARITH) + $ => D :MLOAD(arithRes1) ; transfer balance to receiver $ => A :MLOAD(SP) diff --git a/main/process_tx.zkasm b/main/process_tx.zkasm index 4fbf0f00..6d26481a 100644 --- a/main/process_tx.zkasm +++ b/main/process_tx.zkasm @@ -72,15 +72,18 @@ endCheckChainId: ;;;;;;;; $ => A :MLOAD(txGas) ; Multiplies the txGas amd the txGasPrice - $ => B :MLOAD(txGasPrice) - 0 => C - 0 => D ; Forces no overflow - ${A*B} => D :ARITH ; gas*gasPrice in D + $ => B :MLOAD(txGasPrice) ; gas*gasPrice in D + ; Mul operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(mulARITH) + $ => D :MLOAD(arithRes1) $ => A :MLOAD(txSrcOriginAddr) 0 => B,C $ => E :SLOAD ; Original Balance in E - D => C ; A = E - C + D => C + ; A = E - C ${E-C} => A 31 => D $ => B :SHR ; //TODO: Could be replaces by: ${bitwise_and(A, 2**255)} + [ ${comp_eq(A, 0x80)} or (0x7F - B)] @@ -89,7 +92,7 @@ endCheckChainId: 0 => D E :ARITH ; originalBalance -gas*gasPrice in A - A => D ; originalBalance -gas*gasPrice in D + A => D $ => A :MLOAD(txSrcOriginAddr) 0 => B,C @@ -126,8 +129,13 @@ addGas: 1024 + C => SP :JMP(loopBytes) loopBytes: - A - ${C*32} - D - 1 :JMPC(txType) - ; TODO: ARITH + ; Mul operation with Arith + C :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(mulARITH) + $ => B :MLOAD(arithRes1) + + A - B - D - 1 :JMPC(txType) 32 - D - 1 :JMPC(addGas) $ => B :MLOAD(SP) ; TODO: mask to get byte per byte ${getByte(B,D)} => B @@ -213,7 +221,14 @@ endContractAddress: create2: $ => C :MLOAD(txCalldataLen) - ${(C+31)/32} => A ; // TODO: ARITH + + ${(C+31)/32} => A + ; Div operation with Arith + ${C+31} :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + GAS - 6*A => GAS 1024 => SP :JMP(loopCreate2) @@ -268,9 +283,15 @@ deploy: readDeployBytecode: SP :MSTORE(SPw) $ => SP :MLOAD(SPr) - SP + ${PC/32} => SP - ${PC%32} => C - ; // TODO: ARITH + ; Div operation with Arith + PC :MSTORE(arithA) + 32 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) + $ => C :MLOAD(arithRes2) + + SP + A => SP + $ => B :MLOAD(txCalldataLen) B - PC :JMPC(endDeploy) $ => A :MLOAD(SP) @@ -337,16 +358,18 @@ moveBalances: 0 => B,C $ => E :SLOAD ; Original Balance in E $ => C :MLOAD(txValue) ; A = E - C - ${E-C} => A + ; Sub operation with Arith + E :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(subARITH) + $ => A :MLOAD(arithRes1) + 31 => D $ => B :SHR 0x7F - B :JMPC(invalidTx) ; If A is a negative value --> invalidTx 1 => B 0 => D - E :ARITH ; originalBalance -value in A - A => D ; originalBalance -value in D - $ => A :MLOAD(txSrcAddr) 0 => B,C $ => SR :SSTORE @@ -355,11 +378,12 @@ moveBalances: $ => A :MLOAD(txDestAddr) 0 => B,C $ => C :SLOAD ; Original Balance in E - $ => A :MLOAD(txValue) ; E = A + C - 1 => B - 0 => D - ${A+C} => D :ARITH ; originalBalance + value in D + ; Add operation with Arith + A :MSTORE(arithA) + C :MSTORE(arithB) + :CALL(addARITH) + $ => D :MLOAD(arithRes1) $ => A :MLOAD(txDestAddr) 0 => B,C @@ -376,7 +400,11 @@ moveBalances: B - 1 :JMPC(refundGas) $ => A :MLOAD(txGas) A - GAS => A - ${A/2} => A ; // TODO: Missing :ARITH, could be done by :SHR one bit + ; Div operation with Arith + A :MSTORE(arithA) + 2 :MSTORE(arithB) + :CALL(divARITH) + $ => A :MLOAD(arithRes1) A - B :JMPC(refundGas) B => A @@ -384,18 +412,21 @@ refundGas: GAS + A => GAS GAS => A $ => B :MLOAD(txGasPrice) - 0 => C - 0 => D ; Forces no overflow - ${A*B} => D :ARITH ; valueToReturn in D + ;Mul operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(mulARITH) + $ => D :MLOAD(arithRes1) $ => A :MLOAD(txSrcOriginAddr) 0 => B,C $ => A :SLOAD ; Original Balance in A - 1 => B - D => C - 0 => D - ${A+C} => D :ARITH ; New Balance in D + ; Add operation with Arith + A :MSTORE(arithA) + D :MSTORE(arithB) + :CALL(addARITH) + $ => D :MLOAD(arithRes1) $ => A :MLOAD(txSrcOriginAddr) 0 => B,C @@ -408,20 +439,21 @@ refundGas: $ => A :MLOAD(txGas) ; Multiplies the txGas amd the txGasPrice A - GAS => A ; A = txGas -GAS - $ => B :MLOAD(txGasPrice) - 0 => C - 0 => D ; Forces no overflow - ${A*B} => D :ARITH ; value to pay the sequencer in D + $ => B :MLOAD(txGasPrice) ; value to pay the sequencer in D + ; Mul operation with Arith + A :MSTORE(arithA) + B :MSTORE(arithB) + :CALL(mulARITH) + $ => D :MLOAD(arithRes1) - $ => A :MLOAD(sequencerAddr) + $ => A :MLOAD(sequencerAddr) 0 => B,C - $ => A :SLOAD ; Original Balance in A - - 1 => B - D => C - 0 => D - ${A+C} => D :ARITH ; New Balance in D - + $ => A :SLOAD ; Original Balance in A + ; Add operation with Arith + A :MSTORE(arithA) + D :MSTORE(arithB) + :CALL(addARITH) + $ => D :MLOAD(arithRes1) $ => A :MLOAD(sequencerAddr) 0 => B,C $ => SR :SSTORE diff --git a/main/utils.zkasm b/main/utils.zkasm index a88afd08..6171655d 100644 --- a/main/utils.zkasm +++ b/main/utils.zkasm @@ -5,6 +5,11 @@ VAR GLOBAL tmpVarB VAR GLOBAL tmpVarC VAR GLOBAL tmpVarD VAR GLOBAL tmpVarE +VAR GLOBAL arithA +VAR GLOBAL arithB +VAR GLOBAL arithRes1 +VAR GLOBAL arithRes2 +VAR GLOBAL tmpZkPC ; @info Get absolute value and sign ; @in A => number to convert @@ -19,7 +24,7 @@ abs: ; @out A => number converted in ca2 ca2: ${bitwise_xor(A, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)} => A - ${A + 1} => A ; TODO: ARITH + A + 1 => A endca2: :RETURN @@ -232,9 +237,27 @@ MLOAD32: B :MSTORE(tmpVarB) C :MSTORE(tmpVarC) D :MSTORE(tmpVarD) - ${E%32} - 1 :JMPC(MLOAD322) - ${E%32} => C - ${(E/32)*32} => E ; // TODO: ARITH + + 32 => A + ${E%A} => C + ${E/A} => B + 0 => D + E :ARITH + + C - 1 :JMPC(MLOAD322) + ; ${(E/32)*32} => E - floor E + ${E%A} => C + ${E/A} => B + 0 => D + E :ARITH + + C :MSTORE(tmpVarA) + 0 => C + ${A*B} => E :ARITH + $ => C :MLOAD(tmpVarA) + +;TODO: Add --> LT(Residu < numToDiv) + $ => A :MLOAD(MEM:E) C => D $ => B :SHL ;// TODO: Mask instead of shift @@ -371,4 +394,89 @@ saveMem: GAS + 3*B + ${B*B/512} => GAS $ => A :MLOAD(tmpVarA) $ => B :MLOAD(tmpVarB) - :RETURN \ No newline at end of file + :RETURN +addARITH: + + RR :MSTORE(tmpZkPC) + zkPC+1 => RR :JMP(storeTmp) + + $ => A :MLOAD(arithA) + $ => C :MLOAD(arithB) + 1 => B + 0 => D + ${A+C} => E :ARITH + + E :MSTORE(arithRes1) + + zkPC+1 => RR :JMP(loadTmp) + $ => RR :MLOAD(tmpZkPC) + :JMP(RR) + +subARITH: + + RR :MSTORE(tmpZkPC) + zkPC+1 => RR :JMP(storeTmp) + + $ => E :MLOAD(arithA) + $ => C :MLOAD(arithB) + 1 => B + 0 => D + ${E-C} => A + E :ARITH + + A :MSTORE(arithRes1) + + zkPC+1 => RR :JMP(loadTmp) + $ => RR :MLOAD(tmpZkPC) + :JMP(RR) + +mulARITH: + + RR :MSTORE(tmpZkPC) + zkPC+1 => RR :JMP(storeTmp) + + $ => A :MLOAD(arithA) + $ => B :MLOAD(arithB) + 0 => C + 0 => D + ${A*B} => E :ARITH + + E :MSTORE(arithRes1) + + zkPC+1 => RR :JMP(loadTmp) + $ => RR :MLOAD(tmpZkPC) + :JMP(RR) + +divARITH: + + RR :MSTORE(tmpZkPC) + zkPC+1 => RR :JMP(storeTmp) + + $ => E :MLOAD(arithA) + $ => A :MLOAD(arithB) + ${E%A} => C + ${E/A} => B + 0 => D + E :ARITH ;TODO: Add --> LT(Residu < numToDiv) + + B :MSTORE(arithRes1) + C :MSTORE(arithRes2) + + zkPC+1 => RR :JMP(loadTmp) + $ => RR :MLOAD(tmpZkPC) + :JMP(RR) + +loadTmp: + $ => A :MLOAD(tmpVarA) + $ => B :MLOAD(tmpVarB) + $ => C :MLOAD(tmpVarC) + $ => D :MLOAD(tmpVarD) + $ => E :MLOAD(tmpVarE) + :JMP(RR) +storeTmp: + A :MSTORE(tmpVarA) + B :MSTORE(tmpVarB) + C :MSTORE(tmpVarC) + D :MSTORE(tmpVarD) + E :MSTORE(tmpVarE) + :JMP(RR) \ No newline at end of file