diff --git a/build/rom.json b/build/rom.json index adc72e66..6604bc09 100644 --- a/build/rom.json +++ b/build/rom.json @@ -12,7 +12,7 @@ "line": 5, "offsetLabel": "globalHash", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -26,7 +26,7 @@ "line": 6, "offsetLabel": "globalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -40,13 +40,13 @@ "line": 7, "offsetLabel": "oldStateRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, "line": 9, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -59,7 +59,7 @@ "line": 10, "offsetLabel": "oldStateRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", @@ -67,19 +67,13 @@ "offset": 0, "hashWR": 1, "line": 11, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "setSR": 1, "line": 12, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" - }, - { - "CONST": "32", - "setD": 1, - "line": 14, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -92,16 +86,16 @@ "ind": 0, "offset": 0, "hashWR": 1, - "line": 15, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 14, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "offset": 12, "mWR": 1, - "line": 16, + "line": 15, "offsetLabel": "oldLocalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -112,10 +106,10 @@ "inFREE": "1", "offset": 14, "mWR": 1, - "line": 18, + "line": 17, "offsetLabel": "newLocalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -126,10 +120,10 @@ "inFREE": "1", "offset": 7, "mWR": 1, - "line": 20, + "line": 19, "offsetLabel": "sequencerAddr", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -140,10 +134,10 @@ "inFREE": "1", "offset": 18, "mWR": 1, - "line": 22, + "line": 21, "offsetLabel": "batchHashData", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -154,28 +148,28 @@ "inFREE": "1", "offset": 9, "mWR": 1, - "line": 24, + "line": 23, "offsetLabel": "chainId", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "1000", "offset": 10, "mWR": 1, - "line": 26, + "line": 25, "offsetLabel": "defaultChainId", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "offset": 8, "mWR": 1, - "line": 27, + "line": 26, "offsetLabel": "systemAddr", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -186,10 +180,10 @@ "inFREE": "1", "offset": 15, "mWR": 1, - "line": 34, + "line": 33, "offsetLabel": "numBatch", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -200,10 +194,10 @@ "inFREE": "1", "offset": 16, "mWR": 1, - "line": 36, + "line": 35, "offsetLabel": "timestamp", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -214,28 +208,28 @@ "inFREE": "1", "offset": 20, "mWR": 1, - "line": 38, - "offsetLabel": "txsListLength", + "line": 37, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "offset": 28, "mWR": 1, - "line": 41, + "line": 40, "offsetLabel": "batchDifficulty", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "30000000", "offset": 29, "mWR": 1, - "line": 42, + "line": 41, "offsetLabel": "batchGasLimit", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -245,10 +239,10 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 49, + "line": 48, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inE": "1", @@ -256,16 +250,16 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 50, + "line": 49, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, - "line": 51, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 50, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -275,10 +269,10 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 52, + "line": 51, "offsetLabel": "numBatch", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", @@ -286,23 +280,23 @@ "ind": 1, "offset": 0, "hashWR": 1, - "line": 53, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 52, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "ind": 1, "offset": 0, "hashWR": 1, - "line": 54, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 53, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 55, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 54, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -313,8 +307,8 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 56, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 55, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -324,16 +318,16 @@ "setA": 1, "offset": 8, "mRD": 1, - "line": 58, + "line": 57, "offsetLabel": "systemAddr", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "3", "setB": 1, - "line": 59, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 58, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -343,10 +337,10 @@ "setD": 1, "offset": 11, "mRD": 1, - "line": 60, + "line": 59, "offsetLabel": "oldStateRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -355,8 +349,8 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 61, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 60, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -366,10 +360,10 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 66, + "line": 65, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inE": "1", @@ -377,16 +371,16 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 67, + "line": 66, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, - "line": 68, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 67, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -396,33 +390,33 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 69, + "line": 68, "offsetLabel": "numBatch", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 70, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 69, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "ind": 1, "offset": 0, "hashWR": 1, - "line": 71, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 70, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 72, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 71, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -433,8 +427,8 @@ "ind": 1, "offset": 0, "hashRD": 1, - "line": 73, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 72, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -444,14 +438,14 @@ }, "inFREE": "1", "setA": 1, - "line": 75, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 74, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "3", "setB": 1, "line": 76, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -464,7 +458,7 @@ "line": 77, "offsetLabel": "globalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -474,16 +468,16 @@ "setSR": 1, "sWR": 1, "line": 78, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inE": "1", "offset": 5, "mWR": 1, - "line": 83, + "line": 84, "offsetLabel": "lastTxHashId", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -493,16 +487,16 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 84, + "line": 85, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "offset": 4, "mWR": 1, - "line": 85, + "line": 86, "cmdAfter": [ { "op": "setVar", @@ -520,7 +514,7 @@ ], "offsetLabel": "ctxTxToUse", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -530,10 +524,10 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 90, + "line": 91, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", @@ -541,10 +535,10 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 91, + "line": 92, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -554,10 +548,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 93, - "offsetLabel": "txsListLength", + "line": 94, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -567,33 +561,33 @@ "setC": 1, "offset": 1, "mRD": 1, - "line": 94, - "offsetLabel": "batchL2DataRead", + "line": 95, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inC": "1", "inA": "-1", "JMPC": 1, - "offset": 146, - "line": 95, + "offset": 145, + "line": 96, "offsetLabel": "loadTx_rlp", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 54, - "line": 96, + "offset": 53, + "line": 97, "offsetLabel": "endCheckRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 55, - "line": 99, + "offset": 54, + "line": 100, "offsetLabel": "txLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -603,10 +597,10 @@ "setA": 1, "offset": 2, "mRD": 1, - "line": 102, + "line": 103, "offsetLabel": "pendingTxs", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", @@ -614,18 +608,18 @@ "setA": 1, "offset": 2, "mWR": 1, - "line": 103, + "line": 104, "offsetLabel": "pendingTxs", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "JMPC": 1, - "offset": 62, - "line": 104, + "offset": 61, + "line": 105, "offsetLabel": "processTxsEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -635,10 +629,10 @@ "setA": 1, "offset": 4, "mRD": 1, - "line": 106, + "line": 107, "offsetLabel": "ctxTxToUse", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", @@ -646,24 +640,24 @@ "setCTX": 1, "offset": 4, "mWR": 1, - "line": 107, + "line": 108, "offsetLabel": "ctxTxToUse", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 483, - "line": 109, + "offset": 623, + "line": 110, "offsetLabel": "processTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 55, - "line": 112, + "offset": 54, + "line": 113, "offsetLabel": "txLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -673,20 +667,20 @@ }, "inFREE": "1", "setA": 1, - "line": 119, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 120, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "3", "setB": 1, - "line": 120, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 121, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "1", "setC": 1, - "line": 121, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 122, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -695,8 +689,8 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 122, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 123, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -706,10 +700,10 @@ "offset": 14, "mRD": 1, "assert": 1, - "line": 123, + "line": 124, "offsetLabel": "newLocalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -719,10 +713,10 @@ "setE": 1, "offset": 6, "mRD": 1, - "line": 130, + "line": 131, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inE": "1", @@ -730,10 +724,10 @@ "setE": 1, "offset": 6, "mWR": 1, - "line": 131, + "line": 132, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -743,15 +737,15 @@ "setB": 1, "offset": 20, "mRD": 1, - "line": 136, - "offsetLabel": "txsListLength", + "line": 137, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "setC": 1, - "line": 137, + "line": 138, "cmdAfter": [ { "op": "setVar", @@ -767,23 +761,23 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inB": "1", "inC": "-1", "CONST": "-32", "JMPC": 1, - "offset": 77, - "line": 141, + "offset": 76, + "line": 142, "offsetLabel": "endAppendTxs", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, - "line": 142, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 143, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -802,7 +796,7 @@ }, "inFREE": "1", "setA": 1, - "line": 143, + "line": 144, "cmdAfter": [ { "op": "setVar", @@ -827,36 +821,36 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 145, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 146, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 146, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 147, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 71, - "line": 147, + "offset": 70, + "line": 148, "offsetLabel": "appendTxs", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inB": "1", "inC": "-1", "setD": 1, - "line": 150, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 151, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -875,7 +869,7 @@ }, "inFREE": "1", "setA": 1, - "line": 151, + "line": 152, "cmdAfter": [ { "op": "setVar", @@ -900,28 +894,28 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 153, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 154, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 154, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 155, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inC": "1", "setA": 1, - "line": 159, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 160, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -931,16 +925,16 @@ "offset": 20, "mRD": 1, "assert": 1, - "line": 160, - "offsetLabel": "txsListLength", + "line": 161, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, - "line": 165, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 166, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -950,24 +944,24 @@ "setA": 1, "offset": 19, "mRD": 1, - "line": 166, + "line": 167, "offsetLabel": "globalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 167, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 168, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "8", "setD": 1, - "line": 168, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 169, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -977,24 +971,24 @@ "setA": 1, "offset": 16, "mRD": 1, - "line": 169, + "line": 170, "offsetLabel": "timestamp", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 170, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 171, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "20", "setD": 1, - "line": 171, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 172, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1004,24 +998,24 @@ "setA": 1, "offset": 7, "mRD": 1, - "line": 172, + "line": 173, "offsetLabel": "sequencerAddr", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 173, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 174, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "8", "setD": 1, - "line": 174, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 175, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1031,18 +1025,18 @@ "setA": 1, "offset": 9, "mRD": 1, - "line": 175, + "line": 176, "offsetLabel": "chainId", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 176, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 177, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1052,25 +1046,25 @@ "setA": 1, "offset": 15, "mRD": 1, - "line": 177, + "line": 178, "offsetLabel": "numBatch", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 178, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 179, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 179, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 180, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1080,10 +1074,10 @@ "setA": 1, "offset": 18, "mRD": 1, - "line": 180, + "line": 181, "offsetLabel": "batchHashData", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1094,22 +1088,22 @@ "offset": 0, "hashRD": 1, "assert": 1, - "line": 181, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 182, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "32", "setD": 1, - "line": 187, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 188, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inSR": "1", "ind": 0, "offset": 0, "hashWR": 1, - "line": 188, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 189, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1119,18 +1113,18 @@ "setA": 1, "offset": 14, "mRD": 1, - "line": 190, + "line": 191, "offsetLabel": "newLocalExitRoot", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 0, "offset": 0, "hashWR": 1, - "line": 191, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 192, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1140,25 +1134,25 @@ "setA": 1, "offset": 18, "mRD": 1, - "line": 193, + "line": 194, "offsetLabel": "batchHashData", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inA": "1", "ind": 0, "offset": 0, "hashWR": 1, - "line": 194, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 195, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "ind": 0, "offset": 0, "hashE": 1, - "line": 196, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 197, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1168,10 +1162,10 @@ "setA": 1, "offset": 0, "mRD": 1, - "line": 198, + "line": 199, "offsetLabel": "globalHash", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1182,8 +1176,8 @@ "offset": 0, "hashRD": 1, "assert": 1, - "line": 199, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 200, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", @@ -1198,203 +1192,203 @@ "setGAS": 1, "setMAXMEM": 1, "setSR": 1, - "line": 201, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "line": 202, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inSTEP": "1", "CONST": "-65496", "JMPC": 1, - "offset": 112, - "line": 204, + "offset": 111, + "line": 205, "offsetLabel": "longLoop2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, - "offset": 144, - "line": 205, + "offset": 143, + "line": 206, "offsetLabel": "finalLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" - }, - { - "CONST": "0", - "line": 207, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 208, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 209, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 210, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 211, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 212, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 213, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 214, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 215, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 216, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 217, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 218, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 219, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 220, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 221, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 222, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 223, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 224, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 225, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 226, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 227, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 228, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 229, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 230, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 231, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 232, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 233, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 234, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 235, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 236, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", "line": 237, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "CONST": "0", - "JMP": 1, - "offset": 110, "line": 238, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" + }, + { + "CONST": "0", + "JMP": 1, + "offset": 109, + "line": 239, "offsetLabel": "longLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "inSTEP": "1", "CONST": "-65534", "JMPC": 1, - "offset": 144, - "line": 243, + "offset": 143, + "line": 244, "offsetLabel": "finalLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "JMP": 1, "offset": 0, - "line": 245, + "line": 246, "offsetLabel": "start", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/main.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/main.zkasm" }, { "freeInTag": { @@ -1407,7 +1401,7 @@ "line": 5, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inE": "1", @@ -1418,19 +1412,19 @@ "line": 6, "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "0", "setC": 1, - "line": 7, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 8, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 14, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 15, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1440,10 +1434,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 15, - "offsetLabel": "txsListLength", + "line": 16, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1453,10 +1447,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 16, - "offsetLabel": "batchL2DataRead", + "line": 17, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -1464,10 +1458,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 17, + "offset": 372, + "line": 18, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1486,7 +1480,7 @@ }, "inFREE": "1", "setA": 1, - "line": 18, + "line": 19, "cmdAfter": [ { "op": "setVar", @@ -1511,47 +1505,47 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 20, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 21, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 21, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-192", "JMPC": 1, - "offset": 373, - "line": 22, + "offset": 372, + "line": 23, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-248", "JMPC": 1, - "offset": 166, - "line": 23, + "offset": 165, + "line": 24, "offsetLabel": "shortList", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-247", "setD": 1, - "line": 26, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 27, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1561,10 +1555,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 27, - "offsetLabel": "txsListLength", + "line": 28, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1574,10 +1568,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 28, - "offsetLabel": "batchL2DataRead", + "line": 29, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -1585,10 +1579,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 29, + "offset": 372, + "line": 30, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1607,7 +1601,7 @@ }, "inFREE": "1", "setA": 1, - "line": 30, + "line": 31, "cmdAfter": [ { "op": "setVar", @@ -1632,52 +1626,52 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 32, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 33, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 33, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 34, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 167, - "line": 34, + "offset": 166, + "line": 35, "offsetLabel": "endList", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-192", "setA": 1, - "line": 36, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 37, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "inC": "1", "offset": 21, "mWR": 1, - "line": 39, - "offsetLabel": "txListLength", + "line": 40, + "offsetLabel": "txRLPLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 48, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 49, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1687,10 +1681,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 49, - "offsetLabel": "txsListLength", + "line": 50, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1700,10 +1694,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 50, - "offsetLabel": "batchL2DataRead", + "line": 51, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -1711,10 +1705,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 51, + "offset": 372, + "line": 52, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1733,7 +1727,7 @@ }, "inFREE": "1", "setA": 1, - "line": 52, + "line": 53, "cmdAfter": [ { "op": "setVar", @@ -1758,63 +1752,63 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 54, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 55, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 55, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 56, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 186, - "line": 56, + "offset": 185, + "line": 57, "offsetLabel": "endNonce", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-137", "JMPC": 1, - "offset": 178, - "line": 57, + "offset": 177, + "line": 58, "offsetLabel": "shortNonce", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 58, + "offset": 372, + "line": 59, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 60, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 61, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inD": "1", "offset": 5, "mWR": 1, - "line": 61, + "line": 62, "offsetLabel": "lengthNonce", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1824,10 +1818,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 62, - "offsetLabel": "txsListLength", + "line": 63, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1837,10 +1831,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 63, - "offsetLabel": "batchL2DataRead", + "line": 64, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -1848,10 +1842,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 64, + "offset": 372, + "line": 65, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1870,7 +1864,7 @@ }, "inFREE": "1", "setA": 1, - "line": 65, + "line": 66, "cmdAfter": [ { "op": "setVar", @@ -1895,37 +1889,37 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 67, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 68, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 68, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 69, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 4, "mWR": 1, - "line": 71, + "line": 72, "offsetLabel": "txNonce", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 80, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 81, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1935,10 +1929,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 81, - "offsetLabel": "txsListLength", + "line": 82, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1948,10 +1942,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 82, - "offsetLabel": "batchL2DataRead", + "line": 83, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -1959,10 +1953,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 83, + "offset": 372, + "line": 84, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -1981,7 +1975,7 @@ }, "inFREE": "1", "setA": 1, - "line": 84, + "line": 85, "cmdAfter": [ { "op": "setVar", @@ -2006,54 +2000,54 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 86, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 87, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 87, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 88, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 204, - "line": 89, + "offset": 203, + "line": 90, "offsetLabel": "endGasPrice", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-161", "JMPC": 1, - "offset": 197, - "line": 90, + "offset": 196, + "line": 91, "offsetLabel": "shortGasPrice", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 91, + "offset": 372, + "line": 92, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 93, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 94, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2063,10 +2057,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 94, - "offsetLabel": "txsListLength", + "line": 95, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2076,10 +2070,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 95, - "offsetLabel": "batchL2DataRead", + "line": 96, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2087,10 +2081,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 96, + "offset": 372, + "line": 97, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2109,7 +2103,7 @@ }, "inFREE": "1", "setA": 1, - "line": 97, + "line": 98, "cmdAfter": [ { "op": "setVar", @@ -2134,37 +2128,37 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 99, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 100, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 100, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 101, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 6, "mWR": 1, - "line": 104, + "line": 105, "offsetLabel": "txGasPrice", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 113, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 114, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2174,10 +2168,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 114, - "offsetLabel": "txsListLength", + "line": 115, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2187,10 +2181,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 115, - "offsetLabel": "batchL2DataRead", + "line": 116, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2198,10 +2192,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 116, + "offset": 372, + "line": 117, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2220,7 +2214,7 @@ }, "inFREE": "1", "setA": 1, - "line": 117, + "line": 118, "cmdAfter": [ { "op": "setVar", @@ -2245,54 +2239,54 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 119, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 120, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 120, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 121, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 222, - "line": 121, + "offset": 221, + "line": 122, "offsetLabel": "endGas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-161", "JMPC": 1, - "offset": 215, - "line": 122, + "offset": 214, + "line": 123, "offsetLabel": "shortGas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 123, + "offset": 372, + "line": 124, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 125, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 126, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2302,10 +2296,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 126, - "offsetLabel": "txsListLength", + "line": 127, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2315,10 +2309,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 127, - "offsetLabel": "batchL2DataRead", + "line": 128, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2326,10 +2320,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 128, + "offset": 372, + "line": 129, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2348,7 +2342,7 @@ }, "inFREE": "1", "setA": 1, - "line": 129, + "line": 130, "cmdAfter": [ { "op": "setVar", @@ -2373,37 +2367,37 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 131, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 132, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 132, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 133, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 0, "mWR": 1, - "line": 135, + "line": 136, "offsetLabel": "txGas", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 143, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 144, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2413,10 +2407,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 144, - "offsetLabel": "txsListLength", + "line": 145, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2426,10 +2420,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 145, - "offsetLabel": "batchL2DataRead", + "line": 146, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2437,10 +2431,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 146, + "offset": 372, + "line": 147, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2459,7 +2453,7 @@ }, "inFREE": "1", "setA": 1, - "line": 147, + "line": 148, "cmdAfter": [ { "op": "setVar", @@ -2484,88 +2478,88 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 149, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 150, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 150, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 151, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 373, - "line": 151, + "offset": 372, + "line": 152, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-129", "JMPC": 1, - "offset": 235, - "line": 152, + "offset": 234, + "line": 153, "offsetLabel": "noTo", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-148", "JMPC": 1, - "offset": 373, - "line": 153, + "offset": 372, + "line": 154, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-149", "JMPC": 1, - "offset": 237, - "line": 154, + "offset": 236, + "line": 155, "offsetLabel": "shortTo", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 155, + "offset": 372, + "line": 156, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "offset": 12, "mWR": 1, - "line": 159, - "offsetLabel": "txIsCreateContract", + "line": 160, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 246, - "line": 160, + "offset": 245, + "line": 161, "offsetLabel": "endTo", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 163, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 164, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2575,10 +2569,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 164, - "offsetLabel": "txsListLength", + "line": 165, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2588,10 +2582,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 165, - "offsetLabel": "batchL2DataRead", + "line": 166, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2599,10 +2593,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 166, + "offset": 372, + "line": 167, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2621,7 +2615,7 @@ }, "inFREE": "1", "setA": 1, - "line": 167, + "line": 168, "cmdAfter": [ { "op": "setVar", @@ -2646,46 +2640,46 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 169, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 170, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 170, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 171, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 1, "mWR": 1, - "line": 171, + "line": 172, "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 2, "mWR": 1, - "line": 172, + "line": 173, "offsetLabel": "storageAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 183, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 184, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2695,10 +2689,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 184, - "offsetLabel": "txsListLength", + "line": 185, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2708,10 +2702,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 185, - "offsetLabel": "batchL2DataRead", + "line": 186, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2719,10 +2713,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 186, + "offset": 372, + "line": 187, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2741,7 +2735,7 @@ }, "inFREE": "1", "setA": 1, - "line": 187, + "line": 188, "cmdAfter": [ { "op": "setVar", @@ -2766,54 +2760,54 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 189, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 190, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 190, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 191, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 263, - "line": 192, + "offset": 262, + "line": 193, "offsetLabel": "endValue", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-161", "JMPC": 1, - "offset": 256, - "line": 193, + "offset": 255, + "line": 194, "offsetLabel": "shortValue", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 194, + "offset": 372, + "line": 195, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 196, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 197, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2823,10 +2817,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 197, - "offsetLabel": "txsListLength", + "line": 198, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2836,10 +2830,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 198, - "offsetLabel": "batchL2DataRead", + "line": 199, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2847,10 +2841,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 199, + "offset": 372, + "line": 200, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2869,7 +2863,7 @@ }, "inFREE": "1", "setA": 1, - "line": 200, + "line": 201, "cmdAfter": [ { "op": "setVar", @@ -2894,43 +2888,43 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 202, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 203, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 203, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 204, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 3, "mWR": 1, - "line": 207, + "line": 208, "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 215, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 216, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1024", "setSP": 1, - "line": 216, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 217, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2940,10 +2934,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 217, - "offsetLabel": "txsListLength", + "line": 218, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2953,10 +2947,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 218, - "offsetLabel": "batchL2DataRead", + "line": 219, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -2964,10 +2958,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 219, + "offset": 372, + "line": 220, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -2986,7 +2980,7 @@ }, "inFREE": "1", "setA": 1, - "line": 220, + "line": 221, "cmdAfter": [ { "op": "setVar", @@ -3011,80 +3005,80 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 222, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 223, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 223, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 224, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 277, - "line": 224, + "offset": 276, + "line": 225, "offsetLabel": "veryShortData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-129", "JMPC": 1, - "offset": 315, - "line": 225, + "offset": 314, + "line": 226, "offsetLabel": "endData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-184", "JMPC": 1, - "offset": 282, - "line": 226, + "offset": 281, + "line": 227, "offsetLabel": "shortData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-192", "JMPC": 1, - "offset": 284, - "line": 227, + "offset": 283, + "line": 228, "offsetLabel": "longData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 228, + "offset": 372, + "line": 229, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "offset": 7, "mWR": 1, - "line": 231, - "offsetLabel": "txNData", + "line": 232, + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "31", "setD": 1, - "line": 232, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 233, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3093,8 +3087,8 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 233, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 234, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3106,15 +3100,15 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 234, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 235, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 315, - "line": 235, + "offset": 314, + "line": 236, "offsetLabel": "endData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3122,24 +3116,24 @@ "setB": 1, "offset": 7, "mWR": 1, - "line": 238, - "offsetLabel": "txNData", + "line": 239, + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 292, - "line": 239, + "offset": 291, + "line": 240, "offsetLabel": "readData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-183", "setD": 1, - "line": 242, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 243, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3149,10 +3143,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 243, - "offsetLabel": "txsListLength", + "line": 244, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3162,10 +3156,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 244, - "offsetLabel": "batchL2DataRead", + "line": 245, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3173,10 +3167,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 245, + "offset": 372, + "line": 246, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3195,7 +3189,7 @@ }, "inFREE": "1", "setA": 1, - "line": 246, + "line": 247, "cmdAfter": [ { "op": "setVar", @@ -3220,57 +3214,57 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 248, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 249, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 249, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 250, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "setB": 1, "offset": 7, "mWR": 1, - "line": 250, - "offsetLabel": "txNData", + "line": 251, + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "32", "setD": 1, - "line": 253, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 254, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inB": "1", "inD": "-1", "JMPC": 1, - "offset": 304, - "line": 254, + "offset": 303, + "line": 255, "offsetLabel": "readDataFinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inB": "1", "inD": "-1", "offset": 22, "mWR": 1, - "line": 255, + "line": 256, "offsetLabel": "txDataRead", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3280,10 +3274,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 256, - "offsetLabel": "txsListLength", + "line": 257, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3293,10 +3287,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 257, - "offsetLabel": "batchL2DataRead", + "line": 258, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3304,10 +3298,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 258, + "offset": 372, + "line": 259, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3326,7 +3320,7 @@ }, "inFREE": "1", "setA": 1, - "line": 259, + "line": 260, "cmdAfter": [ { "op": "setVar", @@ -3351,22 +3345,22 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 261, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 262, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 262, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 263, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3378,8 +3372,8 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 263, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 264, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3389,32 +3383,32 @@ "setB": 1, "offset": 22, "mRD": 1, - "line": 264, + "line": 265, "offsetLabel": "txDataRead", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 292, - "line": 265, + "offset": 291, + "line": 266, "offsetLabel": "readData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 315, - "line": 269, + "offset": 314, + "line": 270, "offsetLabel": "endData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inB": "1", "setD": 1, - "line": 270, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 271, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3424,10 +3418,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 271, - "offsetLabel": "txsListLength", + "line": 272, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3437,10 +3431,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 272, - "offsetLabel": "batchL2DataRead", + "line": 273, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3448,10 +3442,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 273, + "offset": 372, + "line": 274, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3470,7 +3464,7 @@ }, "inFREE": "1", "setA": 1, - "line": 274, + "line": 275, "cmdAfter": [ { "op": "setVar", @@ -3495,29 +3489,29 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 276, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 277, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 277, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 278, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "32", "inD": "-1", "setD": 1, - "line": 279, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 280, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3526,8 +3520,8 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 280, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 281, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3540,14 +3534,14 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 281, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 282, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 292, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 293, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3557,10 +3551,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 293, - "offsetLabel": "txsListLength", + "line": 294, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3570,10 +3564,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 294, - "offsetLabel": "batchL2DataRead", + "line": 295, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3581,10 +3575,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 295, + "offset": 372, + "line": 296, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3603,7 +3597,7 @@ }, "inFREE": "1", "setA": 1, - "line": 296, + "line": 297, "cmdAfter": [ { "op": "setVar", @@ -3628,54 +3622,54 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 298, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 299, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 299, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 300, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "JMPC": 1, - "offset": 332, - "line": 300, + "offset": 331, + "line": 301, "offsetLabel": "endChainId", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-137", "JMPC": 1, - "offset": 325, - "line": 301, + "offset": 324, + "line": 302, "offsetLabel": "shortChainId", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 373, - "line": 302, + "offset": 372, + "line": 303, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-128", "setD": 1, - "line": 304, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 305, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3685,10 +3679,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 305, - "offsetLabel": "txsListLength", + "line": 306, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3698,10 +3692,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 306, - "offsetLabel": "batchL2DataRead", + "line": 307, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3709,10 +3703,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 307, + "offset": 372, + "line": 308, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3731,7 +3725,7 @@ }, "inFREE": "1", "setA": 1, - "line": 308, + "line": 309, "cmdAfter": [ { "op": "setVar", @@ -3756,37 +3750,37 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 310, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 311, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 311, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 312, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 11, "mWR": 1, - "line": 314, + "line": 315, "offsetLabel": "txChainId", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "2", "setD": 1, - "line": 320, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 321, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3796,10 +3790,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 321, - "offsetLabel": "txsListLength", + "line": 322, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3809,10 +3803,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 322, - "offsetLabel": "batchL2DataRead", + "line": 323, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3820,10 +3814,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 323, + "offset": 372, + "line": 324, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3842,7 +3836,7 @@ }, "inFREE": "1", "setA": 1, - "line": 324, + "line": 325, "cmdAfter": [ { "op": "setVar", @@ -3867,46 +3861,46 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "CONST": "-32896", "JMPC": 1, - "offset": 373, - "line": 326, + "offset": 372, + "line": 327, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "32896", "inA": "-1", "JMPC": 1, - "offset": 373, - "line": 327, + "offset": 372, + "line": 328, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "ind": 1, "offset": 0, "hashWR": 1, - "line": 328, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 329, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 329, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 330, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "setA": 1, - "line": 334, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 335, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3916,41 +3910,41 @@ "setB": 1, "offset": 21, "mRD": 1, - "line": 335, - "offsetLabel": "txListLength", + "line": 336, + "offsetLabel": "txRLPLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "inB": "-1", "JMPC": 1, - "offset": 373, - "line": 336, + "offset": 372, + "line": 337, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inB": "1", "inA": "-1", "JMPC": 1, - "offset": 373, - "line": 337, + "offset": 372, + "line": 338, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "ind": 1, "offset": 0, "hashE": 1, - "line": 338, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 339, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "32", "setD": 1, - "line": 345, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 346, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3960,10 +3954,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 346, - "offsetLabel": "txsListLength", + "line": 347, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -3973,10 +3967,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 347, - "offsetLabel": "batchL2DataRead", + "line": 348, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -3984,10 +3978,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 348, + "offset": 372, + "line": 349, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4006,7 +4000,7 @@ }, "inFREE": "1", "setA": 1, - "line": 349, + "line": 350, "cmdAfter": [ { "op": "setVar", @@ -4031,29 +4025,29 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 17, "mWR": 1, - "line": 351, + "line": 352, "offsetLabel": "txR", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 352, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 353, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "32", "setD": 1, - "line": 359, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 360, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4063,10 +4057,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 360, - "offsetLabel": "txsListLength", + "line": 361, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4076,10 +4070,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 361, - "offsetLabel": "batchL2DataRead", + "line": 362, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -4087,10 +4081,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 362, + "offset": 372, + "line": 363, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4109,7 +4103,7 @@ }, "inFREE": "1", "setA": 1, - "line": 363, + "line": 364, "cmdAfter": [ { "op": "setVar", @@ -4134,29 +4128,29 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 16, "mWR": 1, - "line": 365, + "line": 366, "offsetLabel": "txS", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 366, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 367, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "CONST": "1", "setD": 1, - "line": 373, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 374, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4166,10 +4160,10 @@ "setA": 1, "offset": 20, "mRD": 1, - "line": 374, - "offsetLabel": "txsListLength", + "line": 375, + "offsetLabel": "batchL2DataLength", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4179,10 +4173,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 375, - "offsetLabel": "batchL2DataRead", + "line": 376, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -4190,10 +4184,10 @@ "inC": "-1", "inD": "-1", "JMPC": 1, - "offset": 373, - "line": 376, + "offset": 372, + "line": 377, "offsetLabel": "invalidTxRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4212,7 +4206,7 @@ }, "inFREE": "1", "setA": 1, - "line": 377, + "line": 378, "cmdAfter": [ { "op": "setVar", @@ -4237,23 +4231,23 @@ ] } ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", "offset": 18, "mWR": 1, - "line": 379, + "line": 380, "offsetLabel": "txV", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inC": "1", "inD": "1", "setC": 1, - "line": 380, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "line": 381, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4263,10 +4257,10 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 385, - "offsetLabel": "batchL2DataRead", + "line": 386, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -4274,10 +4268,10 @@ "setA": 1, "offset": 1, "mWR": 1, - "line": 386, - "offsetLabel": "batchL2DataRead", + "line": 387, + "offsetLabel": "batchL2DataParsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "freeInTag": { @@ -4287,10 +4281,10 @@ "setA": 1, "offset": 2, "mRD": 1, - "line": 387, + "line": 388, "offsetLabel": "pendingTxs", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inA": "1", @@ -4298,37 +4292,37 @@ "setA": 1, "offset": 2, "mWR": 1, - "line": 388, + "line": 389, "offsetLabel": "pendingTxs", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 48, - "line": 389, + "offset": 47, + "line": 390, "offsetLabel": "txLoopRLP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "JMP": 1, - "offset": 62, - "line": 392, + "offset": 61, + "line": 393, "offsetLabel": "processTxsEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/loadtx_rlp.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/loadtx_rlp.zkasm" }, { "inGAS": "1", "CONST": "-3000", "setGAS": 1, "line": 2, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "CONST": "1024", "setSP": 1, "line": 5, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4345,7 +4339,7 @@ "useCTX": 1, "mRD": 1, "line": 6, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4362,7 +4356,7 @@ "useCTX": 1, "mRD": 1, "line": 7, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "CONST": "0", @@ -4382,10 +4376,10 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 391, + "offset": 388, "line": 9, "offsetLabel": "endECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "CONST": "0", @@ -4405,10 +4399,10 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 391, + "offset": 388, "line": 10, "offsetLabel": "endECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4425,30 +4419,7 @@ "useCTX": 1, "mRD": 1, "line": 11, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" - }, - { - "CONST": "0", - "freeInTag": { - "op": "functionCall", - "funcName": "comp_gt", - "params": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "115792089237316195423570985008687907852837564279074904382605163141518161494337" - } - ] - }, - "inFREE": "-1", - "JMPC": 1, - "offset": 391, - "line": 13, - "offsetLabel": "endECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4466,30 +4437,7 @@ "useCTX": 1, "mRD": 1, "line": 14, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" - }, - { - "CONST": "0", - "freeInTag": { - "op": "functionCall", - "funcName": "comp_lt", - "params": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "57896044618658097711785492504343953926418782139537452191302581570759080747169" - } - ] - }, - "inFREE": "-1", - "JMPC": 1, - "offset": 391, - "line": 16, - "offsetLabel": "endECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4499,7 +4447,7 @@ "setA": 1, "ecRecover": 1, "line": 18, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "CONST": "0", @@ -4519,10 +4467,10 @@ }, "inFREE": "-1", "JMPC": 1, - "offset": 391, + "offset": 388, "line": 19, "offsetLabel": "endECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4535,7 +4483,7 @@ "line": 21, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4548,7 +4496,7 @@ "line": 22, "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "inA": "1", @@ -4557,23 +4505,23 @@ "line": 24, "offsetLabel": "bytesToStore", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { - "CONST": "390", + "CONST": "387", "setRR": 1, "JMP": 1, - "offset": 789, + "offset": 985, "line": 25, "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "JMP": 1, - "offset": 466, + "offset": 600, "line": 26, "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4586,14 +4534,14 @@ "line": 29, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "JMP": 1, - "offset": 466, + "offset": 600, "line": 30, "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ecrecover.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecrecover.zkasm" }, { "freeInTag": { @@ -4604,16 +4552,16 @@ "offset": 7, "mRD": 1, "line": 3, - "offsetLabel": "txNData", + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inGAS": "1", "CONST": "-60", "setGAS": 1, "line": 4, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inGAS": "1", @@ -4651,31 +4599,31 @@ "inFREE": "-1", "setGAS": 1, "line": 5, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "CONST": "1024", "setSP": 1, "line": 6, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 407, + "offset": 404, "line": 9, "offsetLabel": "SHA256DigestReturn", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inB": "1", "CONST": "-32", "JMPC": 1, - "offset": 403, + "offset": 400, "line": 10, "offsetLabel": "SHA256EndLoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4692,7 +4640,7 @@ "useCTX": 1, "mRD": 1, "line": 11, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4711,21 +4659,21 @@ }, "inFREE": "1", "line": 12, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inB": "1", "CONST": "-32", "setB": 1, "line": 13, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "JMP": 1, - "offset": 397, + "offset": 394, "line": 14, "offsetLabel": "SHA256LoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4743,14 +4691,14 @@ "useCTX": 1, "mRD": 1, "line": 16, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "CONST": "32", "inB": "-1", "setD": 1, "line": 17, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4760,7 +4708,7 @@ "setA": 1, "shr": 1, "line": 18, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4779,7 +4727,7 @@ }, "inFREE": "1", "line": 19, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4789,7 +4737,7 @@ }, "inFREE": "1", "line": 22, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4800,7 +4748,7 @@ "inFREE": "1", "setA": 1, "line": 23, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4813,7 +4761,7 @@ "line": 24, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4826,7 +4774,7 @@ "line": 25, "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "inA": "1", @@ -4835,23 +4783,23 @@ "line": 27, "offsetLabel": "bytesToStore", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { - "CONST": "413", + "CONST": "410", "setRR": 1, "JMP": 1, - "offset": 789, + "offset": 985, "line": 28, "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "JMP": 1, - "offset": 466, + "offset": 600, "line": 29, "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/sha256.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/sha256.zkasm" }, { "freeInTag": { @@ -4862,16 +4810,16 @@ "offset": 7, "mRD": 1, "line": 3, - "offsetLabel": "txNData", + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inGAS": "1", "CONST": "-600", "setGAS": 1, "line": 4, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inGAS": "1", @@ -4909,31 +4857,31 @@ "inFREE": "-1", "setGAS": 1, "line": 5, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "CONST": "1024", "setSP": 1, "line": 6, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 428, + "offset": 425, "line": 9, "offsetLabel": "RIPEMD160DigestReturn", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inB": "1", "CONST": "-32", "JMPC": 1, - "offset": 424, + "offset": 421, "line": 10, "offsetLabel": "RIPEMD160EndLoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -4950,7 +4898,7 @@ "useCTX": 1, "mRD": 1, "line": 11, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -4969,21 +4917,21 @@ }, "inFREE": "1", "line": 12, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inB": "1", "CONST": "-32", "setB": 1, "line": 13, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "JMP": 1, - "offset": 418, + "offset": 415, "line": 14, "offsetLabel": "RIPEMD160LoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5001,14 +4949,14 @@ "useCTX": 1, "mRD": 1, "line": 16, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "CONST": "32", "inB": "-1", "setD": 1, "line": 17, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5018,7 +4966,7 @@ "setA": 1, "shr": 1, "line": 18, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5037,7 +4985,7 @@ }, "inFREE": "1", "line": 19, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5047,7 +4995,7 @@ }, "inFREE": "1", "line": 22, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5058,7 +5006,7 @@ "inFREE": "1", "setA": 1, "line": 23, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5071,7 +5019,7 @@ "line": 24, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "freeInTag": { @@ -5084,7 +5032,7 @@ "line": 25, "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inA": "1", @@ -5093,570 +5041,573 @@ "line": 27, "offsetLabel": "bytesToStore", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { - "CONST": "434", + "CONST": "431", "setRR": 1, "JMP": 1, - "offset": 789, + "offset": 985, "line": 28, "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "JMP": 1, - "offset": 466, + "offset": 600, "line": 29, "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/ripemd160.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ripemd160.zkasm" }, { "inGAS": "1", - "setD": 1, + "CONST": "-15", + "setGAS": 1, "line": 2, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "log", - "params": [ - { - "op": "getReg", - "regName": "D" - } - ] + "op": "" }, "inFREE": "1", + "setC": 1, + "offset": 27, + "mRD": 1, "line": 3, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 7, - "mRD": 1, - "line": 5, - "offsetLabel": "txNData", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "div", + "values": [ { - "op": "getReg", - "regName": "B" + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "31" + } + ] }, { "op": "number", - "num": "213" + "num": "32" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 463, - "line": 6, - "offsetLabel": "BLAKE2Fend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "setA": 1, + "line": 4, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "CONST": "1024", - "setSP": 1, - "line": 7, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "inGAS": "1", + "inA": "-3", + "setGAS": 1, + "line": 5, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "inB": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 440, - "line": 10, - "offsetLabel": "BLAKE2FLoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 6, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "inB": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 446, - "line": 11, - "offsetLabel": "BLAKE2FEndLoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 7, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 26, "mRD": 1, - "line": 12, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "line": 8, + "offsetLabel": "retOffset", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "precompiled_blake2f_add", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", - "line": 13, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 9, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "inB": "1", + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 600, + "line": 12, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" + }, + { + "inC": "1", "CONST": "-32", - "setB": 1, - "line": 14, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "JMPC": 1, + "offset": 451, + "line": 13, + "offsetLabel": "IDENTITYfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { + "CONST": "443", + "setRR": 1, "JMP": 1, - "offset": 440, + "offset": 1060, + "line": 14, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" + }, + { + "inE": "1", + "setD": 1, "line": 15, - "offsetLabel": "BLAKE2FLoopData", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, + "inB": "1", + "setE": 1, + "line": 16, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, "line": 17, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "CONST": "32", - "inB": "-1", - "setD": 1, + "CONST": "447", + "setRR": 1, + "JMP": 1, + "offset": 985, "line": 18, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, + "inE": "1", + "setB": 1, "line": 19, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "precompiled_blake2f_add", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] - }, - "inFREE": "1", + "inD": "1", + "setE": 1, "line": 20, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "precompiled_blake2f_digest", - "params": [] - }, - "inFREE": "1", + "inC": "1", + "CONST": "-32", "setC": 1, - "line": 23, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "line": 21, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "inGAS": "1", - "inC": "-1", - "setGAS": 1, - "line": 24, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "JMP": 1, + "offset": 440, + "line": 22, + "offsetLabel": "IDENTITY32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "inGAS": "1", - "setD": 1, + "CONST": "452", + "setRR": 1, + "JMP": 1, + "offset": 1079, "line": 25, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "log", - "params": [ - { - "op": "getReg", - "regName": "D" - } - ] - }, - "inFREE": "1", + "inB": "1", + "setE": 1, "line": 26, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "precompiled_blake2f_read", - "params": [ - { - "op": "number", - "num": "0" - } - ] - }, - "inFREE": "1", - "setA": 1, + "inA": "1", + "offset": 36, + "mWR": 1, "line": 27, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "precompiled_blake2f_read", - "params": [ - { - "op": "number", - "num": "1" - } - ] - }, - "inFREE": "1", - "setB": 1, + "CONST": "455", + "setRR": 1, + "JMP": 1, + "offset": 1019, "line": 28, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" + }, + { + "JMP": 1, + "offset": 600, + "line": 29, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/identity.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setC": 1, + "offset": 27, "mRD": 1, - "line": 29, + "line": 8, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 9, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setB": 1, "offset": 26, "mRD": 1, - "line": 30, + "line": 10, "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inA": "1", - "offset": 36, - "mWR": 1, - "line": 32, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 11, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "CONST": "460", + "CONST": "461", "setRR": 1, "JMP": 1, - "offset": 789, - "line": 33, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offset": 1060, + "line": 12, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inB": "1", - "offset": 36, + "inA": "1", + "offset": 38, "mWR": 1, - "line": 34, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "line": 13, + "offsetLabel": "Bsize", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "CONST": "462", + "CONST": "463", "setRR": 1, "JMP": 1, - "offset": 789, - "line": 35, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offset": 1060, + "line": 14, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "JMP": 1, - "offset": 466, - "line": 36, - "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "inA": "1", + "offset": 39, + "mWR": 1, + "line": 15, + "offsetLabel": "Esize", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "CONST": "464", + "CONST": "465", "setRR": 1, "JMP": 1, - "offset": 939, - "line": 39, - "offsetLabel": "gasSpendCallError", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offset": 1060, + "line": 16, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "inA": "1", + "offset": 40, + "mWR": 1, + "line": 17, + "offsetLabel": "Msize", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setC": 1, + "offset": 38, "mRD": 1, - "line": 40, - "offsetLabel": "originCTX", + "line": 18, + "offsetLabel": "Bsize", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { + "CONST": "468", + "setRR": 1, "JMP": 1, - "offset": 466, - "line": 41, - "offsetLabel": "preEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/blake2f.zkasm" + "offset": 1079, + "line": 19, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "inA": "1", + "setB": 1, + "line": 20, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 34, + "setC": 1, + "offset": 39, "mRD": 1, - "line": 2, - "offsetLabel": "gasCTX", + "line": 21, + "offsetLabel": "Esize", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inB": "1", - "inGAS": "1", - "setGAS": 1, - "line": 3, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "CONST": "471", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 22, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inCTX": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 473, - "line": 4, - "offsetLabel": "preEndLastCtx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "inA": "1", + "offset": 41, + "mWR": 1, + "line": 23, + "offsetLabel": "exp", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "inA": "1", + "setD": 1, + "line": 24, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 30, + "setC": 1, + "offset": 40, "mRD": 1, - "line": 5, - "offsetLabel": "lastSP", + "line": 25, + "offsetLabel": "Msize", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "CONST": "475", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 26, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "exp", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 27, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 28, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "inC": "1", + "setD": 1, + "line": 29, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setPC": 1, - "offset": 31, + "setE": 1, + "offset": 26, "mRD": 1, - "line": 6, - "offsetLabel": "lastPC", + "line": 30, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "CONST": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 27, + "mRD": 1, + "line": 31, + "offsetLabel": "retLength", "useCTX": 1, - "mWR": 1, - "line": 7, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 8, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 34, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "JMP": 1, - "offset": 626, - "line": 11, - "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/end.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 35, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "inA": "1", - "CONST": "-2", - "JMPC": 1, - "offset": 374, - "line": 13, - "offsetLabel": "funcECRECOVER", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" + "offset": 36, + "mWR": 1, + "line": 36, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inA": "1", - "CONST": "-3", + "inC": "1", + "CONST": "-32", "JMPC": 1, - "offset": 393, - "line": 14, - "offsetLabel": "SHA256", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" + "offset": 486, + "line": 37, + "offsetLabel": "MODEXPstoreX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inA": "1", - "CONST": "-4", - "JMPC": 1, - "offset": 414, - "line": 15, - "offsetLabel": "RIPEMD160", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" + "CONST": "485", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 38, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inA": "1", - "CONST": "-5", - "JMPC": 1, - "offset": 435, - "line": 16, - "offsetLabel": "IDENTITY", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" + "JMP": 1, + "offset": 487, + "line": 39, + "offsetLabel": "MODEXPgas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inA": "1", - "CONST": "-6", - "JMPC": 1, - "offset": 435, - "line": 17, - "offsetLabel": "MODEXP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" - }, - { - "inA": "1", - "CONST": "-7", - "JMPC": 1, - "offset": 435, - "line": 18, - "offsetLabel": "ECADD", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" - }, - { - "inA": "1", - "CONST": "-8", - "JMPC": 1, - "offset": 435, - "line": 19, - "offsetLabel": "ECMUL", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" - }, - { - "inA": "1", - "CONST": "-9", - "JMPC": 1, - "offset": 435, - "line": 20, - "offsetLabel": "ECPAIRING", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" - }, - { - "inA": "1", - "CONST": "-10", - "JMPC": 1, - "offset": 435, - "line": 21, - "offsetLabel": "BLAKE2F", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/precompiled/selector.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 5, - "mRD": 1, - "line": 6, - "offsetLabel": "lastTxHashId", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inE": "1", - "CONST": "1", - "setE": 1, - "offset": 5, - "mWR": 1, - "line": 7, - "offsetLabel": "lastTxHashId", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 8, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "487", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 42, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { @@ -5664,939 +5615,973 @@ }, "inFREE": "1", "setA": 1, - "ind": 1, - "offset": 0, - "hashRD": 1, - "line": 15, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 17, + "offset": 38, "mRD": 1, - "line": 16, - "offsetLabel": "txR", + "line": 45, + "offsetLabel": "Bsize", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "offset": 16, + "setB": 1, + "offset": 40, "mRD": 1, - "line": 17, - "offsetLabel": "txS", + "line": 46, + "offsetLabel": "Msize", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setD": 1, - "offset": 18, - "mRD": 1, - "line": 18, - "offsetLabel": "txV", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 491, + "line": 47, + "offsetLabel": "MODEXPgas2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inB": "1", "setA": 1, - "ecRecover": 1, - "line": 19, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "offset": 14, - "mWR": 1, - "line": 20, - "offsetLabel": "txSrcAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "offset": 15, - "mWR": 1, - "line": 21, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 48, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inSR": "1", - "offset": 20, - "mWR": 1, - "line": 27, - "offsetLabel": "initSR", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "0", + "setD": 1, + "line": 51, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "7" + } + ] + }, + { + "op": "number", + "num": "8" + } + ] }, "inFREE": "1", "setA": 1, - "offset": 11, - "mRD": 1, - "line": 32, - "offsetLabel": "txChainId", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 9, - "mRD": 1, - "line": 33, - "offsetLabel": "chainId", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 52, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "exp", "params": [ { "op": "getReg", "regName": "A" }, { - "op": "getReg", - "regName": "B" + "op": "number", + "num": "2" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 498, - "line": 35, - "offsetLabel": "check_defaultChainId", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "line": 53, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "JMP": 1, - "offset": 501, - "line": 36, - "offsetLabel": "endCheckChainId", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 39, + "mRD": 1, + "line": 54, + "offsetLabel": "Esize", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 10, + "setC": 1, + "offset": 41, "mRD": 1, - "line": 38, - "offsetLabel": "defaultChainId", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 55, + "offsetLabel": "exp", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "inB": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 498, + "line": 56, + "offsetLabel": "MODEXPgas3", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "JMP": 1, + "offset": 500, + "line": 58, + "offsetLabel": "MODEXPgas4", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { + "CONST": "0", "freeInTag": { "op": "functionCall", "funcName": "comp_eq", "params": [ { "op": "getReg", - "regName": "A" + "regName": "C" }, { - "op": "getReg", - "regName": "B" + "op": "number", + "num": "0" } ] }, - "inFREE": "1", - "CONST": "-1", + "inFREE": "-1", "JMPC": 1, - "offset": 704, - "line": 39, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "offset": 501, - "line": 41, - "offsetLabel": "endCheckChainId", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 500, + "line": 61, + "offsetLabel": "MODEXPgas4", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 15, - "mRD": 1, - "line": 48, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inB": "8", + "CONST": "-1", + "setD": 1, + "line": 62, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "touchedAddress", + "funcName": "comp_gt", "params": [ { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "1" }, { "op": "getReg", - "regName": "CTX" + "regName": "D" } ] }, "inFREE": "1", - "line": 49, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 502, + "line": 65, + "offsetLabel": "MODEXPgasEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" + }, + { + "CONST": "1", + "setD": 1, + "line": 66, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "setE": 1, - "offset": 15, - "mRD": 1, - "line": 55, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 56, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 57, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + { + "op": "number", + "num": "3" + } + ] }, "inFREE": "1", "setA": 1, - "sRD": 1, - "line": 58, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 4, - "mRD": 1, - "line": 59, - "offsetLabel": "txNonce", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 69, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "comp_gt", "params": [ { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "200" }, { "op": "getReg", - "regName": "B" + "regName": "A" } ] }, "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 704, - "line": 60, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", - "assert": 1, - "line": 61, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "CONST": "1", - "setD": 1, - "line": 62, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 505, + "line": 70, + "offsetLabel": "MODEXPend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "inE": "1", + "CONST": "200", "setA": 1, - "line": 63, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 64, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 71, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 65, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inGAS": "1", + "inA": "-1", + "setGAS": 1, + "line": 74, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 66, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 600, + "line": 75, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/modexp.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 0, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 79, - "offsetLabel": "txGas", + "line": 2, + "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 6, - "mRD": 1, - "line": 80, - "offsetLabel": "txGasPrice", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", "setC": 1, - "line": 81, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 82, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 27, + "mRD": 1, + "line": 3, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", - "regName": "A" + "regName": "C" }, { - "op": "getReg", - "regName": "B" + "op": "number", + "num": "128" } ] }, "inFREE": "1", - "setD": 1, - "arith": 1, - "line": 83, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 530, + "line": 5, + "offsetLabel": "ECADDend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 15, + "setC": 1, + "offset": 27, "mRD": 1, - "line": 85, - "offsetLabel": "txSrcOriginAddr", + "line": 6, + "offsetLabel": "retLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 86, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "sRD": 1, - "line": 87, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inD": "1", - "setC": 1, - "line": 88, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { - "op": "sub", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", - "regName": "E" + "regName": "C" }, { - "op": "getReg", - "regName": "C" + "op": "number", + "num": "64" } ] }, "inFREE": "1", - "setA": 1, - "line": 89, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "31", - "setD": 1, - "line": 90, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 530, + "line": 8, + "offsetLabel": "ECADDend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "shr": 1, - "line": 91, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 9, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "127", - "inB": "-1", - "JMPC": 1, - "offset": 704, - "line": 92, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "514", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 10, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 93, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "setD": 1, + "line": 11, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 94, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "516", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 12, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 95, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "setC": 1, + "line": 13, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" + }, + { + "CONST": "518", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 14, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "inA": "1", - "setD": 1, - "line": 97, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "line": 15, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" + }, + { + "CONST": "520", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 16, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 15, + "setE": 1, + "offset": 26, "mRD": 1, - "line": 99, - "offsetLabel": "txSrcOriginAddr", + "line": 17, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 100, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "precompiled_ecAdd_add", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "getReg", + "regName": "C" + }, + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 101, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 18, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "precompiled_ecAdd_result0", + "params": [] }, "inFREE": "1", - "setGAS": 1, - "offset": 0, - "mRD": 1, - "line": 107, - "offsetLabel": "txGas", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "line": 19, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "inGAS": "1", - "CONST": "-21000", - "setGAS": 1, - "line": 108, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 20, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" + }, + { + "CONST": "525", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 21, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "precompiled_ecAdd_result1", + "params": [] }, "inFREE": "1", "setA": 1, - "offset": 7, - "mRD": 1, - "line": 113, - "offsetLabel": "txNData", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { "inA": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 556, - "line": 114, - "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 36, + "mWR": 1, + "line": 23, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 115, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "528", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 24, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "-1", - "setC": 1, - "line": 116, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inGAS": "1", + "CONST": "-150", + "setGAS": 1, + "line": 25, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "inC": "1", - "CONST": "1", - "setC": 1, - "line": 119, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 600, + "line": 26, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 120, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 607, + "line": 29, + "offsetLabel": "preEndFail", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecadd.zkasm" }, { - "CONST": "1024", - "inC": "1", - "setSP": 1, - "line": 121, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 2, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "JMP": 1, - "offset": 545, - "line": 122, - "offsetLabel": "loopBytes", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 27, + "mRD": 1, + "line": 3, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "inA": "1", "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", "regName": "C" }, { "op": "number", - "num": "32" + "num": "96" } ] }, - "inFREE": "-1", - "inD": "-1", + "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 556, - "line": 124, - "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "31", - "inD": "-1", - "JMPC": 1, - "offset": 541, - "line": 125, - "offsetLabel": "addGas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 552, + "line": 5, + "offsetLabel": "ECMULend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setC": 1, + "offset": 27, "mRD": 1, - "line": 126, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 6, + "offsetLabel": "retLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getByte", + "funcName": "comp_eq", "params": [ { "op": "getReg", - "regName": "B" + "regName": "C" }, { - "op": "getReg", - "regName": "D" + "op": "number", + "num": "64" } ] }, "inFREE": "1", - "setB": 1, - "line": 127, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inD": "1", - "CONST": "1", - "setD": 1, - "line": 128, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", "CONST": "-1", "JMPC": 1, "offset": 552, - "line": 129, - "offsetLabel": "add4Gas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "offset": 554, - "line": 130, - "offsetLabel": "add16Gas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 8, + "offsetLabel": "ECMULend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "inGAS": "1", - "CONST": "-4", - "setGAS": 1, - "line": 133, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 9, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { + "CONST": "538", + "setRR": 1, "JMP": 1, - "offset": 545, - "line": 134, - "offsetLabel": "loopBytes", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 1060, + "line": 10, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "inGAS": "1", - "CONST": "-16", - "setGAS": 1, - "line": 137, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "setC": 1, + "line": 11, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { + "CONST": "540", + "setRR": 1, "JMP": 1, - "offset": 545, - "line": 138, - "offsetLabel": "loopBytes", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 1060, + "line": 12, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 12, - "mRD": 1, - "line": 143, - "offsetLabel": "txIsCreateContract", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "setB": 1, + "line": 13, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 571, - "line": 144, - "offsetLabel": "getContractAddress", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "542", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 14, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 1, + "setE": 1, + "offset": 26, "mRD": 1, - "line": 145, - "offsetLabel": "txDestAddr", + "line": 15, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "touchedAddress", + "funcName": "precompiled_ecMul_mul", "params": [ { "op": "getReg", - "regName": "A" + "regName": "C" }, { "op": "getReg", - "regName": "CTX" + "regName": "B" + }, + { + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", - "line": 146, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 16, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_lt", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "10" - } - ] + "funcName": "precompiled_ecMul_result0", + "params": [] }, "inFREE": "1", - "setB": 1, - "line": 147, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "line": 17, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 474, - "line": 148, - "offsetLabel": "selectorPrecompiled", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 18, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "CONST": "2", - "setB": 1, - "line": 149, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "547", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 19, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 150, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "precompiled_ecMul_result1", + "params": [] + }, + "inFREE": "1", + "setA": 1, + "line": 20, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 21, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" + }, + { + "CONST": "550", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 22, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" + }, + { + "inGAS": "1", + "CONST": "-6000", + "setGAS": 1, + "line": 23, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" + }, + { + "JMP": 1, + "offset": 600, + "line": 24, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" + }, + { + "JMP": 1, + "offset": 607, + "line": 27, + "offsetLabel": "preEndFail", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecmul.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "sRD": 1, - "line": 151, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 2, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 152, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 27, + "mRD": 1, + "line": 3, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "32", - "inD": "-1", - "JMPC": 1, - "offset": 638, - "line": 155, - "offsetLabel": "moveBalances", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "192" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 5, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getByte", + "funcName": "comp_eq", "params": [ { "op": "getReg", "regName": "A" }, { - "op": "getReg", - "regName": "D" + "op": "number", + "num": "0" } ] }, "inFREE": "1", - "setB": 1, - "line": 156, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 571, + "line": 6, + "offsetLabel": "ECPAIRINGend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 610, - "line": 157, - "offsetLabel": "callContract", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 7, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "inD": "1", - "CONST": "1", - "setD": 1, - "line": 158, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 563, + "line": 10, + "offsetLabel": "ECPAIRINGpairing", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { + "CONST": "560", + "setRR": 1, "JMP": 1, - "offset": 566, - "line": 159, - "offsetLabel": "checkTxType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 1060, + "line": 11, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "precompiled_ecPairing_add", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setE": 1, - "offset": 6, - "mRD": 1, - "line": 165, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 12, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "inE": "1", - "CONST": "1", - "setE": 1, - "offset": 6, - "mWR": 1, - "line": 166, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 13, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" + }, + { + "JMP": 1, + "offset": 558, + "line": 14, + "offsetLabel": "ECPAIRINGadd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "precompiled_ecPairing_pairing", + "params": [] }, "inFREE": "1", "setA": 1, - "offset": 15, - "mRD": 1, - "line": 167, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 17, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 4, + "setE": 1, + "offset": 26, "mRD": 1, - "line": 168, - "offsetLabel": "txNonce", + "line": 18, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 19, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" + }, + { + "CONST": "567", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 20, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { "freeInTag": { @@ -6604,235 +6589,145 @@ }, "inFREE": "1", "setC": 1, - "offset": 5, + "offset": 27, "mRD": 1, - "line": 169, - "offsetLabel": "lengthNonce", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 21, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "1", - "setD": 1, - "line": 170, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "192" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "214", - "inC": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 171, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "148", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 172, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "20", - "setD": 1, - "line": 173, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 174, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "1", - "setD": 1, - "line": 175, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "128", - "inC": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 176, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 586, - "line": 177, - "offsetLabel": "endContractAddress", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inC": "1", - "setD": 1, - "line": 178, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 179, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inGAS": "1", + "inA": "-34000", + "CONST": "-45000", + "setGAS": 1, + "line": 23, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "ind": 1, - "offset": 0, - "hashE": 1, - "line": 182, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 600, + "line": 24, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "ind": 1, - "offset": 0, - "hashRD": 1, - "line": 183, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 607, + "line": 27, + "offsetLabel": "preEndFail", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/ecpairing.zkasm" }, { - "CONST": "12", + "inGAS": "1", "setD": 1, - "line": 184, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 2, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 185, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "offset": 7, + "mRD": 1, + "line": 4, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "213" + } + ] }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 186, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "offset": 13, - "mWR": 1, - "line": 187, - "offsetLabel": "createContractAddress", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 598, + "line": 5, + "offsetLabel": "BLAKE2Fend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "CONST": "1024", - "offset": 9, - "mWR": 1, - "line": 190, - "offsetLabel": "SPr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "offset": 10, - "mWR": 1, - "line": 191, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setPC": 1, - "line": 192, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", "setSP": 1, - "line": 193, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inGAS": "1", - "CONST": "-32000", - "setGAS": 1, - "line": 194, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 6, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 195, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 576, + "line": 9, + "offsetLabel": "BLAKE2FLoopData", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "inSP": "1", - "offset": 10, - "mWR": 1, - "line": 198, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inB": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 582, + "line": 10, + "offsetLabel": "BLAKE2FEndLoopData", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 9, - "mRD": 1, - "line": 199, - "offsetLabel": "SPr", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inSP": "1", - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setSP": 1, - "line": 200, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "mRD": 1, + "line": 11, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ + "op": "functionCall", + "funcName": "precompiled_blake2f_add", + "params": [ { "op": "getReg", - "regName": "PC" + "regName": "A" }, { "op": "number", @@ -6841,31 +6736,22 @@ ] }, "inFREE": "1", - "setC": 1, - "line": 201, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 12, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inB": "1", + "CONST": "-32", "setB": 1, - "offset": 7, - "mRD": 1, - "line": 202, - "offsetLabel": "txNData", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 13, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "inB": "1", - "inPC": "-1", - "JMPC": 1, - "offset": 629, - "line": 203, - "offsetLabel": "endDeploy", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 576, + "line": 14, + "offsetLabel": "BLAKE2FLoopData", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { @@ -6882,26 +6768,30 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 204, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 16, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" + }, + { + "CONST": "32", + "inB": "-1", + "setD": 1, + "line": 17, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 10, - "mRD": 1, - "line": 205, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "shr": 1, + "line": 18, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getByte", + "funcName": "precompiled_blake2f_add", "params": [ { "op": "getReg", @@ -6909,481 +6799,470 @@ }, { "op": "getReg", - "regName": "C" + "regName": "B" } ] }, "inFREE": "1", - "setB": 1, - "line": 206, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 19, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "addrOp", - "params": [ - { - "op": "getReg", - "regName": "B" - } - ] - }, - "inFREE": "1", - "setRR": 1, - "line": 207, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inPC": "1", - "CONST": "1", - "setPC": 1, - "line": 208, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 209, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setPC": 1, - "line": 212, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setSP": 1, - "line": 213, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 214, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "" + "funcName": "precompiled_blake2f_digest", + "params": [] }, "inFREE": "1", - "setA": 1, - "offset": 1, - "mRD": 1, - "line": 217, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "2", - "setB": 1, - "line": 218, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setC": 1, + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 219, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inGAS": "1", + "inC": "-1", + "setGAS": 1, + "line": 23, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "sRD": 1, - "line": 220, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inGAS": "1", + "setD": 1, + "line": 24, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getBytecodeLength", + "funcName": "precompiled_blake2f_read", "params": [ { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "0" } ] }, "inFREE": "1", - "setB": 1, - "line": 221, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", - "inPC": "-1", - "JMPC": 1, - "offset": 638, - "line": 222, - "offsetLabel": "endByteCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "line": 25, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getBytecode", + "funcName": "precompiled_blake2f_read", "params": [ { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "PC" + "op": "number", + "num": "1" } ] }, "inFREE": "1", "setB": 1, - "line": 223, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 26, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "addrOp", - "params": [ - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "setRR": 1, - "line": 224, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inPC": "1", - "CONST": "1", - "setPC": 1, - "line": 225, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 226, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 27, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 12, + "setE": 1, + "offset": 26, "mRD": 1, - "line": 229, - "offsetLabel": "txIsCreateContract", + "line": 28, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 598, - "line": 230, - "offsetLabel": "readDeployBytecode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 30, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { + "CONST": "595", + "setRR": 1, "JMP": 1, - "offset": 613, - "line": 231, - "offsetLabel": "readByteCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 985, + "line": 31, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 12, - "mRD": 1, - "line": 234, - "offsetLabel": "txIsCreateContract", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inB": "1", + "offset": 36, + "mWR": 1, + "line": 32, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 629, - "line": 235, - "offsetLabel": "endDeploy", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "597", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 33, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "JMP": 1, - "offset": 638, - "line": 236, - "offsetLabel": "endByteCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 600, + "line": 34, + "offsetLabel": "preEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 13, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 240, - "offsetLabel": "createContractAddress", + "line": 37, + "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 241, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 242, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { - "CONST": "1", - "setD": 1, - "line": 243, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 607, + "line": 38, + "offsetLabel": "preEndFail", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/blake2f.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 244, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "getHashBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 246, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "offset": 36, + "mRD": 1, + "line": 2, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "CONST": "2", - "setB": 1, - "line": 247, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inB": "1", + "inGAS": "1", + "setGAS": 1, + "line": 3, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 248, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inCTX": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 613, + "line": 4, + "offsetLabel": "preEndLastCtx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 249, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setSP": 1, + "offset": 30, + "mRD": 1, + "line": 5, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 14, + "setPC": 1, + "offset": 31, "mRD": 1, - "line": 260, - "offsetLabel": "txSrcAddr", + "line": 6, + "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 261, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 7, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 8, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "sRD": 1, - "line": 262, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setGAS": 1, + "offset": 36, + "mRD": 1, + "line": 11, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" + }, + { + "inCTX": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 613, + "line": 12, + "offsetLabel": "preEndLastCtx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "offset": 3, + "setSP": 1, + "offset": 30, "mRD": 1, - "line": 263, - "offsetLabel": "txValue", + "line": 13, + "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { "freeInTag": { - "op": "sub", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", - "setA": 1, - "line": 264, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setPC": 1, + "offset": 31, + "mRD": 1, + "line": 14, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "CONST": "31", - "setD": 1, - "line": 265, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "0", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 15, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "shr": 1, - "line": 266, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 815, + "line": 16, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" }, { - "CONST": "127", - "inB": "-1", + "JMP": 1, + "offset": 818, + "line": 19, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/end.zkasm" + }, + { + "inA": "1", + "CONST": "-2", "JMPC": 1, - "offset": 704, - "line": 267, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 373, + "line": 13, + "offsetLabel": "funcECRECOVER", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 268, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "CONST": "-3", + "JMPC": 1, + "offset": 390, + "line": 14, + "offsetLabel": "SHA256", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 269, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "CONST": "-4", + "JMPC": 1, + "offset": 411, + "line": 15, + "offsetLabel": "RIPEMD160", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 270, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "CONST": "-5", + "JMPC": 1, + "offset": 432, + "line": 16, + "offsetLabel": "IDENTITY", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" }, { "inA": "1", - "setD": 1, - "line": 272, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "-6", + "JMPC": 1, + "offset": 456, + "line": 17, + "offsetLabel": "MODEXP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" + }, + { + "inA": "1", + "CONST": "-7", + "JMPC": 1, + "offset": 507, + "line": 18, + "offsetLabel": "ECADD", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" + }, + { + "inA": "1", + "CONST": "-8", + "JMPC": 1, + "offset": 531, + "line": 19, + "offsetLabel": "ECMUL", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" + }, + { + "inA": "1", + "CONST": "-9", + "JMPC": 1, + "offset": 553, + "line": 20, + "offsetLabel": "ECPAIRING", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" + }, + { + "inA": "1", + "CONST": "-10", + "JMPC": 1, + "offset": 572, + "line": 21, + "offsetLabel": "BLAKE2F", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/precompiled/selector.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 14, + "setE": 1, + "offset": 5, "mRD": 1, - "line": 274, - "offsetLabel": "txSrcAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 6, + "offsetLabel": "lastTxHashId", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inE": "1", + "CONST": "1", + "setE": 1, + "offset": 5, + "mWR": 1, + "line": 7, + "offsetLabel": "lastTxHashId", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", - "setB": 1, "setC": 1, - "line": 275, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 8, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 276, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setA": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 15, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 1, + "setB": 1, + "offset": 17, "mRD": 1, - "line": 279, - "offsetLabel": "txDestAddr", + "line": 16, + "offsetLabel": "txR", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setB": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setC": 1, - "line": 280, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 16, + "mRD": 1, + "line": 17, + "offsetLabel": "txS", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "sRD": 1, - "line": 281, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setD": 1, + "offset": 18, + "mRD": 1, + "line": 18, + "offsetLabel": "txV", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7391,44 +7270,36 @@ }, "inFREE": "1", "setA": 1, - "offset": 3, - "mRD": 1, - "line": 283, - "offsetLabel": "txValue", + "ecRecover": 1, + "line": 19, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "offset": 14, + "mWR": 1, + "line": 20, + "offsetLabel": "txSrcAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 284, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inA": "1", + "offset": 15, + "mWR": 1, + "line": 21, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 285, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - } - ] - }, - "inFREE": "1", - "setD": 1, - "arith": 1, - "line": 286, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inSR": "1", + "offset": 20, + "mWR": 1, + "line": 27, + "offsetLabel": "initSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7436,169 +7307,130 @@ }, "inFREE": "1", "setA": 1, - "offset": 1, + "offset": 11, "mRD": 1, - "line": 288, - "offsetLabel": "txDestAddr", + "line": 33, + "offsetLabel": "txChainId", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 289, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 290, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setA": 1, - "line": 298, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "offset": 9, + "mRD": 1, + "line": 34, + "offsetLabel": "chainId", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setB": 1, - "offset": 19, - "mRD": 1, - "line": 299, - "offsetLabel": "gasRefund", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 671, - "line": 300, - "offsetLabel": "refundGas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 638, + "line": 36, + "offsetLabel": "check_defaultChainId", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 641, + "line": 37, + "offsetLabel": "endCheckChainId", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 0, + "setB": 1, + "offset": 10, "mRD": 1, - "line": 301, - "offsetLabel": "txGas", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "inGAS": "-1", - "setA": 1, - "line": 302, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 39, + "offsetLabel": "defaultChainId", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", "regName": "A" }, { - "op": "number", - "num": "2" + "op": "getReg", + "regName": "B" } ] }, "inFREE": "1", - "setA": 1, - "line": 303, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "inB": "-1", + "CONST": "-1", "JMPC": 1, - "offset": 671, - "line": 304, - "offsetLabel": "refundGas", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inB": "1", - "setA": 1, - "line": 305, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inGAS": "1", - "inA": "1", - "setGAS": 1, - "line": 308, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 897, + "line": 40, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inGAS": "1", - "setA": 1, - "line": 309, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "JMP": 1, + "offset": 641, + "line": 42, + "offsetLabel": "endCheckChainId", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 6, + "setA": 1, + "offset": 15, "mRD": 1, - "line": 310, - "offsetLabel": "txGasPrice", + "line": 50, + "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 311, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 312, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ { "op": "getReg", "regName": "A" }, { "op": "getReg", - "regName": "B" + "regName": "CTX" } ] }, "inFREE": "1", - "setD": 1, - "arith": 1, - "line": 313, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 51, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7606,19 +7438,25 @@ }, "inFREE": "1", "setA": 1, + "setE": 1, "offset": 15, "mRD": 1, - "line": 315, + "line": 57, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", + "CONST": "1", "setB": 1, + "line": 58, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", "setC": 1, - "line": 316, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 59, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7627,66 +7465,75 @@ "inFREE": "1", "setA": 1, "sRD": 1, - "line": 317, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 60, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setB": 1, - "line": 319, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inD": "1", - "setC": 1, - "line": 320, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 321, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "offset": 4, + "mRD": 1, + "line": 61, + "offsetLabel": "txNonce", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "add", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", "regName": "A" }, { "op": "getReg", - "regName": "C" + "regName": "B" } ] }, "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 897, + "line": 62, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "assert": 1, + "line": 63, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "CONST": "1", "setD": 1, - "arith": 1, - "line": 322, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 64, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inE": "1", "setA": 1, - "offset": 15, - "mRD": 1, - "line": 324, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 65, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", + "CONST": "1", "setB": 1, + "line": 66, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", "setC": 1, - "line": 325, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 67, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7695,8 +7542,8 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 326, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 68, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7706,17 +7553,10 @@ "setA": 1, "offset": 0, "mRD": 1, - "line": 332, + "line": 74, "offsetLabel": "txGas", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "inGAS": "-1", - "setA": 1, - "line": 333, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7726,22 +7566,22 @@ "setB": 1, "offset": 6, "mRD": 1, - "line": 335, + "line": 75, "offsetLabel": "txGasPrice", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setC": 1, - "line": 336, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 76, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setD": 1, - "line": 337, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 77, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7760,8 +7600,8 @@ "inFREE": "1", "setD": 1, "arith": 1, - "line": 338, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 78, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7769,55 +7609,43 @@ }, "inFREE": "1", "setA": 1, - "offset": 7, + "offset": 15, "mRD": 1, - "line": 340, - "offsetLabel": "sequencerAddr", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, + "line": 80, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 341, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 81, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "sRD": 1, - "line": 342, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 344, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 82, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inD": "1", "setC": 1, - "line": 345, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 346, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 83, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "add", + "op": "sub", "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" }, { "op": "getReg", @@ -7826,47 +7654,58 @@ ] }, "inFREE": "1", + "setA": 1, + "line": 84, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "31", "setD": 1, - "arith": 1, - "line": 347, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 85, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 7, - "mRD": 1, - "line": 349, - "offsetLabel": "sequencerAddr", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "shr": 1, + "line": 86, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", + "CONST": "127", + "inB": "-1", + "JMPC": 1, + "offset": 897, + "line": 87, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "1", "setB": 1, - "setC": 1, - "line": 350, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "line": 88, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 351, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "CONST": "0", + "setD": 1, + "line": 89, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 61, - "line": 356, - "offsetLabel": "processTxEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "inE": "1", + "arith": 1, + "line": 90, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "setD": 1, + "line": 92, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7874,21 +7713,19 @@ }, "inFREE": "1", "setA": 1, - "offset": 29, + "offset": 15, "mRD": 1, - "line": 359, - "offsetLabel": "originCTX", + "line": 94, + "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 708, - "line": 360, - "offsetLabel": "invalidTxOrigin", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" + "setB": 1, + "setC": 1, + "line": 95, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -7896,154 +7733,108 @@ }, "inFREE": "1", "setSR": 1, + "sWR": 1, + "line": 96, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inSR": "1", "offset": 20, - "mRD": 1, - "line": 361, + "mWR": 1, + "line": 105, "offsetLabel": "initSR", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "offset": 703, - "line": 362, - "offsetLabel": "terminateTX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "inA": "1", - "setCTX": 1, - "line": 365, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "JMP": 1, - "offset": 704, - "line": 366, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/process_tx.zkasm" - }, - { - "CONST": "31", - "setD": 1, - "line": 13, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "shr": 1, - "line": 14, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setGAS": 1, + "offset": 0, + "mRD": 1, + "line": 112, + "offsetLabel": "txGas", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inB": "1", - "CONST": "-128", - "JMPC": 1, - "offset": 715, - "line": 15, - "offsetLabel": "endca2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inGAS": "1", + "CONST": "-21000", + "setGAS": 1, + "line": 113, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_xor", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 16, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 7, + "mRD": 1, + "line": 118, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "CONST": "1", - "setA": 1, - "line": 17, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 697, + "line": 119, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 20, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setD": 1, + "line": 120, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inCTX": "1", - "offset": 22, - "mWR": 1, - "line": 25, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "-1", + "setC": 1, + "line": 121, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1024", - "setSP": 1, - "line": 26, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inC": "1", + "CONST": "1", + "setC": 1, + "line": 124, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setCTX": 1, - "offset": 29, - "mRD": 1, - "line": 27, - "offsetLabel": "originCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setD": 1, + "line": 125, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 28, - "mRD": 1, - "line": 28, - "offsetLabel": "argsOffsetCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1024", + "inC": "1", + "setSP": 1, + "line": 126, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setC": 1, - "offset": 27, - "mRD": 1, - "line": 29, - "offsetLabel": "argsLengthCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 686, + "line": 127, + "offsetLabel": "loopBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", + "inA": "1", "freeInTag": { - "op": "mod", + "op": "mul", "values": [ { "op": "getReg", - "regName": "E" + "regName": "C" }, { "op": "number", @@ -8052,132 +7843,111 @@ ] }, "inFREE": "-1", - "JMPC": 1, - "offset": 738, - "line": 30, - "offsetLabel": "copyInit2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", + "inD": "-1", "CONST": "-1", "JMPC": 1, - "offset": 776, - "line": 33, - "offsetLabel": "copyEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 697, + "line": 129, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "CONST": "-32", + "CONST": "31", + "inD": "-1", "JMPC": 1, - "offset": 731, - "line": 34, - "offsetLabel": "copyFinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 682, + "line": 131, + "offsetLabel": "addGas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, + "setB": 1, + "isStack": 1, "isCode": 0, - "ind": 1, + "isMem": 0, + "ind": 0, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 35, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 36, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 132, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "getByte", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "D" + } + ] }, "inFREE": "1", - "setCTX": 1, - "offset": 22, - "mRD": 1, - "line": 37, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 133, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 38, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inD": "1", + "CONST": "1", + "setD": 1, + "line": 134, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setCTX": 1, - "offset": 29, - "mRD": 1, - "line": 39, - "offsetLabel": "originCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 693, + "line": 135, + "offsetLabel": "add4Gas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 40, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 695, + "line": 136, + "offsetLabel": "add16Gas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inGAS": "1", + "CONST": "-4", + "setGAS": 1, + "line": 139, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "JMP": 1, - "offset": 722, - "line": 41, - "offsetLabel": "copyInit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 686, + "line": 140, + "offsetLabel": "loopBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 44, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inGAS": "1", + "CONST": "-16", + "setGAS": 1, + "line": 143, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 45, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 686, + "line": 144, + "offsetLabel": "loopBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -8185,505 +7955,410 @@ }, "inFREE": "1", "setA": 1, - "shr": 1, - "line": 46, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 12, + "mRD": 1, + "line": 149, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 47, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 712, + "line": 150, + "offsetLabel": "getContractAddress", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, + "setA": 1, + "offset": 1, "mRD": 1, - "line": 48, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "line": 151, + "offsetLabel": "txDestAddr", "useCTX": 1, - "mWR": 1, - "line": 49, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "offset": 776, - "line": 50, - "offsetLabel": "copyEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 776, - "line": 53, - "offsetLabel": "copyEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 753, - "line": 54, - "offsetLabel": "copyFinal2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ { "op": "getReg", - "regName": "E" + "regName": "A" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "CTX" } ] }, "inFREE": "1", - "setD": 1, - "line": 55, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 152, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "comp_lt", + "params": [ { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "A" }, { "op": "number", - "num": "32" + "num": "10" } ] }, "inFREE": "1", - "setE": 1, - "line": 56, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 154, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 57, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 614, + "line": 155, + "offsetLabel": "selectorPrecompiled", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 156, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 157, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "shl": 1, - "line": 58, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "sRD": 1, + "line": 158, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inD": "-1", + "CONST": "0", "setD": 1, - "line": 59, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 159, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", "CONST": "32", - "setE": 1, - "line": 60, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inD": "-1", + "JMPC": 1, + "offset": 831, + "line": 162, + "offsetLabel": "moveBalances", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 61, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "getByte", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "D" + } + ] }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 62, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 163, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 802, + "line": 164, + "offsetLabel": "callContract", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inD": "1", + "CONST": "1", + "setD": 1, + "line": 165, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 707, + "line": 166, + "offsetLabel": "checkTxType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, + "setE": 1, + "offset": 6, "mRD": 1, - "line": 63, - "offsetLabel": "currentCTX", + "line": 170, + "offsetLabel": "lastHashIdUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "inE": "1", + "CONST": "1", + "setE": 1, + "offset": 6, "mWR": 1, - "line": 64, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 171, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setA": 1, + "offset": 34, "mRD": 1, - "line": 65, - "offsetLabel": "originCTX", + "line": 172, + "offsetLabel": "isCreate2", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 66, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 738, - "line": 67, - "offsetLabel": "copyInit2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 747, + "line": 173, + "offsetLabel": "create2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, - "inFREE": "-1", - "inC": "-1", - "setD": 1, - "JMPC": 1, - "offset": 763, - "line": 70, - "offsetLabel": "copyFinal22", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inFREE": "1", + "setA": 1, + "offset": 14, + "mRD": 1, + "line": 174, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setB": 1, - "line": 71, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 4, + "mRD": 1, + "line": 175, + "offsetLabel": "txNonce", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "mul", - "values": [ - { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setE": 1, - "line": 72, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inB": "1", + "CONST": "-128", + "JMPC": 1, + "offset": 730, + "line": 176, + "offsetLabel": "nonce1byte", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setC": 1, + "offset": 5, "mRD": 1, - "line": 73, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 177, + "offsetLabel": "lengthNonce", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", + "CONST": "1", "setD": 1, - "line": 74, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 178, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 75, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "214", + "inC": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 179, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 76, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "148", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 180, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setCTX": 1, - "offset": 22, - "mRD": 1, - "line": 77, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "20", + "setD": 1, + "line": 181, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 78, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "offset": 776, - "line": 79, - "offsetLabel": "copyEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "hashWR": 1, + "line": 182, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", + "CONST": "1", "setD": 1, - "line": 82, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 183, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "mul", - "values": [ - { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setE": 1, - "line": 83, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "128", + "inC": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 184, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, + "inC": "1", + "setD": 1, + "line": 185, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", "ind": 1, - "incCode": 0, - "incStack": 0, "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 84, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "hashWR": 1, + "line": 186, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "shl": 1, - "line": 85, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 740, + "line": 187, + "offsetLabel": "endContractAddress", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 86, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1", + "setD": 1, + "line": 190, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, + "CONST": "214", "ind": 1, - "incCode": 0, - "incStack": 0, "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 87, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "hashWR": 1, + "line": 191, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "CONST": "-32", - "inD": "1", + "CONST": "148", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 192, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "20", "setD": 1, - "line": 88, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 193, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inD": "-1", + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 194, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "1", "setD": 1, - "line": 89, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 195, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 739, + "line": 196, + "offsetLabel": "nonce0", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 197, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 740, + "line": 198, + "offsetLabel": "endContractAddress", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "128", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 201, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "ind": 1, + "offset": 0, + "hashE": 1, + "line": 204, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -8691,16 +8366,17 @@ }, "inFREE": "1", "setA": 1, - "shr": 1, - "line": 90, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 205, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", + "CONST": "12", "setD": 1, - "line": 91, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 206, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -8709,262 +8385,158 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 92, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 207, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, - "mRD": 1, - "line": 93, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "shr": 1, + "line": 208, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 13, "mWR": 1, - "line": 94, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 209, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 784, + "line": 212, + "offsetLabel": "deploy", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, - "mRD": 1, - "line": 97, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 98, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "offset": 33, - "mWR": 1, - "line": 104, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "CONST": "0", "setC": 1, - "line": 105, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inB": "1", - "setA": 1, - "line": 106, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 7, + "mRD": 1, + "line": 215, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "div", + "values": [ { - "op": "getReg", - "regName": "A" + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "31" + } + ] }, { "op": "number", - "num": "0" + "num": "32" } ] }, "inFREE": "1", - "setB": 1, - "line": 109, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "line": 216, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 787, - "line": 110, - "offsetLabel": "getLenEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inGAS": "1", + "inA": "-6", + "setGAS": 1, + "line": 217, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setD": 1, - "line": 111, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1024", + "setSP": 1, + "line": 218, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 112, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 752, + "line": 219, + "offsetLabel": "loopCreate2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", - "CONST": "1", - "setC": 1, - "line": 113, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "offset": 781, - "line": 114, - "offsetLabel": "getLenBytesLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 764, + "line": 222, + "offsetLabel": "create2end", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", - "setA": 1, - "line": 117, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "-32", + "JMPC": 1, + "offset": 759, + "line": 223, + "offsetLabel": "endloopCreate2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "ind": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, "offset": 0, - "line": 118, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "useCTX": 1, + "mRD": 1, + "line": 224, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "offset": 31, - "mWR": 1, - "line": 128, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "32", + "setD": 1, + "line": 225, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 129, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 226, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inC": "1", - "offset": 33, - "mWR": 1, - "line": 130, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 131, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "offset": 35, - "mWR": 1, - "line": 132, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 819, - "line": 133, - "offsetLabel": "MSTORE322", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", + "CONST": "-32", "setC": 1, - "line": 134, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 227, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "mul", - "values": [ - { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setE": 1, - "line": 135, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 752, + "line": 228, + "offsetLabel": "loopCreate2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -8972,24 +8544,24 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, + "isStack": 1, "isCode": 0, - "ind": 1, + "isMem": 0, + "ind": 0, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 136, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 231, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", "inC": "-1", "setD": 1, - "line": 137, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 232, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -8998,99 +8570,85 @@ "inFREE": "1", "setA": 1, "shr": 1, - "line": 138, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 233, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 139, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inC": "1", + "setD": 1, + "line": 234, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "setB": 1, - "line": 140, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 235, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "ind": 1, + "offset": 0, + "hashE": 1, + "line": 238, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 36, - "mRD": 1, - "line": 141, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "setD": 1, - "line": 142, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setC": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 239, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 143, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 240, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "inE": "1", + "CONST": "1", + "setE": 1, + "offset": 6, "mWR": 1, - "line": 144, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 241, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 145, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1", + "setD": 1, + "line": 243, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, + "CONST": "255", "ind": 1, - "incCode": 0, - "incStack": 0, "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 146, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "hashWR": 1, + "line": 244, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", + "CONST": "20", "setD": 1, - "line": 147, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 245, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9098,97 +8656,96 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 148, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 14, + "mRD": 1, + "line": 246, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 247, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 149, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "offset": 35, + "mRD": 1, + "line": 248, + "offsetLabel": "salt", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "setB": 1, - "line": 150, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "32", + "setD": 1, + "line": 249, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 36, - "mRD": 1, - "line": 151, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inB": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 250, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "32", - "inC": "-1", "setD": 1, - "line": 152, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 251, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 153, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inC": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 252, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, "ind": 1, - "incCode": 0, - "incStack": 0, "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 154, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "hashE": 1, + "line": 253, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 35, - "mRD": 1, - "line": 155, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 254, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 156, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "12", + "setD": 1, + "line": 255, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 859, - "line": 157, - "offsetLabel": "MSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 256, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9196,116 +8753,93 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, - "mRD": 1, - "line": 160, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "shr": 1, + "line": 257, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 13, "mWR": 1, - "line": 161, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 258, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 162, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1024", + "offset": 9, + "mWR": 1, + "line": 261, + "offsetLabel": "SPr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 859, - "line": 163, - "offsetLabel": "MSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "offset": 10, + "mWR": 1, + "line": 262, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "offset": 31, - "mWR": 1, - "line": 172, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setPC": 1, + "line": 263, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 173, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setSP": 1, + "line": 264, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "offset": 33, - "mWR": 1, - "line": 174, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inGAS": "1", + "CONST": "-32000", + "setGAS": 1, + "line": 265, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 175, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 815, + "line": 266, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "offset": 35, + "inSP": "1", + "offset": 10, "mWR": 1, - "line": 176, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 269, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, - "inFREE": "-1", - "inC": "-1", - "JMPC": 1, - "offset": 841, - "line": 177, - "offsetLabel": "MSTOREX2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inFREE": "1", + "setSP": 1, + "offset": 9, + "mRD": 1, + "line": 270, + "offsetLabel": "SPr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { + "inSP": "1", "freeInTag": { - "op": "mod", + "op": "div", "values": [ { "op": "getReg", - "regName": "E" + "regName": "PC" }, { "op": "number", @@ -9314,26 +8848,17 @@ ] }, "inFREE": "1", - "setD": 1, - "line": 178, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSP": 1, + "line": 271, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", + "op": "mod", "values": [ { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "PC" }, { "op": "number", @@ -9342,32 +8867,31 @@ ] }, "inFREE": "1", - "setE": 1, - "line": 179, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setC": 1, + "line": 272, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 36, + "setB": 1, + "offset": 7, "mRD": 1, - "line": 180, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 274, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "shr": 1, - "line": 181, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inB": "1", + "inPC": "-1", + "JMPC": 1, + "offset": 821, + "line": 275, + "offsetLabel": "endDeploy", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9375,156 +8899,209 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, + "isStack": 1, "isCode": 0, - "ind": 1, + "isMem": 0, + "ind": 0, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 182, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "CONST": "32", - "inD": "-1", - "setD": 1, - "line": 183, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 276, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 184, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSP": 1, + "offset": 10, + "mRD": 1, + "line": 277, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "getByte", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "C" + } + ] }, "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 185, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 278, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, + "freeInTag": { + "op": "functionCall", + "funcName": "addrOp", + "params": [ + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "setRR": 1, + "line": 279, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inPC": "1", + "CONST": "1", + "setPC": 1, + "line": 280, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, "ind": 1, - "incCode": 0, - "incStack": 0, "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 186, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 281, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setPC": 1, + "line": 284, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setSP": 1, + "line": 285, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 286, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 35, + "setA": 1, + "offset": 1, "mRD": 1, - "line": 187, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 289, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "inC": "1", - "setE": 1, - "line": 188, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "2", + "setB": 1, + "line": 290, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 859, - "line": 189, - "offsetLabel": "MSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setC": 1, + "line": 291, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 292, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecodeLength", + "params": [ { "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" + "regName": "A" } ] }, "inFREE": "1", - "setD": 1, - "line": 192, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 293, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "inPC": "-1", + "JMPC": 1, + "offset": 831, + "line": 294, + "offsetLabel": "endByteCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "getBytecode", + "params": [ { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "A" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "PC" } ] }, "inFREE": "1", - "setE": 1, - "line": 193, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "line": 295, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "addrOp", + "params": [ + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 36, - "mRD": 1, - "line": 194, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setRR": 1, + "line": 296, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "shr": 1, - "line": 195, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inPC": "1", + "CONST": "1", + "setPC": 1, + "line": 297, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 298, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9532,34 +9109,28 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 12, "mRD": 1, - "line": 196, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 301, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inD": "-1", - "setD": 1, - "line": 197, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 790, + "line": 302, + "offsetLabel": "readDeployBytecode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 198, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 805, + "line": 303, + "offsetLabel": "readByteCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9567,31 +9138,28 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 199, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 12, + "mRD": 1, + "line": 306, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 200, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 821, + "line": 307, + "offsetLabel": "endDeploy", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 201, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 831, + "line": 308, + "offsetLabel": "endByteCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9599,313 +9167,198 @@ }, "inFREE": "1", "setA": 1, - "offset": 36, + "offset": 13, "mRD": 1, - "line": 202, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "line": 313, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "1", "setB": 1, - "shl": 1, - "line": 203, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 314, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 204, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setC": 1, + "line": 315, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "inD": "-1", + "CONST": "1", "setD": 1, - "line": 205, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 316, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 206, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "sWR": 1, + "line": 317, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inA": "1", - "inB": "1", - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 1, "mWR": 1, - "line": 207, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 319, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "getHashBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setE": 1, - "offset": 35, - "mRD": 1, - "line": 208, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setD": 1, + "line": 322, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "inC": "1", - "setE": 1, - "line": 209, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "2", + "setB": 1, + "line": 323, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 324, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 31, - "mRD": 1, - "line": 212, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "sWR": 1, + "line": 325, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 32, + "setA": 1, + "offset": 14, "mRD": 1, - "line": 213, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 336, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "CONST": "0", + "setB": 1, "setC": 1, - "offset": 33, - "mRD": 1, - "line": 214, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 337, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "offset": 34, - "mRD": 1, - "line": 215, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 216, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 225, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "offset": 33, - "mWR": 1, - "line": 226, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 227, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setE": 1, + "sRD": 1, + "line": 338, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 880, - "line": 228, - "offsetLabel": "MLOAD322", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setC": 1, + "offset": 3, + "mRD": 1, + "line": 339, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", + "op": "sub", "values": [ { "op": "getReg", "regName": "E" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "C" } ] }, "inFREE": "1", - "setC": 1, - "line": 229, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "line": 340, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "mul", - "values": [ - { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setE": 1, - "line": 230, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "31", + "setD": 1, + "line": 341, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 231, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "shr": 1, + "line": 342, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "setD": 1, - "line": 232, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "127", + "inB": "-1", + "JMPC": 1, + "offset": 897, + "line": 343, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "CONST": "1", "setB": 1, - "shl": 1, - "line": 233, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 344, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", + "CONST": "0", "setD": 1, - "line": 234, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 345, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "inE": "1", - "CONST": "32", - "setE": 1, - "line": 235, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "arith": 1, + "line": 346, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 236, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inA": "1", + "setD": 1, + "line": 348, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9913,30 +9366,29 @@ }, "inFREE": "1", "setA": 1, - "shr": 1, - "line": 237, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inA": "1", - "inB": "1", - "setA": 1, - "line": 238, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 14, + "mRD": 1, + "line": 350, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "inC": "1", - "setE": 1, - "line": 239, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 351, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 912, - "line": 240, - "offsetLabel": "MLOADend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "sWR": 1, + "line": 352, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -9944,138 +9396,74 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 1, "mRD": 1, - "line": 243, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 244, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "offset": 912, - "line": 245, - "offsetLabel": "MLOADend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 254, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inC": "1", - "offset": 33, - "mWR": 1, - "line": 255, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 256, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 355, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "offset": 35, - "mWR": 1, - "line": 257, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 356, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, - "inFREE": "-1", - "inC": "-1", - "setD": 1, - "JMPC": 1, - "offset": 898, - "line": 258, - "offsetLabel": "MLOADX2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inFREE": "1", + "setC": 1, + "sRD": 1, + "line": 357, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", + "setA": 1, + "offset": 3, + "mRD": 1, + "line": 359, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "1", "setB": 1, - "line": 259, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 360, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 361, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mul", + "op": "add", "values": [ { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "A" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "C" } ] }, "inFREE": "1", - "setE": 1, - "line": 260, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setD": 1, + "arith": 1, + "line": 362, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10083,50 +9471,57 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 1, "mRD": 1, - "line": 261, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 364, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inB": "1", - "setD": 1, - "line": 262, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 365, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 263, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "sWR": 1, + "line": 366, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 264, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setA": 1, + "line": 374, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 265, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setB": 1, + "offset": 19, + "mRD": 1, + "line": 375, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 864, + "line": 376, + "offsetLabel": "refundGas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10134,71 +9529,111 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 266, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "inB": "1", - "inC": "1", - "setE": 1, - "line": 267, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 0, + "mRD": 1, + "line": 377, + "offsetLabel": "txGas", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "offset": 912, - "line": 268, - "offsetLabel": "MLOADend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inA": "1", + "inGAS": "-1", + "setA": 1, + "line": 378, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "mod", + "op": "div", "values": [ { "op": "getReg", - "regName": "E" + "regName": "A" }, { "op": "number", - "num": "32" + "num": "2" } ] }, "inFREE": "1", + "setA": 1, + "line": 379, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "inB": "-1", + "JMPC": 1, + "offset": 864, + "line": 380, + "offsetLabel": "refundGas", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inB": "1", + "setA": 1, + "line": 381, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inGAS": "1", + "inA": "1", + "setGAS": 1, + "line": 384, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inGAS": "1", + "setA": 1, + "line": 385, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 6, + "mRD": 1, + "line": 386, + "offsetLabel": "txGasPrice", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 387, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", "setD": 1, - "line": 271, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 388, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "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": 272, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setD": 1, + "arith": 1, + "line": 389, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10206,34 +9641,19 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 15, "mRD": 1, - "line": 273, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 391, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "CONST": "0", "setB": 1, - "shl": 1, - "line": 274, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "CONST": "32", - "setE": 1, - "line": 275, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setC": 1, + "line": 392, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10241,32 +9661,47 @@ }, "inFREE": "1", "setA": 1, - "isStack": 0, - "isMem": 1, - "isCode": 0, - "ind": 1, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 276, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "sRD": 1, + "line": 393, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 395, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "CONST": "-32", "inD": "1", + "setC": 1, + "line": 396, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", "setD": 1, - "line": 277, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 397, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inD": "-1", + "freeInTag": { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", "setD": 1, - "line": 278, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "arith": 1, + "line": 398, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10274,49 +9709,49 @@ }, "inFREE": "1", "setA": 1, - "shr": 1, - "line": 279, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 15, + "mRD": 1, + "line": 400, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 280, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 401, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 281, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "sWR": 1, + "line": 402, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "inB": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 282, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "offset": 35, + "offset": 0, "mRD": 1, - "line": 283, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 408, + "offsetLabel": "txGas", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", - "inC": "1", - "setE": 1, - "line": 284, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inA": "1", + "inGAS": "-1", + "setA": 1, + "line": 409, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { @@ -10324,257 +9759,327 @@ }, "inFREE": "1", "setB": 1, - "offset": 32, + "offset": 6, "mRD": 1, - "line": 287, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 411, + "offsetLabel": "txGasPrice", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 412, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 413, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "" + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setC": 1, - "offset": 33, - "mRD": 1, - "line": 288, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setD": 1, + "arith": 1, + "line": 414, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "offset": 34, + "setA": 1, + "offset": 7, "mRD": 1, - "line": 289, - "offsetLabel": "tmpVarD", + "line": 416, + "offsetLabel": "sequencerAddr", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 290, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 417, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inA": "1", - "offset": 31, - "mWR": 1, - "line": 297, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 418, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 298, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1", + "setB": 1, + "line": 420, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inC": "1", - "offset": 33, - "mWR": 1, - "line": 299, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inD": "1", + "setC": 1, + "line": 421, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 300, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "setD": 1, + "line": 422, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "inE": "1", + "freeInTag": { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "setD": 1, + "arith": 1, + "line": 423, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 302, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 7, + "mRD": 1, + "line": 425, + "offsetLabel": "sequencerAddr", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 303, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 426, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "sRD": 1, - "line": 304, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "sWR": 1, + "line": 427, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 60, + "line": 432, + "offsetLabel": "processTxEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "getReg", - "regName": "D" - }, - { - "op": "number", - "num": "0" - } - ] + "op": "" }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 932, - "line": 305, - "offsetLabel": "ISEMPTYSet0", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "offset": 29, + "mRD": 1, + "line": 435, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 308, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 901, + "line": 436, + "offsetLabel": "invalidTxOrigin", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "sRD": 1, - "line": 309, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setSR": 1, + "offset": 20, + "mRD": 1, + "line": 437, + "offsetLabel": "initSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 896, + "line": 438, + "offsetLabel": "terminateTX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "inA": "1", + "setCTX": 1, + "line": 441, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" + }, + { + "JMP": 1, + "offset": 897, + "line": 442, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/process_tx.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "comp_gt", "params": [ { "op": "getReg", - "regName": "D" + "regName": "A" }, { "op": "number", - "num": "0" + "num": "57896044618658097711785492504343953926634992332820282019728792003956564819967" } ] }, "inFREE": "1", + "setB": 1, + "line": 14, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", "CONST": "-1", "JMPC": 1, - "offset": 932, - "line": 310, - "offsetLabel": "ISEMPTYSet0", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 908, + "line": 15, + "offsetLabel": "endca2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "2", - "setB": 1, - "line": 313, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "JMP": 1, + "offset": 906, + "line": 16, + "offsetLabel": "ca2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "115792089237316195423570985008687907853269984665640564039457584007913129639935" + } + ] }, "inFREE": "1", - "setD": 1, - "sRD": 1, - "line": 314, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "line": 21, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "add", + "values": [ { "op": "getReg", - "regName": "D" + "regName": "A" }, { "op": "number", - "num": "0" + "num": "1" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 932, - "line": 315, - "offsetLabel": "ISEMPTYSet0", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "CONST": "1", - "setE": 1, - "line": 318, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "setA": 1, + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 934, - "line": 319, - "offsetLabel": "ISEMPTYEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "ind": 1, + "offset": 0, + "line": 24, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "0", - "setE": 1, - "line": 322, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 29, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 934, - "line": 323, - "offsetLabel": "ISEMPTYEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "CONST": "1024", + "setSP": 1, + "line": 30, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 31, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 326, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 31, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 32, + "setE": 1, + "offset": 28, "mRD": 1, - "line": 327, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 32, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -10582,152 +10087,52 @@ }, "inFREE": "1", "setC": 1, - "offset": 33, + "offset": 27, "mRD": 1, - "line": 328, - "offsetLabel": "tmpVarC", + "line": 33, + "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "CONST": "0", "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] }, - "inFREE": "1", - "setD": 1, - "offset": 34, - "mRD": 1, - "line": 329, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "JMP": 1, - "ind": 1, - "offset": 0, - "line": 330, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inA": "1", - "offset": 31, - "mWR": 1, - "line": 334, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inB": "1", - "offset": 32, - "mWR": 1, - "line": 335, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inFREE": "-1", + "JMPC": 1, + "offset": 931, + "line": 34, + "offsetLabel": "copyInit2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", - "offset": 33, - "mWR": 1, - "line": 336, - "offsetLabel": "tmpVarC", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inD": "1", - "offset": 34, - "mWR": 1, - "line": 337, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inE": "1", - "offset": 35, - "mWR": 1, - "line": 338, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inGAS": "1", - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "GAS" - }, - { - "op": "number", - "num": "64" - } - ] - }, - "inFREE": "-1", - "setA": 1, - "line": 341, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 24, - "mRD": 1, - "line": 342, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "comp_lt", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 344, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "CONST": "0", - "inD": "-1", + "CONST": "-1", "JMPC": 1, - "offset": 949, - "line": 345, - "offsetLabel": "gasSpendCallErrorEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" - }, - { - "inB": "1", - "setA": 1, - "line": 347, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 969, + "line": 37, + "offsetLabel": "copyEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "inA": "-1", - "setGAS": 1, - "line": 350, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 924, + "line": 38, + "offsetLabel": "copyFinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -10735,148 +10140,138 @@ }, "inFREE": "1", "setA": 1, - "offset": 31, + "isStack": 0, + "isMem": 1, + "isCode": 0, + "ind": 1, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 351, - "offsetLabel": "tmpVarA", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 39, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 32, - "mRD": 1, - "line": 352, - "offsetLabel": "tmpVarB", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inE": "1", + "CONST": "32", + "setE": 1, + "line": 40, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "offset": 33, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 353, - "offsetLabel": "tmpVarC", + "line": 41, + "offsetLabel": "currentCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, - "offset": 34, - "mRD": 1, - "line": 354, - "offsetLabel": "tmpVarD", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 42, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 35, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 355, - "offsetLabel": "tmpVarE", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "line": 43, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 44, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "ind": 1, - "offset": 0, - "line": 356, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/utils.zkasm" + "offset": 915, + "line": 45, + "offsetLabel": "copyInit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 29, - "mRD": 1, - "line": 4, - "offsetLabel": "originCTX", + "setA": 1, + "isStack": 0, + "isMem": 1, + "isCode": 0, + "ind": 1, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 965, - "line": 5, - "offsetLabel": "opSTOPend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 48, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inB": "1", - "setCTX": 1, - "line": 6, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 49, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 34, - "mRD": 1, - "line": 7, - "offsetLabel": "gasCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inB": "1", - "setGAS": 1, - "line": 8, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shr": 1, + "line": 50, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 30, - "mRD": 1, - "line": 9, - "offsetLabel": "lastSP", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shl": 1, + "line": 51, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setPC": 1, - "offset": 31, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 10, - "offsetLabel": "lastPC", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 52, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "1", + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -10885,131 +10280,80 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 11, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 53, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 12, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 969, + "line": 54, + "offsetLabel": "copyEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 626, - "line": 15, - "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", + "inC": "1", "CONST": "-1", - "setSP": 1, - "line": 18, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 969, + "line": 57, + "offsetLabel": "copyEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "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": 19, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 946, + "line": 58, + "offsetLabel": "copyFinal2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 20, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1", - "setB": 1, - "line": 21, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", "setD": 1, - "line": 22, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 59, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "add", + "op": "mul", "values": [ { - "op": "getReg", - "regName": "A" + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] }, { - "op": "getReg", - "regName": "C" + "op": "number", + "num": "32" } ] }, "inFREE": "1", "setE": 1, - "arith": 1, - "line": 23, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 24, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 25, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 26, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 29, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 60, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11017,17 +10361,17 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, - "incStack": -1, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 30, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 61, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11035,226 +10379,254 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 31, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "shl": 1, + "line": 62, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 32, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 63, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 33, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "CONST": "32", + "setE": 1, + "line": 64, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "setE": 1, - "arith": 1, - "line": 34, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "isStack": 1, + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 35, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-5", - "setGAS": 1, - "line": 36, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 37, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 65, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 40, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 66, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 67, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": -1, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 41, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 68, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 42, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 69, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "1", - "setB": 1, - "line": 43, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 70, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "0", - "setD": 1, - "line": 44, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 931, + "line": 71, + "offsetLabel": "copyInit2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "CONST": "32", "freeInTag": { - "op": "sub", + "op": "mod", "values": [ { "op": "getReg", "regName": "E" }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "-1", + "inC": "-1", + "setD": 1, + "JMPC": 1, + "offset": 956, + "line": 74, + "offsetLabel": "copyFinal22", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ { "op": "getReg", - "regName": "C" + "regName": "E" + }, + { + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "setA": 1, - "line": 45, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 75, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 46, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 76, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inA": "1", - "isStack": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 47, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 48, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 77, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 49, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 78, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 53, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 79, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 54, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shl": 1, + "line": 80, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 81, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": 0, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 55, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 82, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "offset": 969, + "line": 83, + "offsetLabel": "copyEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11265,98 +10637,78 @@ "regName": "E" }, { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "setC": 1, - "line": 56, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 86, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "div", + "op": "mul", "values": [ { - "op": "getReg", - "regName": "E" + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] }, { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "setB": 1, - "line": 57, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 58, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "arith": 1, - "line": 59, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "line": 87, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inB": "1", - "isStack": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 60, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-5", - "setGAS": 1, - "line": 61, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 62, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 85, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 88, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", + "setB": 1, + "shl": 1, + "line": 89, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "CONST": "32", "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 86, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 90, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11364,70 +10716,76 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 87, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 91, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "inD": "1", + "setD": 1, + "line": 92, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 93, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] + "op": "" }, "inFREE": "1", - "setC": 1, - "line": 88, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shr": 1, + "line": 94, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 95, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "getReg", - "regName": "A" - } - ] + "op": "" }, "inFREE": "1", - "setB": 1, - "line": 89, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 90, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shl": 1, + "line": 96, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 91, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 97, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", + "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -11436,204 +10794,123 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 92, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-5", - "setGAS": 1, - "line": 93, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 94, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 107, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 98, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 108, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 101, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, + "JMP": 1, + "ind": 1, "offset": 0, - "useCTX": 1, - "mRD": 1, + "line": 102, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 108, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 33, + "mWR": 1, "line": 109, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] - }, - "inFREE": "1", - "setE": 1, + "CONST": "0", + "setC": 1, "line": 110, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inB": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, "line": 111, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "E" - }, + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { "op": "getReg", "regName": "A" - } - ] - }, - "inFREE": "1", - "setC": 1, - "line": 112, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "E" }, { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "0" } ] }, "inFREE": "1", "setB": 1, - "line": 113, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setD": 1, "line": 114, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inE": "1", - "arith": 1, + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 981, "line": 115, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "getLenEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, + "CONST": "1", + "setD": 1, "line": 116, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-8", - "setGAS": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, "line": 117, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, + "inC": "1", + "CONST": "1", + "setC": 1, "line": 118, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 121, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 975, + "line": 119, + "offsetLabel": "getLenBytesLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inC": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, "line": 122, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11641,54 +10918,77 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 32, "mRD": 1, "line": 123, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "setE": 1, + "setC": 1, + "offset": 33, + "mRD": 1, "line": 124, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, + "JMP": 1, + "ind": 1, "offset": 0, - "useCTX": 1, - "mRD": 1, "line": 125, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "offset": 31, + "mWR": 1, + "line": 135, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 136, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 137, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 138, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "offset": 35, + "mWR": 1, + "line": 139, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11699,80 +10999,116 @@ "regName": "E" }, { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "setC": 1, - "line": 126, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 1015, + "line": 140, + "offsetLabel": "MSTORE322", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "div", + "op": "mod", "values": [ { "op": "getReg", "regName": "E" }, { - "op": "getReg", - "regName": "A" + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "setB": 1, - "line": 127, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setD": 1, - "line": 128, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 141, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inE": "1", - "arith": 1, - "line": 129, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 142, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", - "isStack": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 130, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 143, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-8", - "setGAS": 1, - "line": 131, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 144, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 132, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 145, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 135, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 146, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "setB": 1, + "line": 147, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11780,139 +11116,100 @@ }, "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": 136, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 148, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "setD": 1, + "line": 149, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, + "setA": 1, + "shr": 1, + "line": 150, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 137, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 151, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "CONST": "32", + "setE": 1, + "line": 152, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "exp", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 138, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 139, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 153, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "1044", - "setRR": 1, - "JMP": 1, - "offset": 778, - "line": 140, - "offsetLabel": "getLenBytes", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "setD": 1, + "line": 154, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-10", - "inA": "-50", - "setGAS": 1, - "line": 141, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 142, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 148, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 149, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 152, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 155, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 153, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 156, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, + "inA": "1", + "setB": 1, "line": 157, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -11920,83 +11217,71 @@ }, "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": 158, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 159, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, + "setA": 1, + "shl": 1, + "line": 160, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 159, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 160, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 161, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_lt", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 161, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "offset": 35, + "mRD": 1, + "line": 162, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 162, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "CONST": "32", + "setE": 1, + "line": 163, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 166, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1055, + "line": 164, + "offsetLabel": "MSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12004,83 +11289,155 @@ }, "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": 167, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "isStack": 1, + "inA": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, + "mWR": 1, "line": 168, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, + "inE": "1", + "CONST": "32", + "setE": 1, "line": 169, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "offset": 1055, + "line": 170, + "offsetLabel": "MSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "offset": 31, + "mWR": 1, + "line": 179, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 180, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 181, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 182, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inE": "1", + "offset": 35, + "mWR": 1, + "line": 183, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "CONST": "32", "freeInTag": { - "op": "functionCall", - "funcName": "comp_gt", - "params": [ + "op": "mod", + "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" }, { - "op": "getReg", - "regName": "B" + "op": "number", + "num": "32" } ] }, - "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 170, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 171, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "-1", + "inC": "-1", + "JMPC": 1, + "offset": 1037, + "line": 184, + "offsetLabel": "MSTOREX2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 191, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 185, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 186, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12088,17 +11445,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": 192, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 187, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12106,65 +11458,44 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, + "shr": 1, + "line": 188, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 193, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 189, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 194, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 190, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 195, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 196, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 199, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shr": 1, + "line": 191, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12172,65 +11503,98 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "shl": 1, + "line": 192, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, + "mWR": 1, + "line": 193, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 35, "mRD": 1, - "line": 200, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 194, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 201, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inC": "1", + "setE": 1, + "line": 195, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "offset": 1055, + "line": 196, + "offsetLabel": "MSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "mod", + "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" }, { "op": "number", - "num": "0" + "num": "32" } ] }, "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 202, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 203, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 199, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 206, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 200, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12238,17 +11602,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": 207, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 201, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12256,65 +11615,76 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, + "shr": 1, + "line": 202, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 208, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 203, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 209, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 204, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_and", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, + "setA": 1, + "shr": 1, + "line": 205, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 206, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 210, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 211, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 207, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 214, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "CONST": "32", + "setE": 1, + "line": 208, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12322,17 +11692,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": 215, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 209, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12340,65 +11705,79 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, + "shl": 1, + "line": 210, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 216, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 211, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 217, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "inD": "-1", + "setD": 1, + "line": 212, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_or", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, + "setA": 1, + "shr": 1, + "line": 213, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inA": "1", + "inB": "1", + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 218, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 214, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 219, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 35, + "mRD": 1, + "line": 215, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 222, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inC": "1", + "setE": 1, + "line": 216, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12406,17 +11785,12 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 31, "mRD": 1, - "line": 223, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 219, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12424,145 +11798,141 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 32, "mRD": 1, - "line": 224, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 220, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 225, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 33, + "mRD": 1, + "line": 221, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_xor", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "setD": 1, + "offset": 34, + "mRD": 1, + "line": 222, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "JMP": 1, + "ind": 1, "offset": 0, - "useCTX": 1, + "line": 223, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "offset": 32, "mWR": 1, - "line": 226, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 232, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 227, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 233, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 230, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 234, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 231, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 232, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 1076, + "line": 235, + "offsetLabel": "MLOAD322", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_not", - "params": [ + "op": "mod", + "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" + }, + { + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 233, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 234, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 237, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 236, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 238, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "line": 237, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12570,24 +11940,23 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 239, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 238, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "31", - "inB": "-1", + "inC": "1", "setD": 1, - "line": 240, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 239, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12595,94 +11964,72 @@ }, "inFREE": "1", "setB": 1, - "shr": 1, + "shl": 1, + "line": 240, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, "line": 241, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, + "inE": "1", + "CONST": "32", + "setE": 1, "line": 242, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "bitwise_and", - "params": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "255" - } - ] + "op": "" }, "inFREE": "1", - "isStack": 1, + "setA": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "ind": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, + "mRD": 1, "line": 243, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, "line": 244, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 247, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "inB": "1", + "setA": 1, + "line": 245, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 248, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inC": "1", + "setE": 1, + "line": 246, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "D" - }, - { - "op": "number", - "num": "8" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 249, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1108, + "line": 247, + "offsetLabel": "MLOADend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12690,98 +12037,138 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, "line": 250, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, + "inE": "1", + "CONST": "32", + "setE": 1, "line": 251, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, + "JMP": 1, + "offset": 1108, "line": 252, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "MLOADend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 253, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 261, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 254, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 262, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 257, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 263, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 258, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "offset": 35, + "mWR": 1, + "line": 264, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "CONST": "32", "freeInTag": { - "op": "div", + "op": "mod", "values": [ { "op": "getReg", - "regName": "D" + "regName": "E" }, { "op": "number", - "num": "8" + "num": "32" } ] }, - "inFREE": "1", + "inFREE": "-1", + "inC": "-1", "setD": 1, - "line": 259, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 1094, + "line": 265, + "offsetLabel": "MLOADX2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 266, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mul", + "values": [ + { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 267, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12789,17 +12176,23 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, + "isStack": 0, + "isMem": 1, "isCode": 0, - "isMem": 0, - "ind": 0, + "ind": 1, "incCode": 0, "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 260, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 268, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inB": "1", + "setD": 1, + "line": 269, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -12808,491 +12201,388 @@ "inFREE": "1", "setA": 1, "shl": 1, - "line": 261, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 262, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 263, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 264, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 270, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 270, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 271, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 271, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shr": 1, + "line": 272, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 272, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "shl": 1, + "line": 273, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inE": "1", + "inB": "1", "inC": "1", - "offset": 24, - "mWR": 1, - "line": 273, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "line": 274, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-30", - "setGAS": 1, + "JMP": 1, + "offset": 1108, "line": 275, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "MLOADend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", + "op": "mod", "values": [ { - "op": "number", - "num": "6" + "op": "getReg", + "regName": "E" }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 278, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "mul", + "values": [ { "op": "div", "values": [ { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] + "op": "getReg", + "regName": "E" }, { "op": "number", "num": "32" } ] + }, + { + "op": "number", + "num": "32" } ] }, - "inFREE": "-1", - "setGAS": 1, - "line": 276, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "1", + "setE": 1, + "line": 279, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 6, + "setA": 1, + "isStack": 0, + "isMem": 1, + "isCode": 0, + "ind": 1, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 278, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 280, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inB": "1", - "CONST": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setB": 1, - "offset": 6, - "mWR": 1, - "line": 279, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "shl": 1, + "line": 281, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "inE": "1", "CONST": "32", - "setD": 1, - "line": 280, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "line": 282, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1144, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 0, + "isMem": 1, + "isCode": 0, + "ind": 1, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, "line": 283, - "offsetLabel": "opSHA3End", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inC": "1", "CONST": "-32", - "JMPC": 1, - "offset": 1138, + "inD": "1", + "setD": 1, "line": 284, - "offsetLabel": "opSHA3Final", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "1132", - "setRR": 1, - "JMP": 1, - "offset": 864, + "CONST": "32", + "inD": "-1", + "setD": 1, "line": 285, - "offsetLabel": "MLOAD32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "setB": 1, - "line": 286, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 6, - "mRD": 1, + "setA": 1, + "shr": 1, + "line": 286, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, "line": 287, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inA": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, "line": 288, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "inA": "1", "inB": "1", - "setE": 1, + "setA": 1, "line": 289, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", - "CONST": "-32", - "setC": 1, + "inE": "1", + "offset": 35, + "mRD": 1, "line": 290, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 1129, + "inE": "1", + "inC": "1", + "setE": 1, "line": 291, - "offsetLabel": "opSHA3Loop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1139", - "setRR": 1, - "JMP": 1, - "offset": 883, - "line": 293, - "offsetLabel": "MLOADX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 294, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 295, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "offset": 32, + "mRD": 1, + "line": 294, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 6, + "setC": 1, + "offset": 33, "mRD": 1, - "line": 296, - "offsetLabel": "lastHashIdUsed", + "line": 295, + "offsetLabel": "tmpVarC", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "setD": 1, - "line": 297, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 298, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 6, + "setD": 1, + "offset": 34, "mRD": 1, - "line": 301, - "offsetLabel": "lastHashIdUsed", + "line": 296, + "offsetLabel": "tmpVarD", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "JMP": 1, "ind": 1, "offset": 0, - "hashE": 1, - "line": 302, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "ind": 1, - "offset": 0, - "hashRD": 1, - "line": 303, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 297, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 31, "mWR": 1, "line": 304, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 24, - "mRD": 1, + "inB": "1", + "offset": 32, + "mWR": 1, "line": 305, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 23, - "mRD": 1, + "inC": "1", + "offset": 33, + "mWR": 1, "line": 306, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, + "inD": "1", + "offset": 34, + "mWR": 1, "line": 307, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 308, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "setA": 1, + "line": 309, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 310, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 12, - "mRD": 1, + "setD": 1, + "sRD": 1, "line": 311, - "offsetLabel": "txIsCreateContract", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "0", - "inA": "-1", + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "0" + } + ] + }, + "inFREE": "1", + "CONST": "-1", "JMPC": 1, - "offset": 1156, + "offset": 1128, "line": 312, - "offsetLabel": "opADDRESSdeploy", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "ISEMPTYSet0", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 315, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 1, - "mRD": 1, - "line": 313, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1157, - "line": 314, - "offsetLabel": "opADDRESSend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "sRD": 1, + "line": 316, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "0" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 13, - "mRD": 1, + "CONST": "-1", + "JMPC": 1, + "offset": 1128, "line": 317, - "offsetLabel": "createContractAddress", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offsetLabel": "ISEMPTYSet0", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, + "CONST": "2", + "setB": 1, "line": 320, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 321, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 322, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 325, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 326, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 327, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13301,96 +12591,57 @@ "inFREE": "1", "setD": 1, "sRD": 1, - "line": 328, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 329, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 321, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "touchedAddress", + "funcName": "comp_eq", "params": [ { "op": "getReg", - "regName": "A" + "regName": "D" }, { - "op": "getReg", - "regName": "CTX" + "op": "number", + "num": "0" } ] }, "inFREE": "1", - "setD": 1, - "line": 330, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 1128, + "line": 322, + "offsetLabel": "ISEMPTYSet0", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-100", - "inD": "-2500", - "setGAS": 1, - "line": 331, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setE": 1, + "line": 325, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 332, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 15, - "mRD": 1, - "line": 335, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 336, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1130, + "line": 326, + "offsetLabel": "ISEMPTYEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 337, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setE": 1, + "line": 329, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 338, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1130, + "line": 330, + "offsetLabel": "ISEMPTYEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13398,164 +12649,162 @@ }, "inFREE": "1", "setA": 1, - "offset": 14, + "offset": 31, "mRD": 1, - "line": 341, - "offsetLabel": "txSrcAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 342, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 333, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 343, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 32, + "mRD": 1, + "line": 334, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 344, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 33, + "mRD": 1, + "line": 335, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 3, + "setD": 1, + "offset": 34, "mRD": 1, - "line": 347, - "offsetLabel": "txValue", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 336, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, + "JMP": 1, + "ind": 1, "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 348, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 337, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 349, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "offset": 32, + "mWR": 1, + "line": 342, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 350, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "offset": 33, + "mWR": 1, + "line": 343, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 353, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "offset": 34, + "mWR": 1, + "line": 344, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 354, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "offset": 35, + "mWR": 1, + "line": 345, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { + "inGAS": "1", "freeInTag": { "op": "div", "values": [ { "op": "getReg", - "regName": "A" + "regName": "GAS" }, { "op": "number", - "num": "32" + "num": "64" } ] }, - "inFREE": "1", - "setB": 1, - "line": 355, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "-1", + "setA": 1, + "line": 348, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "number", - "num": "32" + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 24, + "mRD": 1, + "line": 349, + "offsetLabel": "gasCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" } ] }, "inFREE": "1", - "setA": 1, - "line": 356, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 351, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "CONST": "0", - "inA": "-1", + "inD": "-1", "JMPC": 1, - "offset": 1192, - "line": 357, - "offsetLabel": "opCALLDATALOAD2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "setC": 1, - "line": 358, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1144, + "line": 352, + "offsetLabel": "computeGasSendCallEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "CONST": "1024", "inB": "1", - "setSP": 1, - "line": 359, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "line": 354, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { @@ -13563,237 +12812,349 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 32, "mRD": 1, - "line": 360, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "setSP": 1, - "line": 361, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 362, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 363, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 364, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "setC": 1, - "line": 367, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "setD": 1, - "line": 368, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1024", - "inB": "1", - "setSP": 1, - "line": 369, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 357, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "setC": 1, + "offset": 33, "mRD": 1, - "line": 370, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 358, + "offsetLabel": "tmpVarC", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "shl": 1, - "line": 371, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "32", - "inD": "-1", "setD": 1, - "line": 372, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 34, + "mRD": 1, + "line": 359, + "offsetLabel": "tmpVarD", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setE": 1, + "offset": 35, "mRD": 1, - "line": 373, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 360, + "offsetLabel": "tmpVarE", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 374, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "ind": 1, + "offset": 0, + "line": 361, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inC": "1", - "setSP": 1, - "line": 375, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 31, + "mWR": 1, + "line": 365, + "offsetLabel": "tmpVarA", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inB": "1", - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 32, "mWR": 1, - "line": 376, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 366, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 377, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "offset": 23, + "mWR": 1, + "line": 367, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 378, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "div", + "values": [ + { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "number", + "num": "31" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 368, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "31" + } + ] + }, + { + "op": "number", + "num": "32" + } + ] }, "inFREE": "1", "setB": 1, - "offset": 7, - "mRD": 1, - "line": 381, - "offsetLabel": "txNData", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 382, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 369, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 383, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "-3", + "freeInTag": { + "op": "div", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + { + "op": "number", + "num": "512" + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 370, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "inGAS": "1", + "inB": "3", + "freeInTag": { + "op": "div", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + { + "op": "number", + "num": "512" + } + ] + }, + "inFREE": "1", + "setGAS": 1, + "line": 371, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 31, + "mRD": 1, + "line": 372, + "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": 373, + "offsetLabel": "tmpVarB", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 384, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "ind": 1, + "offset": 0, + "line": 374, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/utils.zkasm" }, { - "inSP": "1", + "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, - "line": 387, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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", - "setE": 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, - "incCode": 0, - "incStack": -1, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 388, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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" + }, + { + "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" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -13803,8 +13164,8 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 389, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 21, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -13821,136 +13182,74 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 390, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 22, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 391, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setB": 1, + "line": 23, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 392, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 24, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", + "op": "add", "values": [ { - "op": "number", - "num": "3" + "op": "getReg", + "regName": "A" }, { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] + "op": "getReg", + "regName": "C" } ] }, - "inFREE": "-1", - "setGAS": 1, - "line": 393, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "1", + "setE": 1, + "arith": 1, + "line": 25, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "offset": 10, - "mWR": 1, - "line": 394, - "offsetLabel": "SPw", + "inE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 26, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 27, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1217, - "line": 395, - "offsetLabel": "opCALLDATACOPYinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 28, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", + "inSP": "1", "CONST": "-1", - "JMPC": 1, - "offset": 1259, - "line": 398, - "offsetLabel": "opCALLDATACOPYend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 1235, - "line": 399, - "offsetLabel": "opCALLDATACOPYfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 400, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1024", - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", "setSP": 1, - "line": 401, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 31, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -13963,137 +13262,121 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 402, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 32, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 33, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", "setC": 1, - "shl": 1, - "line": 403, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 34, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 35, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1025", "freeInTag": { - "op": "div", + "op": "mul", "values": [ { "op": "getReg", - "regName": "B" + "regName": "A" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "B" } ] }, "inFREE": "1", - "setSP": 1, - "line": 404, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "32", - "inD": "-1", - "setD": 1, - "line": 405, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "arith": 1, + "line": 36, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inE": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": 0, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 406, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 407, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 37, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "inC": "1", - "offset": 36, - "mWR": 1, - "line": 408, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 38, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1229", - "setRR": 1, "JMP": 1, - "offset": 789, - "line": 409, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 39, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inSP": "1", + "CONST": "-1", "setSP": 1, - "offset": 10, - "mRD": 1, - "line": 410, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 42, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 411, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 43, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "CONST": "-32", + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setC": 1, - "line": 412, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -14102,110 +13385,105 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 413, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 44, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "CONST": "32", + "CONST": "1", "setB": 1, - "line": 414, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 45, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 1217, - "line": 415, - "offsetLabel": "opCALLDATACOPYinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 46, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "mod", + "op": "sub", "values": [ { "op": "getReg", - "regName": "B" + "regName": "E" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "C" } ] }, "inFREE": "1", - "setD": 1, - "line": 418, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "line": 47, + "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" - } - ] - }, - "inFREE": "1", - "setSP": 1, - "line": 419, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "arith": 1, + "line": 48, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": 0, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 420, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 49, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 421, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 50, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 51, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 54, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 10, - "mRD": 1, - "line": 422, - "offsetLabel": "SPw", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 55, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -14215,92 +13493,92 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 423, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 56, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1025", "freeInTag": { - "op": "div", + "op": "mod", "values": [ { "op": "getReg", - "regName": "B" + "regName": "E" }, { - "op": "number", - "num": "32" + "op": "getReg", + "regName": "A" } ] }, "inFREE": "1", - "setSP": 1, - "line": 424, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 57, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "CONST": "-32", - "inD": "1", - "setD": 1, - "line": 425, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 58, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inD": "1", - "JMPC": 1, - "offset": 1254, - "line": 426, - "offsetLabel": "opCALLDATACOPYxor", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 59, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "setB": 1, - "line": 427, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "arith": 1, + "line": 60, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": 0, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 428, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 61, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inD": "-1", - "setD": 1, - "line": 429, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 62, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 430, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 815, + "line": 63, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 431, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 66, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -14308,58 +13586,38 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 432, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inA": "1", - "setA": 1, - "line": 433, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 36, - "mWR": 1, - "line": 434, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 67, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1253", + "CONST": "1210", "setRR": 1, "JMP": 1, - "offset": 823, - "line": 435, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1259, - "line": 436, - "offsetLabel": "opCALLDATACOPYend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 903, + "line": 68, + "offsetLabel": "abs", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 439, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "setE": 1, + "line": 69, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 440, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "setC": 1, + "line": 70, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -14367,145 +13625,164 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 441, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 36, - "mWR": 1, - "line": 442, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 71, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1259", + "CONST": "1214", "setRR": 1, "JMP": 1, - "offset": 823, - "line": 443, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 903, + "line": 72, + "offsetLabel": "abs", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + { + "op": "number", + "num": "1" + } + ] }, "inFREE": "1", - "setSP": 1, - "offset": 10, - "mRD": 1, - "line": 446, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 1222, + "line": 74, + "offsetLabel": "opSDIVNeg", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setE": 1, - "offset": 24, - "mRD": 1, - "line": 447, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 75, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", "setB": 1, - "offset": 23, - "mRD": 1, - "line": 448, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 76, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 449, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 77, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 450, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "arith": 1, + "line": 78, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 12, - "mRD": 1, - "line": 454, - "offsetLabel": "txIsCreateContract", + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 1274, - "line": 455, - "offsetLabel": "oopCODESIZEdep", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 1, - "mRD": 1, - "line": 456, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 80, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2", - "setB": 1, - "line": 457, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 81, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 458, - "fileName": "/home/ixnay/iden3Dev/github/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": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setA": 1, - "sRD": 1, - "line": 459, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 84, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecodeLength", - "params": [ + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, { "op": "getReg", "regName": "A" @@ -14514,11 +13791,38 @@ }, "inFREE": "1", "setB": 1, - "line": 460, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 85, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 86, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 87, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", + "setA": 1, + "line": 88, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1228", + "setRR": 1, + "JMP": 1, + "offset": 906, + "line": 89, + "offsetLabel": "ca2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -14527,62 +13831,47 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 461, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 90, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-5", "setGAS": 1, - "line": 462, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 91, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 463, + "offset": 815, + "line": 92, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 95, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 7, - "mRD": 1, - "line": 466, - "offsetLabel": "txNData", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": -1, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 467, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 468, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 469, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 96, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -14590,88 +13879,108 @@ }, "inFREE": "1", "setA": 1, - "offset": 12, - "mRD": 1, - "line": 472, - "offsetLabel": "txIsCreateContract", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 1208, - "line": 473, - "offsetLabel": "opCALLDATACOPY", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 97, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 1, - "mRD": 1, - "line": 474, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2", - "setB": 1, - "line": 475, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", "setC": 1, - "line": 476, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 98, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setA": 1, - "sRD": 1, - "line": 477, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 99, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 478, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 100, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, + "inE": "1", + "arith": 1, + "line": 101, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": -1, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 479, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 102, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 103, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 104, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 107, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -14681,15 +13990,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 480, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 108, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1244", + "setRR": 1, + "JMP": 1, + "offset": 903, + "line": 109, + "offsetLabel": "abs", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setE": 1, + "line": 110, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setC": 1, + "line": 111, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -14699,258 +14029,182 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 481, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 112, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 482, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 483, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1248", + "setRR": 1, + "JMP": 1, + "offset": 903, + "line": 113, + "offsetLabel": "abs", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ { - "op": "number", - "num": "3" + "op": "getReg", + "regName": "C" }, { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] + "op": "number", + "num": "1" } ] }, - "inFREE": "-1", - "setGAS": 1, - "line": 484, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", + "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1304, - "line": 487, - "offsetLabel": "opCODECOPYend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 1299, - "line": 488, - "offsetLabel": "opCODECOPYfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1256, + "line": 115, + "offsetLabel": "opSMODNeg", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ + "op": "mod", + "values": [ { "op": "getReg", - "regName": "A" + "regName": "E" }, { "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" + "regName": "A" } ] }, "inFREE": "1", - "setD": 1, - "line": 489, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "offset": 36, - "mWR": 1, - "line": 490, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1296", - "setRR": 1, - "JMP": 1, - "offset": 789, - "line": 491, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", "setC": 1, - "line": 492, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "CONST": "32", - "setB": 1, - "line": 493, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1291, - "line": 494, - "offsetLabel": "opCODECOPYinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 117, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" - }, + "op": "div", + "values": [ { "op": "getReg", - "regName": "B" + "regName": "E" }, { "op": "getReg", - "regName": "C" + "regName": "A" } ] }, "inFREE": "1", - "setA": 1, - "line": 497, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 118, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inC": "-1", + "CONST": "0", "setD": 1, - "line": 498, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 119, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 499, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "arith": 1, + "line": 120, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 36, + "inC": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, "mWR": 1, - "line": 500, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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" }, { - "CONST": "1304", - "setRR": 1, "JMP": 1, - "offset": 823, - "line": 501, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 123, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setE": 1, - "offset": 24, - "mRD": 1, - "line": 504, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 125, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", "setB": 1, - "offset": 23, - "mRD": 1, - "line": 505, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 126, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 506, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 127, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 507, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "arith": 1, + "line": 128, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inC": "1", "setA": 1, - "offset": 6, - "mRD": 1, - "line": 510, - "offsetLabel": "txGasPrice", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 129, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1262", + "setRR": 1, + "JMP": 1, + "offset": 906, + "line": 130, + "offsetLabel": "ca2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -14962,29 +14216,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 511, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 131, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-5", "setGAS": 1, - "line": 512, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 132, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 513, + "offset": 815, + "line": 133, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 516, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 135, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -14997,44 +14251,49 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 517, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 136, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] + "op": "" }, "inFREE": "1", - "setD": 1, - "line": 518, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2", "setB": 1, - "line": 519, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 137, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "setC": 1, - "line": 520, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "setE": 1, + "line": 138, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -15042,15 +14301,45 @@ }, "inFREE": "1", "setA": 1, - "sRD": 1, - "line": 521, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 139, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecodeLength", - "params": [ + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setC": 1, + "line": 140, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "E" + }, { "op": "getReg", "regName": "A" @@ -15059,11 +14348,23 @@ }, "inFREE": "1", "setB": 1, - "line": 522, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 141, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "CONST": "0", + "setD": 1, + "line": 142, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 143, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -15072,30 +14373,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 523, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 144, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-100", - "inD": "-2500", + "CONST": "-8", "setGAS": 1, - "line": 524, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 145, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 525, + "offset": 815, + "line": 146, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 528, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 149, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -15112,40 +14412,45 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 529, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 150, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 151, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "mul", + "values": [ { "op": "getReg", "regName": "A" }, { "op": "getReg", - "regName": "CTX" + "regName": "B" } ] }, "inFREE": "1", - "setD": 1, - "line": 530, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2", - "setB": 1, - "line": 531, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 532, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "line": 152, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -15153,34 +14458,108 @@ }, "inFREE": "1", "setA": 1, - "sRD": 1, - "line": 533, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 153, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", - "setE": 1, + "setC": 1, + "line": 154, + "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, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setD": 1, + "line": 156, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "arith": 1, + "line": 157, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": -1, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 534, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 158, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-8", + "setGAS": 1, + "line": 159, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 160, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 163, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15190,15 +14569,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 535, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 164, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15208,259 +14587,28 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 536, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 537, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-100", - "inD": "-2500", - "setGAS": 1, - "line": 538, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 165, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", - "values": [ + "op": "functionCall", + "funcName": "exp", + "params": [ { - "op": "number", - "num": "3" - }, - { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "C" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - } - ] - }, - "inFREE": "-1", - "setGAS": 1, - "line": 539, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1347, - "line": 542, - "offsetLabel": "opEXTCODECOPYend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 1342, - "line": 543, - "offsetLabel": "opEXTCODECOPYfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 544, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "offset": 36, - "mWR": 1, - "line": 545, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1339", - "setRR": 1, - "JMP": 1, - "offset": 789, - "line": 546, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 547, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "CONST": "32", - "setB": 1, - "line": 548, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1334, - "line": 549, - "offsetLabel": "opEXTCODECOPYinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" + "op": "getReg", + "regName": "A" }, { "op": "getReg", "regName": "B" - }, - { - "op": "getReg", - "regName": "C" } ] }, "inFREE": "1", "setA": 1, - "line": 552, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 553, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shl": 1, - "line": 554, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 36, - "mWR": 1, - "line": 555, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1347", - "setRR": 1, - "JMP": 1, - "offset": 823, - "line": 556, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 24, - "mRD": 1, - "line": 559, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 23, - "mRD": 1, - "line": 560, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 561, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 562, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 27, - "mRD": 1, - "line": 565, - "offsetLabel": "retLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 166, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -15472,36 +14620,46 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 566, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 167, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1295", + "setRR": 1, + "JMP": 1, + "offset": 971, + "line": 168, + "offsetLabel": "getLenBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-10", + "inA": "-50", "setGAS": 1, - "line": 567, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 169, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 568, + "offset": 815, + "line": 170, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 571, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 173, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -15511,8 +14669,8 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 572, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 174, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -15525,282 +14683,251 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": -1, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 573, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setC": 1, - "offset": 26, - "mRD": 1, - "line": 575, - "offsetLabel": "retOffset", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inC": "1", - "setB": 1, - "line": 576, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 175, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "31" + } + ] }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 577, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 578, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 1306, + "line": 176, + "offsetLabel": "opSIGNEXTENDEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "mul", - "values": [ - { + "op": "functionCall", + "funcName": "exp", + "params": [ + { "op": "number", - "num": "3" + "num": "2" }, { - "op": "div", + "op": "add", "values": [ { - "op": "add", + "op": "mul", "values": [ { "op": "getReg", - "regName": "C" + "regName": "A" }, { "op": "number", - "num": "31" + "num": "8" } ] }, { "op": "number", - "num": "32" + "num": "7" } ] } ] }, - "inFREE": "-1", - "setGAS": 1, - "line": 579, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 580, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "1", + "setC": 1, + "line": 177, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", + "freeInTag": { + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "functionCall", + "funcName": "bitwise_and", + "params": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + { + "op": "number", + "num": "0" + } + ] + }, + "inFREE": "1", "CONST": "-1", "JMPC": 1, - "offset": 1381, - "line": 583, - "offsetLabel": "opRETURNDATACOPYend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 1375, - "line": 584, - "offsetLabel": "opRETURNDATACOPYfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1305, + "line": 178, + "offsetLabel": "opSIGNEXTENDPositive", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "setE": 1, - "line": 585, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_or", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "functionCall", + "funcName": "bitwise_not", + "params": [ + { + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "1" + } + ] + } + ] + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 179, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1368", - "setRR": 1, "JMP": 1, - "offset": 864, - "line": 586, - "offsetLabel": "MLOAD32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1306, + "line": 180, + "offsetLabel": "opSIGNEXTENDEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_and", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "C" + }, + { + "op": "number", + "num": "1" + } + ] + } + ] + }, + "inFREE": "1", "setB": 1, - "line": 587, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "setE": 1, - "line": 588, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 183, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 36, + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, "mWR": 1, - "line": 589, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1372", - "setRR": 1, - "JMP": 1, - "offset": 789, - "line": 590, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "setD": 1, - "line": 591, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 592, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1364, - "line": 593, - "offsetLabel": "opRETURNDATACOPYinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 186, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "setE": 1, - "line": 596, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 187, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1377", - "setRR": 1, "JMP": 1, - "offset": 883, - "line": 597, - "offsetLabel": "MLOADX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "setB": 1, - "line": 598, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "setE": 1, - "line": 599, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 188, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 36, + "CONST": "0", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, "mWR": 1, - "line": 600, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 192, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1381", - "setRR": 1, "JMP": 1, - "offset": 823, - "line": 601, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 24, - "mRD": 1, - "line": 604, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 193, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 23, - "mRD": 1, - "line": 605, - "offsetLabel": "memLength", + "CONST": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 606, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 196, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 607, + "offset": 815, + "line": 197, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 610, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 200, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -15813,271 +14940,157 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 611, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 201, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] + "op": "" }, "inFREE": "1", - "setD": 1, - "line": 612, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 202, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-100", - "inD": "-2500", + "CONST": "-3", "setGAS": 1, - "line": 613, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2", - "setB": 1, - "line": 614, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setC": 1, - "line": 615, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 203, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", "setA": 1, - "sRD": 1, - "line": 616, - "cmdAfter": [ - { - "op": "setVar", - "values": [ - { - "op": "getVar", - "varName": "p" - }, - { - "op": "number", - "num": "0" - } - ] - } - ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 204, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getBytecodeLength", + "funcName": "comp_gt", "params": [ { "op": "getReg", "regName": "A" + }, + { + "op": "number", + "num": "57896044618658097711785492504343953926634992332820282019728792003956564819967" } ] }, "inFREE": "1", - "setC": 1, - "line": 618, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 6, - "mRD": 1, - "line": 619, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "CONST": "1", - "setE": 1, - "offset": 6, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, "mWR": 1, - "line": 620, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 205, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "setD": 1, - "line": 623, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 815, + "line": 207, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", + "inSP": "1", "CONST": "-1", - "JMPC": 1, - "offset": 1405, - "line": 624, - "offsetLabel": "opEXTCODEHASHend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setSP": 1, + "line": 209, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 1402, - "line": 625, - "offsetLabel": "opEXTCODEHASHfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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": 210, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getVar", - "varName": "p" - }, - { - "op": "getReg", - "regName": "D" - } - ] + "op": "" }, "inFREE": "1", "setB": 1, - "line": 626, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "ind": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, "offset": 0, - "hashWR": 1, - "line": 627, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "inD": "-1", - "setC": 1, - "line": 628, - "cmdAfter": [ - { - "op": "setVar", - "values": [ - { - "op": "getVar", - "varName": "p" - }, - { - "op": "add", - "values": [ - { - "op": "getVar", - "varName": "p" - }, - { - "op": "getReg", - "regName": "D" - } - ] - } - ] - } - ], - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1395, - "line": 630, - "offsetLabel": "opEXTCODEHASHinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "useCTX": 1, + "mRD": 1, + "line": 211, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "setD": 1, - "line": 633, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 212, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "getBytecode", + "funcName": "comp_lt", "params": [ { "op": "getReg", "regName": "A" }, - { - "op": "getVar", - "varName": "p" - }, { "op": "getReg", - "regName": "C" + "regName": "B" } ] }, "inFREE": "1", - "setB": 1, - "line": 634, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 635, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "ind": 1, - "offset": 0, - "hashE": 1, - "line": 638, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "ind": 1, - "offset": 0, - "hashRD": 1, - "line": 639, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -16086,22 +15099,22 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 640, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 213, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 641, + "offset": 815, + "line": 214, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 644, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 217, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16114,109 +15127,73 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 645, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 218, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 6, + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 646, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 219, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "CONST": "1", - "setE": 1, - "offset": 6, - "mWR": 1, - "line": 647, - "offsetLabel": "lastHashIdUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "32", - "setD": 1, - "line": 648, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 649, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "ind": 1, - "offset": 0, - "hashWR": 1, - "line": 650, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "ind": 1, - "offset": 0, - "hashE": 1, - "line": 651, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setC": 1, - "ind": 1, - "offset": 0, - "hashRD": 1, - "line": 652, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 220, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "A" + } + ] }, "inFREE": "1", "setA": 1, - "offset": 8, - "mRD": 1, - "line": 653, - "offsetLabel": "systemAddr", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "3", - "setB": 1, - "line": 654, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 221, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "57896044618658097711785492504343953926634992332820282019728792003956564819967" + } + ] }, "inFREE": "1", - "setE": 1, - "sRD": 1, - "line": 655, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -16225,22 +15202,22 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 656, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-20", - "setGAS": 1, - "line": 657, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 222, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 658, + "offset": 815, + "line": 223, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 225, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16248,55 +15225,59 @@ }, "inFREE": "1", "setA": 1, - "offset": 7, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 661, - "offsetLabel": "sequencerAddr", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 226, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 662, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 227, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-3", "setGAS": 1, - "line": 663, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 664, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 228, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 16, - "mRD": 1, - "line": 668, - "offsetLabel": "timestamp", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -16305,22 +15286,22 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 669, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 670, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 229, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 671, + "offset": 815, + "line": 230, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 232, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16328,55 +15309,59 @@ }, "inFREE": "1", "setA": 1, - "offset": 15, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 674, - "offsetLabel": "numBatch", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 233, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 675, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 234, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-3", "setGAS": 1, - "line": 676, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 677, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 235, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 28, - "mRD": 1, - "line": 680, - "offsetLabel": "batchDifficulty", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -16385,22 +15370,22 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 681, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 682, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 236, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 683, + "offset": 815, + "line": 237, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 240, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16408,55 +15393,41 @@ }, "inFREE": "1", "setA": 1, - "offset": 29, - "mRD": 1, - "line": 686, - "offsetLabel": "batchGasLimit", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 687, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 241, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-3", "setGAS": 1, - "line": 688, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 689, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 242, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "0" + } + ] }, "inFREE": "1", - "setA": 1, - "offset": 10, - "mRD": 1, - "line": 692, - "offsetLabel": "defaultChainId", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -16465,22 +15436,22 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 693, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 694, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 243, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 695, + "offset": 815, + "line": 244, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 247, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16488,414 +15459,5781 @@ }, "inFREE": "1", "setA": 1, - "offset": 1, - "mRD": 1, - "line": 698, - "offsetLabel": "txDestAddr", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "setB": 1, - "setC": 1, - "line": 699, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 248, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "sRD": 1, - "line": 700, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 701, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 249, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-5", + "CONST": "-3", "setGAS": 1, - "line": 702, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 250, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_and", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 251, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 703, + "offset": 815, + "line": 252, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 706, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 255, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "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": 256, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 257, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-2", + "CONST": "-3", "setGAS": 1, - "line": 707, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 258, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_or", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 259, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 708, + "offset": 815, + "line": 260, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 711, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 263, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 712, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "1460", - "setRR": 1, - "JMP": 1, - "offset": 864, - "line": 713, - "offsetLabel": "MLOAD32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 264, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 714, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 265, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 715, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 266, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + } + ] }, "inFREE": "1", - "setB": 1, - "offset": 23, - "mRD": 1, - "line": 716, - "offsetLabel": "memLength", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 717, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 267, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 718, + "offset": 815, + "line": 268, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 721, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 271, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": -1, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, + "line": 272, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 273, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_not", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 274, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 275, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 278, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 279, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 280, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "31", + "inB": "-1", + "setD": 1, + "line": 281, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "shr": 1, + "line": 282, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 283, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_and", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "255" + } + ] + }, + "inFREE": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 284, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 285, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 289, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 290, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "8" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 291, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 292, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "add", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "mul", + "values": [ + { + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "1" + } + ] + }, + { + "op": "getReg", + "regName": "D" + } + ] + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 293, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 295, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 296, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 297, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 298, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 299, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 303, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 304, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "8" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 305, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 306, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "add", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "mul", + "values": [ + { + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "1" + } + ] + }, + { + "op": "getReg", + "regName": "D" + } + ] + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 307, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 309, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 310, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 311, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 312, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 313, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 318, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 319, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "8" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 320, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 321, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "add", + "values": [ + { + "op": "mul", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + { + "op": "mul", + "values": [ + { + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "1" + } + ] + }, + { + "op": "getReg", + "regName": "D" + } + ] + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 322, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 324, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1408", + "setRR": 1, + "JMP": 1, + "offset": 903, + "line": 325, + "offsetLabel": "abs", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 327, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "bitwise_xor", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "1" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1413, + "line": 328, + "offsetLabel": "opSARNeg", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 329, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 330, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 331, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "add", + "values": [ + { + "op": "functionCall", + "funcName": "comp_gt", + "params": [ + { + "op": "number", + "num": "1" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 334, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1415", + "setRR": 1, + "JMP": 1, + "offset": 906, + "line": 335, + "offsetLabel": "ca2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 336, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 337, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 338, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 341, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 342, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 343, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 344, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-30", + "setGAS": 1, + "line": 346, + "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" + } + ] + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 347, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 6, + "mRD": 1, + "line": 349, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "1", + "setB": 1, + "offset": 6, + "mWR": 1, + "line": 350, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "setD": 1, + "line": 351, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1442, + "line": 354, + "offsetLabel": "opSHA3End", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1436, + "line": 355, + "offsetLabel": "opSHA3Final", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1430", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 356, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "setB": 1, + "line": 357, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 358, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 359, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setE": 1, + "line": 360, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 361, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1427, + "line": 362, + "offsetLabel": "opSHA3Loop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1437", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 364, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 365, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 366, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 367, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "setD": 1, + "line": 368, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 369, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 372, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "ind": 1, + "offset": 0, + "hashE": 1, + "line": 373, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 374, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 375, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 24, + "mRD": 1, + "line": 376, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 377, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 378, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 379, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 12, + "mRD": 1, + "line": 383, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1454, + "line": 384, + "offsetLabel": "opADDRESSdeploy", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 1, + "mRD": 1, + "line": 385, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1455, + "line": 386, + "offsetLabel": "opADDRESSend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 13, + "mRD": 1, + "line": 389, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 392, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 393, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 394, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 397, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 398, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 399, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "sRD": 1, + "line": 400, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 401, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 402, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 403, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 404, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 15, + "mRD": 1, + "line": 407, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 408, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 409, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 410, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 14, + "mRD": 1, + "line": 413, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 414, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 415, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 416, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 3, + "mRD": 1, + "line": 419, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 420, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 421, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 422, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 426, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 427, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "div", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 428, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 429, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1490, + "line": 430, + "offsetLabel": "opCALLDATALOAD2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "setC": 1, + "line": 431, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1024", + "inB": "1", + "setSP": 1, + "line": 432, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 433, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "setSP": 1, + "line": 434, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 435, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 436, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 437, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "setC": 1, + "line": 440, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setD": 1, + "line": 441, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1024", + "inB": "1", + "setSP": 1, + "line": 442, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 443, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "shl": 1, + "line": 444, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 445, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 446, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 447, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "setSP": 1, + "line": 448, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 449, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 450, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 451, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 7, + "mRD": 1, + "line": 454, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 455, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 456, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 457, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 461, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 462, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 463, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 464, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 465, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 466, + "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" + } + ] + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 467, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "offset": 10, + "mWR": 1, + "line": 468, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1515, + "line": 469, + "offsetLabel": "opCALLDATACOPYinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1557, + "line": 472, + "offsetLabel": "opCALLDATACOPYend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1533, + "line": 473, + "offsetLabel": "opCALLDATACOPYfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 474, + "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" + } + ] + }, + "inFREE": "1", + "setSP": 1, + "line": 475, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 476, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "shl": 1, + "line": 477, + "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" + } + ] + }, + "inFREE": "1", + "setSP": 1, + "line": 478, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 479, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 480, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 481, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "inC": "1", + "offset": 36, + "mWR": 1, + "line": 482, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1527", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 483, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 10, + "mRD": 1, + "line": 484, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 485, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 486, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 487, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "32", + "setB": 1, + "line": 488, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1515, + "line": 489, + "offsetLabel": "opCALLDATACOPYinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "mod", + "values": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 492, + "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" + } + ] + }, + "inFREE": "1", + "setSP": 1, + "line": 493, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 494, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 495, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 10, + "mRD": 1, + "line": 496, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 497, + "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" + } + ] + }, + "inFREE": "1", + "setSP": 1, + "line": 498, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "inD": "1", + "setD": 1, + "line": 499, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "JMPC": 1, + "offset": 1552, + "line": 500, + "offsetLabel": "opCALLDATACOPYxor", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setB": 1, + "line": 501, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 502, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inD": "-1", + "setD": 1, + "line": 503, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 504, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 505, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 506, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inA": "1", + "setA": 1, + "line": 507, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 508, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1551", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 509, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1557, + "line": 510, + "offsetLabel": "opCALLDATACOPYend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 513, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shr": 1, + "line": 514, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 515, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 516, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1557", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 517, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 10, + "mRD": 1, + "line": 520, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 24, + "mRD": 1, + "line": 521, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 522, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 523, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 524, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 12, + "mRD": 1, + "line": 528, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1572, + "line": 529, + "offsetLabel": "opCODESIZEdep", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 1, + "mRD": 1, + "line": 530, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 531, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 532, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 533, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecodeLength", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 534, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 535, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 536, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 537, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 7, + "mRD": 1, + "line": 540, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 541, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 542, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 543, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 12, + "mRD": 1, + "line": 546, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1506, + "line": 547, + "offsetLabel": "opCALLDATACOPY", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 1, + "mRD": 1, + "line": 548, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 549, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 550, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 551, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 552, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 553, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 554, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 555, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 556, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 557, + "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" + } + ] + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 558, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1602, + "line": 561, + "offsetLabel": "opCODECOPYend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1597, + "line": 562, + "offsetLabel": "opCODECOPYfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 563, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "offset": 36, + "mWR": 1, + "line": 564, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1594", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 565, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 566, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "32", + "setB": 1, + "line": 567, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1589, + "line": 568, + "offsetLabel": "opCODECOPYinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 571, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 572, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 573, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 574, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1602", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 575, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 24, + "mRD": 1, + "line": 578, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 579, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 580, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 581, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 6, + "mRD": 1, + "line": 584, + "offsetLabel": "txGasPrice", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 585, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 586, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 587, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 590, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 591, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 592, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 593, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 594, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 595, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecodeLength", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 596, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 597, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 598, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 599, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 602, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "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": 603, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 604, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 605, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 606, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 607, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 608, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 609, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 610, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 611, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 612, + "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" + } + ] + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 613, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1645, + "line": 616, + "offsetLabel": "opEXTCODECOPYend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1640, + "line": 617, + "offsetLabel": "opEXTCODECOPYfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "32" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 618, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "offset": 36, + "mWR": 1, + "line": 619, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1637", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 620, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 621, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "32", + "setB": 1, + "line": 622, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1632, + "line": 623, + "offsetLabel": "opEXTCODECOPYinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 626, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 627, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 628, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 629, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1645", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 630, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 24, + "mRD": 1, + "line": 633, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 634, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 635, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 636, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 27, + "mRD": 1, + "line": 640, + "offsetLabel": "retLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 641, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 642, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 643, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 648, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 649, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 650, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 26, + "mRD": 1, + "line": 652, + "offsetLabel": "retOffset", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inC": "1", + "setB": 1, + "line": 653, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 654, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 655, + "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" + } + ] + } + ] + }, + "inFREE": "-1", + "setGAS": 1, + "line": 656, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 657, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1679, + "line": 660, + "offsetLabel": "opRETURNDATACOPYend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1673, + "line": 661, + "offsetLabel": "opRETURNDATACOPYfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setE": 1, + "line": 662, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1666", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 663, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "setB": 1, + "line": 664, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 665, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 666, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1670", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 667, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "setD": 1, + "line": 668, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 669, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1662, + "line": 670, + "offsetLabel": "opRETURNDATACOPYinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setE": 1, + "line": 673, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1675", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 674, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "setB": 1, + "line": 675, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 676, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 677, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1679", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 678, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 24, + "mRD": 1, + "line": 681, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 682, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 683, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 684, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 687, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 688, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 689, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 690, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 691, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 692, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "sRD": 1, + "line": 693, + "cmdAfter": [ + { + "op": "setVar", + "values": [ + { + "op": "getVar", + "varName": "p" + }, + { + "op": "number", + "num": "0" + } + ] + } + ], + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecodeLength", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setC": 1, + "line": 695, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 696, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "CONST": "1", + "setE": 1, + "offset": 6, + "mWR": 1, + "line": 697, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "setD": 1, + "line": 700, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1703, + "line": 701, + "offsetLabel": "opEXTCODEHASHend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 1700, + "line": 702, + "offsetLabel": "opEXTCODEHASHfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getVar", + "varName": "p" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 703, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 704, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "inD": "-1", + "setC": 1, + "line": 705, + "cmdAfter": [ + { + "op": "setVar", + "values": [ + { + "op": "getVar", + "varName": "p" + }, + { + "op": "add", + "values": [ + { + "op": "getVar", + "varName": "p" + }, + { + "op": "getReg", + "regName": "D" + } + ] + } + ] + } + ], + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1693, + "line": 707, + "offsetLabel": "opEXTCODEHASHinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "setD": 1, + "line": 710, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getVar", + "varName": "p" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "setB": 1, + "line": 711, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 712, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "ind": 1, + "offset": 0, + "hashE": 1, + "line": 715, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 716, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 717, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 718, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 721, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-20", + "setGAS": 1, "line": 722, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 723, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 15, + "mRD": 1, + "line": 726, + "offsetLabel": "numBatch", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inA": "-1", + "CONST": "-1", + "JMPC": 1, + "offset": 1724, + "line": 727, + "offsetLabel": "opBLOCKHASHzero", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 6, + "mRD": 1, + "line": 730, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "CONST": "1", + "setE": 1, + "offset": 6, + "mWR": 1, + "line": 731, + "offsetLabel": "lastHashIdUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "setD": 1, + "line": 732, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 733, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "ind": 1, + "offset": 0, + "hashWR": 1, + "line": 734, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "ind": 1, + "offset": 0, + "hashE": 1, + "line": 735, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "ind": 1, + "offset": 0, + "hashRD": 1, + "line": 736, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 8, + "mRD": 1, + "line": 739, + "offsetLabel": "systemAddr", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "3", + "setB": 1, + "line": 741, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "sRD": 1, + "line": 742, + "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": 745, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 746, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 750, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 751, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 7, + "mRD": 1, + "line": 754, + "offsetLabel": "sequencerAddr", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 755, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 756, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 757, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 16, + "mRD": 1, + "line": 761, + "offsetLabel": "timestamp", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 762, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 763, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 764, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 15, + "mRD": 1, + "line": 767, + "offsetLabel": "numBatch", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 768, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 769, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 770, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 28, + "mRD": 1, + "line": 773, + "offsetLabel": "batchDifficulty", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 774, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 775, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 776, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 29, + "mRD": 1, + "line": 779, + "offsetLabel": "batchGasLimit", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 780, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 781, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 782, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 10, + "mRD": 1, + "line": 785, + "offsetLabel": "defaultChainId", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 786, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 787, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 788, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 1, + "mRD": 1, + "line": 792, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 793, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "sRD": 1, + "line": 794, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 795, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-5", + "setGAS": 1, + "line": 796, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 797, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 800, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 801, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 802, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 805, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 806, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1762", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 807, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 808, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 809, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 810, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 811, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 812, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 815, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 816, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 817, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 36, + "mWR": 1, + "line": 818, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1772", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 819, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 820, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 821, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 822, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 823, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1777", + "setRR": 1, + "JMP": 1, + "offset": 1149, + "line": 827, + "offsetLabel": "saveMem", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 828, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 831, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 832, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 833, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "setC": 1, + "line": 834, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "32", + "inC": "-1", + "setD": 1, + "line": 835, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "shl": 1, + "line": 836, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 36, + "mWR": 1, + "line": 837, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1786", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 838, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 839, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 840, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 841, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 842, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 845, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 846, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 2, + "mRD": 1, + "line": 847, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "3", + "setB": 1, + "line": 848, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "sRD": 1, + "line": 849, + "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": 850, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedStorageSlots", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "C" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 851, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inA": "-2000", + "setGAS": 1, + "line": 852, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 853, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 33, + "mRD": 1, + "line": 856, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 857, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 858, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 859, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 860, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 12, + "mRD": 1, + "line": 861, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1808, + "line": 862, + "offsetLabel": "deploymentSSTORE", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 2, + "mRD": 1, + "line": 863, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1809, + "line": 864, + "offsetLabel": "opSSTOREinit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 13, + "mRD": 1, + "line": 867, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "3", + "setB": 1, + "line": 870, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "sRD": 1, + "line": 871, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSR": "1", + "offset": 25, + "mWR": 1, + "line": 872, + "offsetLabel": "auxSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "offset": 20, + "mRD": 1, + "line": 873, + "offsetLabel": "initSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "sRD": 1, + "line": 874, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "offset": 25, + "mRD": 1, + "line": 875, + "offsetLabel": "auxSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "touchedStorageSlots", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "C" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "setA": 1, + "line": 876, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inA": "-2100", + "setGAS": 1, + "line": 877, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1820, + "line": 878, + "offsetLabel": "opSSTOREdif", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "setGAS": 1, + "line": 880, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1848, + "line": 881, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "getReg", + "regName": "E" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1824, + "line": 885, + "offsetLabel": "opSSTOREdifA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1843, + "line": 887, + "offsetLabel": "opSSTOREdifB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-20000", + "setGAS": 1, + "line": 889, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1848, + "line": 890, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "setGAS": 1, + "line": 894, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1832, + "line": 897, + "offsetLabel": "opSSTOREdifA1", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1827, + "line": 899, + "offsetLabel": "opSSTOREdifAB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "D" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1848, + "line": 902, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "B" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1840, + "line": 904, + "offsetLabel": "opSSTOREdifA2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 19, + "mRD": 1, + "line": 906, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "CONST": "19900", + "setA": 1, + "offset": 19, + "mWR": 1, + "line": 907, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1848, + "line": 908, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "E" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1836, + "line": 912, + "offsetLabel": "opSSTOREdifA12", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setA": 1, + "offset": 19, "mRD": 1, - "line": 723, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 914, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "offset": 36, + "inA": "1", + "CONST": "-15000", + "setA": 1, + "offset": 19, "mWR": 1, - "line": 724, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 915, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1470", - "setRR": 1, "JMP": 1, - "offset": 789, - "line": 725, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1827, + "line": 916, + "offsetLabel": "opSSTOREdifAB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 726, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 1827, + "line": 919, + "offsetLabel": "opSSTOREdifAB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 23, + "setA": 1, + "offset": 19, "mRD": 1, - "line": 727, - "offsetLabel": "memLength", + "line": 921, + "offsetLabel": "gasRefund", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 728, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "15000", + "setA": 1, + "offset": 19, + "mWR": 1, + "line": 922, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 729, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "offset": 23, - "mWR": 1, - "line": 732, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1827, + "line": 923, + "offsetLabel": "opSSTOREdifAB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "E" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", "setA": 1, - "line": 733, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 19, + "mRD": 1, + "line": 927, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "31" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 734, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "2800", + "setA": 1, + "offset": 19, + "mWR": 1, + "line": 928, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1848, + "line": 929, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "inA": "-3", - "freeInTag": { - "op": "div", - "values": [ - { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - { - "op": "number", - "num": "512" - } - ] - }, - "inFREE": "-1", + "CONST": "-2900", "setGAS": 1, - "line": 735, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 933, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inB": "3", "freeInTag": { - "op": "div", - "values": [ + "op": "functionCall", + "funcName": "comp_eq", + "params": [ { - "op": "mul", - "values": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "number", + "num": "0" }, { - "op": "number", - "num": "512" + "op": "getReg", + "regName": "D" } ] }, "inFREE": "1", - "setGAS": 1, - "line": 736, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 737, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", "CONST": "-1", - "setSP": 1, - "line": 740, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 741, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 1848, + "line": 934, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16903,30 +21241,30 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 19, "mRD": 1, - "line": 742, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 936, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1", - "setC": 1, - "line": 743, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "15000", + "setA": 1, + "offset": 19, + "mWR": 1, + "line": 937, + "offsetLabel": "gasRefund", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setD": 1, - "line": 744, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1848, + "line": 938, + "offsetLabel": "opSSTOREend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -16934,77 +21272,91 @@ }, "inFREE": "1", "setA": 1, - "shl": 1, - "line": 745, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 12, + "mRD": 1, + "line": 941, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 36, - "mWR": 1, - "line": 746, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 1852, + "line": 942, + "offsetLabel": "mloadContract", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1488", - "setRR": 1, - "JMP": 1, - "offset": 823, - "line": 747, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 2, + "mRD": 1, + "line": 943, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 748, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1853, + "line": 944, + "offsetLabel": "opSSTOREsr", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 23, + "setA": 1, + "offset": 13, "mRD": 1, - "line": 749, - "offsetLabel": "memLength", + "line": 947, + "offsetLabel": "createContractAddress", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 750, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "3", + "setB": 1, + "line": 950, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "sWR": 1, + "line": 951, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 751, + "offset": 815, + "line": 952, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 754, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 956, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -17014,125 +21366,97 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 755, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 957, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 2, - "mRD": 1, - "line": 756, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "setPC": 1, + "line": 958, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "3", - "setB": 1, - "line": 757, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-8", + "setGAS": 1, + "line": 959, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 960, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-2", + "setSP": 1, + "line": 964, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "sRD": 1, - "line": 758, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 759, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 965, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-10", + "setGAS": 1, + "line": 966, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "touchedStorageSlots", + "funcName": "comp_gt", "params": [ { "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" + "regName": "B" }, { - "op": "getReg", - "regName": "CTX" + "op": "number", + "num": "0" } ] }, "inFREE": "1", - "setA": 1, - "line": 760, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-100", - "inA": "-2000", - "setGAS": 1, - "line": 761, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 762, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 33, - "mRD": 1, - "line": 765, - "offsetLabel": "staticCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", + "CONST": "-1", "JMPC": 1, - "offset": 2321, - "line": 766, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 967, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-1", + "CONST": "1", "setSP": 1, - "line": 767, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 968, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -17142,26 +21466,55 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 768, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 969, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, + "inE": "1", + "setPC": 1, + "line": 970, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 971, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 975, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inPC": "1", "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incCode": 0, - "incStack": 0, + "incStack": 1, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 769, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 976, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 977, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 980, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -17169,380 +21522,428 @@ }, "inFREE": "1", "setA": 1, - "offset": 12, + "offset": 23, "mRD": 1, - "line": 770, - "offsetLabel": "txIsCreateContract", + "line": 981, + "offsetLabel": "memLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 1510, - "line": 771, - "offsetLabel": "deploymentSSTORE", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 982, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 2, - "mRD": 1, - "line": 772, - "offsetLabel": "storageAddr", + "JMP": 1, + "offset": 815, + "line": 983, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-2", + "setGAS": 1, + "line": 986, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 987, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1511, - "line": 773, - "offsetLabel": "opSSTOREinit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 988, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 13, - "mRD": 1, - "line": 776, - "offsetLabel": "createContractAddress", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-1", + "setGAS": 1, + "line": 991, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "3", - "setB": 1, - "line": 779, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 815, + "line": 992, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "getBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "PC" + }, + { + "op": "getReg", + "regName": "D" + } + ] }, "inFREE": "1", - "setE": 1, - "sRD": 1, - "line": 780, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 995, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSR": "1", - "offset": 25, - "mWR": 1, - "line": 781, - "offsetLabel": "auxSR", + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 996, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setSR": 1, - "offset": 20, - "mRD": 1, - "line": 782, - "offsetLabel": "initSR", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inPC": "1", + "inD": "1", + "setPC": 1, + "line": 997, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "sRD": 1, - "line": 783, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 998, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 999, + "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, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "offset": 25, + "setSP": 1, + "offset": 9, "mRD": 1, - "line": 784, - "offsetLabel": "auxSR", + "line": 1003, + "offsetLabel": "SPr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "touchedStorageSlots", - "params": [ - { - "op": "getReg", - "regName": "A" - }, + "op": "div", + "values": [ { "op": "getReg", - "regName": "C" + "regName": "PC" }, { - "op": "getReg", - "regName": "CTX" + "op": "number", + "num": "32" } ] }, "inFREE": "1", "setA": 1, - "line": 786, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1004, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inA": "-2100", - "setGAS": 1, - "line": 787, - "fileName": "/home/ixnay/iden3Dev/github/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": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "mod", + "values": [ { "op": "getReg", - "regName": "E" + "regName": "PC" }, { - "op": "getReg", - "regName": "D" + "op": "number", + "num": "32" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1522, - "line": 788, - "offsetLabel": "opSSTOREdif", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-100", - "setGAS": 1, - "line": 790, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1550, - "line": 791, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 1006, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { + "inA": "1", "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ + "op": "div", + "values": [ { - "op": "getReg", - "regName": "B" + "op": "add", + "values": [ + { + "op": "getReg", + "regName": "PC" + }, + { + "op": "getReg", + "regName": "D" + } + ] }, { - "op": "getReg", - "regName": "E" + "op": "number", + "num": "32" } ] }, - "inFREE": "1", - "CONST": "-1", + "inFREE": "-1", "JMPC": 1, - "offset": 1526, - "line": 795, - "offsetLabel": "opSSTOREdifA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1899, + "line": 1007, + "offsetLabel": "opAuxPUSHC", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1008, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 10, + "mRD": 1, + "line": 1009, + "offsetLabel": "SPw", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "getByte", "params": [ { - "op": "number", - "num": "0" + "op": "getReg", + "regName": "A" }, { "op": "getReg", - "regName": "B" + "regName": "C" + }, + { + "op": "getReg", + "regName": "D" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1545, - "line": 797, - "offsetLabel": "opSSTOREdifB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 1010, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1011, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inPC": "1", + "inD": "1", + "setPC": 1, + "line": 1012, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-20000", + "CONST": "-3", "setGAS": 1, - "line": 799, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1013, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1550, - "line": 800, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1014, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-100", - "setGAS": 1, - "line": 804, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "32", + "inC": "-1", + "setE": 1, + "line": 1017, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "number", - "num": "0" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1534, - "line": 807, - "offsetLabel": "opSSTOREdifA1", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1529, - "line": 809, - "offsetLabel": "opSSTOREdifAB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1018, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "getByte", "params": [ { "op": "getReg", - "regName": "D" + "regName": "A" }, { "op": "getReg", - "regName": "B" - } - ] - }, - "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1550, - "line": 812, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "number", - "num": "0" + "regName": "C" }, { "op": "getReg", - "regName": "B" + "regName": "E" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1542, - "line": 814, - "offsetLabel": "opSSTOREdifA2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "line": 1019, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 1020, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inPC": "1", + "inD": "1", + "setPC": 1, + "line": 1021, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "inE": "-1", + "setD": 1, + "line": 1022, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 19, - "mRD": 1, - "line": 816, - "offsetLabel": "gasRefund", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "CONST": "19900", - "setA": 1, - "offset": 19, - "mWR": 1, - "line": 817, - "offsetLabel": "gasRefund", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1550, - "line": 818, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1023, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "comp_eq", + "funcName": "getByte", "params": [ { - "op": "number", - "num": "0" + "op": "getReg", + "regName": "B" }, { "op": "getReg", - "regName": "E" + "regName": "C" + }, + { + "op": "getReg", + "regName": "D" } ] }, "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1538, - "line": 822, - "offsetLabel": "opSSTOREdifA12", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "line": 1024, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -17550,306 +21951,371 @@ }, "inFREE": "1", "setA": 1, - "offset": 19, + "shr": 1, + "line": 1025, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 10, "mRD": 1, - "line": 824, - "offsetLabel": "gasRefund", + "line": 1026, + "offsetLabel": "SPw", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "CONST": "-15000", - "setA": 1, - "offset": 19, - "mWR": 1, - "line": 825, - "offsetLabel": "gasRefund", + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1027, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1028, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1529, - "line": 826, - "offsetLabel": "opSSTOREdifAB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1029, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "number", - "num": "0" - }, - { - "op": "getReg", - "regName": "D" - } - ] - }, - "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 1529, - "line": 829, - "offsetLabel": "opSSTOREdifAB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setD": 1, + "line": 1032, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 19, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 831, - "offsetLabel": "gasRefund", + "line": 1033, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "CONST": "15000", - "setA": 1, - "offset": 19, - "mWR": 1, - "line": 832, - "offsetLabel": "gasRefund", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1034, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1529, - "line": 833, - "offsetLabel": "opSSTOREdifAB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1035, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setD": 1, + "line": 1038, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 19, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 837, - "offsetLabel": "gasRefund", + "line": 1039, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "CONST": "2800", - "setA": 1, - "offset": 19, - "mWR": 1, - "line": 838, - "offsetLabel": "gasRefund", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1040, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1550, - "line": 839, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1041, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-2900", - "setGAS": 1, - "line": 843, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "3", + "setD": 1, + "line": 1044, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "number", - "num": "0" - }, - { - "op": "getReg", - "regName": "D" - } - ] + "op": "" }, "inFREE": "1", - "CONST": "-1", + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1045, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", "JMPC": 1, - "offset": 1550, - "line": 844, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1886, + "line": 1046, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1047, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "4", + "setD": 1, + "line": 1050, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 19, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 846, - "offsetLabel": "gasRefund", + "line": 1051, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "CONST": "15000", - "setA": 1, - "offset": 19, - "mWR": 1, - "line": 847, - "offsetLabel": "gasRefund", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1052, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1550, - "line": 848, - "offsetLabel": "opSSTOREend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1053, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "5", + "setD": 1, + "line": 1056, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "offset": 12, "mRD": 1, - "line": 851, - "offsetLabel": "txIsCreateContract", + "line": 1057, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", - "inA": "-1", + "inB": "-1", "JMPC": 1, - "offset": 1554, - "line": 852, - "offsetLabel": "mloadContract", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1886, + "line": 1058, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1059, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "6", + "setD": 1, + "line": 1062, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 2, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 853, - "offsetLabel": "storageAddr", + "line": 1063, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1064, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1555, - "line": 854, - "offsetLabel": "opSSTOREsr", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1065, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "7", + "setD": 1, + "line": 1068, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 13, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 857, - "offsetLabel": "createContractAddress", + "line": 1069, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "3", - "setB": 1, - "line": 860, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1070, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1071, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "8", + "setD": 1, + "line": 1074, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSR": 1, - "sWR": 1, - "line": 861, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1075, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1076, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 862, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1077, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 865, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "9", + "setD": 1, + "line": 1080, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 866, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "setPC": 1, - "line": 867, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1081, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-8", - "setGAS": 1, - "line": 868, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1082, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 869, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1083, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-2", - "setSP": 1, - "line": 872, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "10", + "setD": 1, + "line": 1086, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -17857,506 +22323,454 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 12, "mRD": 1, - "line": 873, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1087, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-10", - "setGAS": 1, - "line": 874, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1088, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "comp_gt", - "params": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "0" - } - ] - }, - "inFREE": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 623, - "line": 875, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1881, + "line": 1089, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "1", - "setSP": 1, - "line": 876, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "11", + "setD": 1, + "line": 1092, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 877, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1093, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "setPC": 1, - "line": 878, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1094, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 879, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1095, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 882, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "12", + "setD": 1, + "line": 1098, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inPC": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1099, + "offsetLabel": "isCreateContract", "useCTX": 1, - "mWR": 1, - "line": 883, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1100, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 884, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1101, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 887, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "13", + "setD": 1, + "line": 1104, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 23, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 888, - "offsetLabel": "memLength", + "line": 1105, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 889, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1106, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 890, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1107, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-2", - "setGAS": 1, - "line": 893, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "14", + "setD": 1, + "line": 1110, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1111, + "offsetLabel": "isCreateContract", "useCTX": 1, - "mWR": 1, - "line": 894, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 895, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1112, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-1", - "setGAS": 1, - "line": 898, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1881, + "line": 1113, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 899, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "15", + "setD": 1, + "line": 1116, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getBytecode", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "getReg", - "regName": "D" - } - ] + "op": "" }, "inFREE": "1", "setB": 1, - "line": 902, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "offset": 12, + "mRD": 1, + "line": 1117, + "offsetLabel": "isCreateContract", "useCTX": 1, - "mWR": 1, - "line": 903, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inPC": "1", - "inD": "1", - "setPC": 1, - "line": 904, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 905, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1118, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 906, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1119, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "offset": 10, - "mWR": 1, - "line": 909, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "16", + "setD": 1, + "line": 1122, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 9, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 910, - "offsetLabel": "SPr", + "line": 1123, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "1", - "setA": 1, - "line": 911, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1124, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "inA": "1", - "setSP": 1, - "line": 912, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1881, + "line": 1125, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "17", + "setD": 1, + "line": 1128, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "mod", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "number", - "num": "32" - } - ] + "op": "" }, "inFREE": "1", - "setC": 1, - "line": 913, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1129, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "freeInTag": { - "op": "div", - "values": [ - { - "op": "add", - "values": [ - { - "op": "getReg", - "regName": "PC" - }, - { - "op": "getReg", - "regName": "D" - } - ] - }, - { - "op": "number", - "num": "32" - } - ] - }, - "inFREE": "-1", + "CONST": "0", + "inB": "-1", "JMPC": 1, - "offset": 1601, - "line": 914, - "offsetLabel": "opAuxPUSHC", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1886, + "line": 1130, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1131, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "18", + "setD": 1, + "line": 1134, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 915, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1135, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1136, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1137, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "19", + "setD": 1, + "line": 1140, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 10, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 916, - "offsetLabel": "SPw", + "line": 1141, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1142, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1143, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "20", + "setD": 1, + "line": 1146, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getByte", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - }, - { - "op": "getReg", - "regName": "D" - } - ] + "op": "" }, "inFREE": "1", "setB": 1, - "line": 917, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "offset": 12, + "mRD": 1, + "line": 1147, + "offsetLabel": "isCreateContract", "useCTX": 1, - "mWR": 1, - "line": 918, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inPC": "1", - "inD": "1", - "setPC": 1, - "line": 919, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 920, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1148, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 921, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1149, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "inC": "-1", - "setE": 1, - "line": 924, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "21", + "setD": 1, + "line": 1152, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 925, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1153, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1154, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 1881, + "line": 1155, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "22", + "setD": 1, + "line": 1158, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "getByte", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "C" - }, - { - "op": "getReg", - "regName": "E" - } - ] + "op": "" }, "inFREE": "1", - "setA": 1, - "line": 926, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "offset": 12, + "mRD": 1, + "line": 1159, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", - "setC": 1, - "line": 927, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1160, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inPC": "1", - "inD": "1", - "setPC": 1, - "line": 928, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1881, + "line": 1161, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inD": "1", - "inE": "-1", + "CONST": "23", "setD": 1, - "line": 929, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1164, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18364,98 +22778,69 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 12, "mRD": 1, - "line": 930, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1165, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "getByte", - "params": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "getReg", - "regName": "C" - }, - { - "op": "getReg", - "regName": "D" - } - ] - }, - "inFREE": "1", - "setB": 1, - "line": 931, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1166, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "shr": 1, - "line": 932, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 1881, + "line": 1167, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "24", + "setD": 1, + "line": 1170, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setSP": 1, - "offset": 10, + "setB": 1, + "offset": 12, "mRD": 1, - "line": 933, - "offsetLabel": "SPw", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "line": 1171, + "offsetLabel": "isCreateContract", "useCTX": 1, - "mWR": 1, - "line": 934, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 935, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inB": "-1", + "JMPC": 1, + "offset": 1886, + "line": 1172, + "offsetLabel": "opAuxPUSHB", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 936, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1881, + "line": 1173, + "offsetLabel": "opAuxPUSHA", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1", + "CONST": "25", "setD": 1, - "line": 939, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1176, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18465,32 +22850,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 940, - "offsetLabel": "txIsCreateContract", + "line": 1177, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 941, + "offset": 1886, + "line": 1178, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 942, + "offset": 1881, + "line": 1179, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2", + "CONST": "26", "setD": 1, - "line": 945, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1182, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18500,32 +22885,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 946, - "offsetLabel": "txIsCreateContract", + "line": 1183, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 947, + "offset": 1886, + "line": 1184, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 948, + "offset": 1881, + "line": 1185, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "3", + "CONST": "27", "setD": 1, - "line": 951, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1188, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18535,32 +22920,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 952, - "offsetLabel": "txIsCreateContract", + "line": 1189, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 953, + "offset": 1886, + "line": 1190, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 954, + "offset": 1881, + "line": 1191, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "4", + "CONST": "28", "setD": 1, - "line": 957, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1194, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18570,32 +22955,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 958, - "offsetLabel": "txIsCreateContract", + "line": 1195, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 959, + "offset": 1886, + "line": 1196, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 960, + "offset": 1881, + "line": 1197, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "5", + "CONST": "29", "setD": 1, - "line": 963, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1200, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18605,32 +22990,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 964, - "offsetLabel": "txIsCreateContract", + "line": 1201, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 965, + "offset": 1886, + "line": 1202, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 966, + "offset": 1881, + "line": 1203, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "6", + "CONST": "30", "setD": 1, - "line": 969, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1206, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18640,32 +23025,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 970, - "offsetLabel": "txIsCreateContract", + "line": 1207, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 971, + "offset": 1886, + "line": 1208, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 972, + "offset": 1881, + "line": 1209, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "7", + "CONST": "31", "setD": 1, - "line": 975, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1212, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18675,32 +23060,32 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 976, - "offsetLabel": "txIsCreateContract", + "line": 1213, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 977, + "offset": 1886, + "line": 1214, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 978, + "offset": 1881, + "line": 1215, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "8", + "CONST": "32", "setD": 1, - "line": 981, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1218, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -18710,697 +23095,987 @@ "setB": 1, "offset": 12, "mRD": 1, - "line": 982, - "offsetLabel": "txIsCreateContract", + "line": 1219, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inB": "-1", "JMPC": 1, - "offset": 1588, - "line": 983, + "offset": 1886, + "line": 1220, "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 984, + "offset": 1881, + "line": 1221, "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "9", - "setD": 1, - "line": 987, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1224, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 988, - "offsetLabel": "txIsCreateContract", + "line": 1225, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1226, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 989, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1227, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 990, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1228, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "10", - "setD": 1, - "line": 993, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-2", + "setSP": 1, + "line": 1231, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 994, - "offsetLabel": "txIsCreateContract", + "line": 1232, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "2", + "setSP": 1, + "line": 1233, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1234, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 995, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1235, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 996, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1236, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "11", - "setD": 1, - "line": 999, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-3", + "setSP": 1, + "line": 1239, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1000, - "offsetLabel": "txIsCreateContract", + "line": 1240, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "3", + "setSP": 1, + "line": 1241, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1242, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1001, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1243, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1002, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1244, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "12", - "setD": 1, - "line": 1005, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-4", + "setSP": 1, + "line": 1247, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1006, - "offsetLabel": "txIsCreateContract", + "line": 1248, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "4", + "setSP": 1, + "line": 1249, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1250, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1007, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1251, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1008, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1252, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "13", - "setD": 1, - "line": 1011, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-5", + "setSP": 1, + "line": 1255, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1012, - "offsetLabel": "txIsCreateContract", + "line": 1256, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "5", + "setSP": 1, + "line": 1257, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1258, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1013, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1259, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1014, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1260, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "14", - "setD": 1, - "line": 1017, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-6", + "setSP": 1, + "line": 1263, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1018, - "offsetLabel": "txIsCreateContract", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1019, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1583, - "line": 1020, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1264, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "15", - "setD": 1, - "line": 1023, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "6", + "setSP": 1, + "line": 1265, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1024, - "offsetLabel": "txIsCreateContract", + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1266, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1025, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1267, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1026, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1268, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "16", - "setD": 1, - "line": 1029, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-7", + "setSP": 1, + "line": 1271, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1030, - "offsetLabel": "txIsCreateContract", + "line": 1272, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "7", + "setSP": 1, + "line": 1273, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1274, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1031, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1275, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1032, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1276, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "17", - "setD": 1, - "line": 1035, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-8", + "setSP": 1, + "line": 1279, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1036, - "offsetLabel": "txIsCreateContract", + "line": 1280, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "8", + "setSP": 1, + "line": 1281, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1282, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1037, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1283, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1038, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1284, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "18", - "setD": 1, - "line": 1041, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-9", + "setSP": 1, + "line": 1287, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1042, - "offsetLabel": "txIsCreateContract", + "line": 1288, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "9", + "setSP": 1, + "line": 1289, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1290, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1043, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1291, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1044, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1292, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "19", - "setD": 1, - "line": 1047, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-10", + "setSP": 1, + "line": 1295, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1048, - "offsetLabel": "txIsCreateContract", + "line": 1296, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "10", + "setSP": 1, + "line": 1297, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1298, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1049, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1299, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1050, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1300, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "20", - "setD": 1, - "line": 1053, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-11", + "setSP": 1, + "line": 1303, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1054, - "offsetLabel": "txIsCreateContract", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1055, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1583, - "line": 1056, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1304, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "21", - "setD": 1, - "line": 1059, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "11", + "setSP": 1, + "line": 1305, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1060, - "offsetLabel": "txIsCreateContract", + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1306, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1061, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1307, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1062, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1308, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "22", - "setD": 1, - "line": 1065, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-12", + "setSP": 1, + "line": 1311, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1066, - "offsetLabel": "txIsCreateContract", + "line": 1312, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "12", + "setSP": 1, + "line": 1313, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1314, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1067, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1315, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1068, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1316, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "23", - "setD": 1, - "line": 1071, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-13", + "setSP": 1, + "line": 1319, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1072, - "offsetLabel": "txIsCreateContract", + "line": 1320, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "13", + "setSP": 1, + "line": 1321, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1322, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1073, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1323, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1074, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1324, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "24", - "setD": 1, - "line": 1077, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-14", + "setSP": 1, + "line": 1327, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1078, - "offsetLabel": "txIsCreateContract", + "line": 1328, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "14", + "setSP": 1, + "line": 1329, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1330, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1079, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1331, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1080, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1332, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "25", - "setD": 1, - "line": 1083, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-15", + "setSP": 1, + "line": 1335, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1084, - "offsetLabel": "txIsCreateContract", + "line": 1336, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "15", + "setSP": 1, + "line": 1337, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1338, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1085, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1339, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1086, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1340, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "26", - "setD": 1, - "line": 1089, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-16", + "setSP": 1, + "line": 1343, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1090, - "offsetLabel": "txIsCreateContract", + "line": 1344, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "16", + "setSP": 1, + "line": 1345, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1346, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1091, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1347, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1092, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1348, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "27", - "setD": 1, - "line": 1095, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1351, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1096, - "offsetLabel": "txIsCreateContract", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1097, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1583, - "line": 1098, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "28", - "setD": 1, - "line": 1101, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1352, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19408,69 +24083,89 @@ }, "inFREE": "1", "setB": 1, - "offset": 12, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1102, - "offsetLabel": "txIsCreateContract", + "line": 1353, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1354, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1103, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1355, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1356, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1104, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1357, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "29", - "setD": 1, - "line": 1107, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1360, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1108, - "offsetLabel": "txIsCreateContract", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1109, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1583, - "line": 1110, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1361, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "30", - "setD": 1, - "line": 1113, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-2", + "setSP": 1, + "line": 1362, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19478,122 +24173,115 @@ }, "inFREE": "1", "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1114, - "offsetLabel": "txIsCreateContract", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1115, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1363, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 1583, - "line": 1116, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1364, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "31", - "setD": 1, - "line": 1119, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "2", + "setSP": 1, + "line": 1365, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1120, - "offsetLabel": "txIsCreateContract", + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1366, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1121, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-3", + "setGAS": 1, + "line": 1367, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 1583, - "line": 1122, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 1368, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "32", - "setD": 1, - "line": 1125, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1371, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 12, - "mRD": 1, - "line": 1126, - "offsetLabel": "txIsCreateContract", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inB": "-1", - "JMPC": 1, - "offset": 1588, - "line": 1127, - "offsetLabel": "opAuxPUSHB", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 1583, - "line": 1128, - "offsetLabel": "opAuxPUSHA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1372, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-1", + "CONST": "-3", "setSP": 1, - "line": 1131, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1373, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1132, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1374, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -19601,33 +24289,54 @@ "isCode": 0, "isMem": 0, "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1375, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "3", + "setSP": 1, + "line": 1376, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, "incStack": 1, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1133, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1377, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1134, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1378, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1135, + "offset": 815, + "line": 1379, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-2", + "CONST": "-1", "setSP": 1, - "line": 1138, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1382, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19644,15 +24353,33 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1139, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1383, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "2", + "CONST": "-4", "setSP": 1, - "line": 1140, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1384, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1385, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -19660,33 +24387,54 @@ "isCode": 0, "isMem": 0, "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1386, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "4", + "setSP": 1, + "line": 1387, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, "incStack": 1, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1141, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1388, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1142, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1389, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1143, + "offset": 815, + "line": 1390, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-3", + "CONST": "-1", "setSP": 1, - "line": 1146, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1393, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19703,15 +24451,33 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1147, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1394, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "3", + "CONST": "-5", "setSP": 1, - "line": 1148, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1395, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1396, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -19719,33 +24485,54 @@ "isCode": 0, "isMem": 0, "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1397, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "5", + "setSP": 1, + "line": 1398, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, "incStack": 1, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1149, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1399, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1150, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1400, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1151, + "offset": 815, + "line": 1401, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-4", + "CONST": "-1", "setSP": 1, - "line": 1154, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1404, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19762,15 +24549,33 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1155, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1405, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "4", + "CONST": "-6", "setSP": 1, - "line": 1156, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1406, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1407, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -19778,33 +24583,54 @@ "isCode": 0, "isMem": 0, "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1408, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "6", + "setSP": 1, + "line": 1409, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, "incStack": 1, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1157, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1410, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1158, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1411, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1159, + "offset": 815, + "line": 1412, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-5", + "CONST": "-1", "setSP": 1, - "line": 1162, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1415, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19821,15 +24647,33 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1163, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1416, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "5", + "CONST": "-7", "setSP": 1, - "line": 1164, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1417, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1418, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -19837,40 +24681,86 @@ "isCode": 0, "isMem": 0, "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1419, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "7", + "setSP": 1, + "line": 1420, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, "incStack": 1, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1165, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1421, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1166, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1422, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1167, + "offset": 815, + "line": 1423, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1426, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1427, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-6", + "CONST": "-8", "setSP": 1, - "line": 1170, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1428, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -19880,18 +24770,32 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1171, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1429, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1430, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "6", + "CONST": "8", "setSP": 1, - "line": 1172, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1431, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -19900,29 +24804,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1173, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1432, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1174, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1433, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1175, + "offset": 815, + "line": 1434, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-7", + "CONST": "-1", "setSP": 1, - "line": 1178, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1437, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -19939,56 +24843,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1179, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1438, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "7", + "CONST": "-9", "setSP": 1, - "line": 1180, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1439, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1181, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1182, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1183, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-8", - "setSP": 1, - "line": 1186, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1440, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -19997,19 +24881,19 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 1187, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1441, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "8", + "CONST": "9", "setSP": 1, - "line": 1188, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1442, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20018,29 +24902,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1189, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1443, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1190, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1444, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1191, + "offset": 815, + "line": 1445, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-9", + "CONST": "-1", "setSP": 1, - "line": 1194, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1448, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20057,56 +24941,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1195, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1449, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "9", + "CONST": "-10", "setSP": 1, - "line": 1196, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1450, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1197, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1198, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1199, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-10", - "setSP": 1, - "line": 1202, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1451, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20115,19 +24979,19 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 1203, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1452, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "10", "setSP": 1, - "line": 1204, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1453, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20136,29 +25000,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1205, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1454, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1206, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1455, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1207, + "offset": 815, + "line": 1456, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-11", + "CONST": "-1", "setSP": 1, - "line": 1210, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1459, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20175,56 +25039,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1211, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1460, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "11", + "CONST": "-11", "setSP": 1, - "line": 1212, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1461, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1213, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1214, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1215, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-12", - "setSP": 1, - "line": 1218, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1462, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20233,19 +25077,19 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 1219, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1463, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "12", + "CONST": "11", "setSP": 1, - "line": 1220, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1464, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20254,29 +25098,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1221, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1465, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1222, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1466, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1223, + "offset": 815, + "line": 1467, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-13", + "CONST": "-1", "setSP": 1, - "line": 1226, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1470, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20293,56 +25137,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1227, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1471, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "13", + "CONST": "-12", "setSP": 1, - "line": 1228, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1472, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1229, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1230, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1231, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-14", - "setSP": 1, - "line": 1234, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1473, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20351,19 +25175,19 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 1235, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1474, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "14", + "CONST": "12", "setSP": 1, - "line": 1236, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1475, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20372,29 +25196,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1237, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1476, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1238, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1477, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1239, + "offset": 815, + "line": 1478, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-15", + "CONST": "-1", "setSP": 1, - "line": 1242, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1481, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20411,56 +25235,36 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1243, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1482, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "15", + "CONST": "-13", "setSP": 1, - "line": 1244, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1483, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1245, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1246, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1247, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-16", - "setSP": 1, - "line": 1250, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1484, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, + "inA": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20469,19 +25273,19 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mRD": 1, - "line": 1251, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mWR": 1, + "line": 1485, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "16", + "CONST": "13", "setSP": 1, - "line": 1252, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1486, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "isStack": 1, "isCode": 0, "isMem": 0, @@ -20490,29 +25294,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1253, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1487, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1254, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1488, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1255, + "offset": 815, + "line": 1489, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1258, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1492, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20525,12 +25329,19 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": -1, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1259, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1493, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-14", + "setSP": 1, + "line": 1494, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20547,8 +25358,8 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1260, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1495, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -20556,12 +25367,20 @@ "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1261, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1496, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "14", + "setSP": 1, + "line": 1497, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", @@ -20573,29 +25392,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1262, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1498, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1263, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1499, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1264, + "offset": 815, + "line": 1500, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1267, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1503, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20612,15 +25431,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1268, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1504, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-2", + "CONST": "-15", "setSP": 1, - "line": 1269, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1505, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20637,8 +25456,8 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1270, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1506, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -20651,15 +25470,15 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1271, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1507, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "2", + "CONST": "15", "setSP": 1, - "line": 1272, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1508, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", @@ -20671,29 +25490,29 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1273, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1509, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1274, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1510, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1275, + "offset": 815, + "line": 1511, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1278, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1514, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20710,15 +25529,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1279, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1515, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-3", + "CONST": "-16", "setSP": 1, - "line": 1280, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1516, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20735,8 +25554,8 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1281, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1517, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -20749,15 +25568,15 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1282, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1518, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "3", + "CONST": "16", "setSP": 1, - "line": 1283, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1519, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", @@ -20769,61 +25588,204 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1284, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1520, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-3", "setGAS": 1, - "line": 1285, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1521, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1286, + "offset": 815, + "line": 1522, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 33, + "mRD": 1, + "line": 1527, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1528, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1529, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1530, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1531, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 1532, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "offset": 32, + "mWR": 1, + "line": 1533, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-375", + "setGAS": 1, + "line": 1534, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inC": "-8", + "setGAS": 1, + "line": 1535, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 30, + "mRD": 1, + "line": 1536, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "1", + "offset": 30, + "mWR": 1, + "line": 1537, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 2337, + "line": 1538, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 33, + "mRD": 1, + "line": 1541, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1542, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1289, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1543, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1290, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-4", - "setSP": 1, - "line": 1291, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1544, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -20833,63 +25795,71 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1292, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1545, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "inE": "1", + "inC": "1", + "offset": 24, "mWR": 1, - "line": 1293, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1546, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "4", - "setSP": 1, - "line": 1294, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "offset": 32, + "mWR": 1, + "line": 1547, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1295, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-375", + "setGAS": 1, + "line": 1548, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-3", + "inC": "-8", "setGAS": 1, - "line": 1296, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1549, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1297, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 30, + "mRD": 1, + "line": 1550, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1300, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "CONST": "1", + "offset": 30, + "mWR": 1, + "line": 1551, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 2337, + "line": 1552, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -20897,45 +25867,53 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 33, "mRD": 1, - "line": 1301, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1555, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1556, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-5", + "CONST": "-1", "setSP": 1, - "line": 1302, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1557, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1303, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1558, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -20944,180 +25922,126 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1304, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1559, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "5", - "setSP": 1, - "line": 1305, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 1560, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "CONST": "2", + "offset": 32, "mWR": 1, - "line": 1306, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1561, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-3", + "CONST": "-375", "setGAS": 1, - "line": 1307, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1308, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1562, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1311, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "inC": "-8", + "setGAS": 1, + "line": 1563, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 30, "mRD": 1, - "line": 1312, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1564, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-6", - "setSP": 1, - "line": 1313, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "CONST": "1", + "offset": 30, + "mWR": 1, + "line": 1565, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 2337, + "line": 1566, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setA": 1, + "offset": 33, "mRD": 1, - "line": 1314, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1315, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "6", - "setSP": 1, - "line": 1316, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "line": 1569, + "offsetLabel": "iSstaticCall", "useCTX": 1, - "mWR": 1, - "line": 1317, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1318, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1319, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1570, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1322, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1571, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1323, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-7", - "setSP": 1, - "line": 1324, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1572, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -21127,63 +26051,71 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1325, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1573, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "inE": "1", + "inC": "1", + "offset": 24, "mWR": 1, - "line": 1326, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1574, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "7", - "setSP": 1, - "line": 1327, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "3", + "offset": 32, + "mWR": 1, + "line": 1575, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1328, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inGAS": "1", + "CONST": "-375", + "setGAS": 1, + "line": 1576, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-3", + "inC": "-8", "setGAS": 1, - "line": 1329, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1577, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1330, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 30, + "mRD": 1, + "line": 1578, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1333, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "CONST": "1", + "offset": 30, + "mWR": 1, + "line": 1579, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 2337, + "line": 1580, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21191,45 +26123,53 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 33, "mRD": 1, - "line": 1334, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1583, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1584, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-8", + "CONST": "-1", "setSP": 1, - "line": 1335, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1585, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1336, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1586, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -21238,50 +26178,168 @@ "incStack": 0, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1337, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1587, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "8", - "setSP": 1, - "line": 1338, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inC": "1", + "offset": 24, + "mWR": 1, + "line": 1588, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "CONST": "4", + "offset": 32, "mWR": 1, - "line": 1339, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1589, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-3", + "CONST": "-375", "setGAS": 1, - "line": 1340, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1590, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inC": "-8", + "setGAS": 1, + "line": 1591, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 30, + "mRD": 1, + "line": 1592, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "1", + "offset": 30, + "mWR": 1, + "line": 1593, + "offsetLabel": "nextFreeLogIndex", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1341, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2337, + "line": 1594, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", + "inC": "1", "CONST": "-1", - "setSP": 1, - "line": 1344, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 2345, + "line": 1597, + "offsetLabel": "opSaveTopicsInit", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "JMPC": 1, + "offset": 2343, + "line": 1598, + "offsetLabel": "opLOGFinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2340", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 1599, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "storeLog", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "line": 1600, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 1601, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 2337, + "line": 1602, + "offsetLabel": "opLOGLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2344", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 1605, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "storeLog", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "line": 1606, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21289,31 +26347,42 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 32, "mRD": 1, - "line": 1345, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1609, + "offsetLabel": "numTopics", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2353, + "line": 1612, + "offsetLabel": "opLOGend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-9", + "CONST": "-1", "setSP": 1, - "line": 1346, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1613, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-375", + "setGAS": 1, + "line": 1614, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -21323,88 +26392,58 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1347, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1348, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "9", - "setSP": 1, - "line": 1349, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1615, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1350, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "storeLog", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "1" + }, + { + "op": "getReg", + "regName": "C" + } + ] + }, + "inFREE": "1", + "line": 1616, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1351, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "-1", + "setA": 1, + "line": 1617, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1352, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1355, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2346, + "line": 1618, + "offsetLabel": "opSaveTopicsLoop", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setE": 1, + "offset": 24, "mRD": 1, - "line": 1356, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-10", - "setSP": 1, - "line": 1357, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1621, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21412,72 +26451,28 @@ }, "inFREE": "1", "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 23, "mRD": 1, - "line": 1358, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, + "line": 1622, + "offsetLabel": "memLength", "useCTX": 1, - "mWR": 1, - "line": 1359, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "10", - "setSP": 1, - "line": 1360, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1361, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1362, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 1623, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1363, + "offset": 815, + "line": 1624, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1366, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21485,129 +26480,89 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 33, "mRD": 1, - "line": 1367, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1629, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1630, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-11", + "CONST": "-1", "setSP": 1, - "line": 1368, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1631, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1369, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1632, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mWR": 1, - "line": 1370, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "11", - "setSP": 1, - "line": 1371, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 26, "mWR": 1, - "line": 1372, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1373, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 623, - "line": 1374, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1377, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1633, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1378, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1634, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-12", - "setSP": 1, - "line": 1379, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "offset": 28, + "mWR": 1, + "line": 1635, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -21617,63 +26572,63 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1380, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1636, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "inC": "1", + "offset": 27, "mWR": 1, - "line": 1381, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1637, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "12", - "setSP": 1, - "line": 1382, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inCTX": "1", + "offset": 23, + "mWR": 1, + "line": 1638, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 1, + "mRD": 1, + "line": 1639, + "offsetLabel": "txDestAddr", "useCTX": 1, - "mWR": 1, - "line": 1383, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1384, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "line": 1640, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1385, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "offset": 30, + "mWR": 1, + "line": 1641, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1388, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inPC": "1", + "offset": 31, + "mWR": 1, + "line": 1642, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21681,97 +26636,209 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 3, "mRD": 1, - "line": 1389, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1644, + "offsetLabel": "lastCtxUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-13", - "setSP": 1, - "line": 1390, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "1", + "setCTX": 1, + "offset": 3, + "mWR": 1, + "line": 1645, + "offsetLabel": "lastCtxUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "offset": 12, + "mWR": 1, + "line": 1646, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setA": 1, + "offset": 23, "mRD": 1, - "line": 1391, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1647, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, + "offset": 29, + "mWR": 1, + "line": 1648, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 14, + "mWR": 1, + "line": 1649, + "offsetLabel": "txSrcAddr", "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 15, "mWR": 1, - "line": 1392, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1650, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "13", - "setSP": 1, - "line": 1393, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "setGAS": 1, + "line": 1652, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2380", + "setRR": 1, + "JMP": 1, + "offset": 909, + "line": 1653, + "offsetLabel": "copySP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, + "setA": 1, + "line": 1654, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 1655, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 1656, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "sRD": 1, + "line": 1657, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 4, + "mWR": 1, + "line": 1658, + "offsetLabel": "txNonce", "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2386", + "setRR": 1, + "JMP": 1, + "offset": 971, + "line": 1659, + "offsetLabel": "getLenBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 5, "mWR": 1, - "line": 1394, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1660, + "offsetLabel": "lengthNonce", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1395, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 27, + "mRD": 1, + "line": 1661, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 7, + "mWR": 1, + "line": 1662, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 26, + "mRD": 1, + "line": 1663, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 3, + "mWR": 1, + "line": 1664, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1396, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 697, + "line": 1668, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1399, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1681, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inCTX": "1", + "offset": 23, + "mWR": 1, + "line": 1682, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21784,92 +26851,106 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1400, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1683, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-14", - "setSP": 1, - "line": 1401, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 24, + "mWR": 1, + "line": 1684, + "offsetLabel": "gasCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1402, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1685, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 25, "mWR": 1, - "line": 1403, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "14", - "setSP": 1, - "line": 1404, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1686, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": -1, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1405, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1687, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1406, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 26, + "mWR": 1, + "line": 1688, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1407, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 33, + "mRD": 1, + "line": 1689, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", + "inB": "1", "CONST": "-1", - "setSP": 1, - "line": 1410, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 2403, + "line": 1690, + "offsetLabel": "opCALL2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "inA": "-1", + "JMPC": 1, + "offset": 2798, + "line": 1691, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21882,19 +26963,21 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1411, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1694, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-15", - "setSP": 1, - "line": 1412, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 28, + "mWR": 1, + "line": 1695, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21907,67 +26990,193 @@ "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1413, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1696, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 27, + "mWR": 1, + "line": 1697, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", + "inB": "1", + "setE": 1, + "line": 1698, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, - "mWR": 1, - "line": 1414, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1699, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "15", - "setSP": 1, - "line": 1415, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 26, + "mWR": 1, + "line": 1700, + "offsetLabel": "retOffset", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, - "incStack": 1, + "incCode": 0, + "incStack": 0, "offset": 0, "useCTX": 1, + "mRD": 1, + "line": 1701, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 27, "mWR": 1, - "line": 1416, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1702, + "offsetLabel": "retLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1417, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "inB": "1", + "setD": 1, + "line": 1703, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2415, + "line": 1704, + "offsetLabel": "opCALL3", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 1705, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 1708, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inB": "-1", + "JMPC": 1, + "offset": 2418, + "line": 1709, + "offsetLabel": "opCALL4", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { + "CONST": "2418", + "setRR": 1, "JMP": 1, - "offset": 623, - "line": 1418, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1149, + "line": 1710, + "offsetLabel": "saveMem", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 1, + "mRD": 1, + "line": 1713, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "offset": 15, + "mRD": 1, + "line": 1714, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1421, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 30, + "mWR": 1, + "line": 1715, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inPC": "1", + "offset": 31, + "mWR": 1, + "line": 1716, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -21975,90 +27184,91 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 3, "mRD": 1, - "line": 1422, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1718, + "offsetLabel": "lastCtxUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-16", - "setSP": 1, - "line": 1423, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "CONST": "1", + "setCTX": 1, + "offset": 3, + "mWR": 1, + "line": 1719, + "offsetLabel": "lastCtxUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 1720, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setA": 1, + "offset": 23, "mRD": 1, - "line": 1424, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1721, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 29, "mWR": 1, - "line": 1425, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "16", - "setSP": 1, - "line": 1426, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1722, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incStack": 1, - "offset": 0, - "useCTX": 1, + "offset": 14, "mWR": 1, - "line": 1427, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1723, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-3", - "setGAS": 1, - "line": 1428, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "offset": 15, + "mWR": 1, + "line": 1724, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1429, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "copyTouchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] + }, + "inFREE": "1", + "line": 1725, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22066,127 +27276,161 @@ }, "inFREE": "1", "setA": 1, - "offset": 33, + "offset": 25, "mRD": 1, - "line": 1433, - "offsetLabel": "staticCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1728, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 2321, - "line": 1434, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 1, + "mWR": 1, + "line": 1729, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1435, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 2, + "mWR": 1, + "line": 1730, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 1436, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 1731, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 1733, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setA": 1, + "offset": 26, "mRD": 1, - "line": 1437, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1734, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, + "inA": "1", + "offset": 3, "mWR": 1, - "line": 1438, - "offsetLabel": "lastMemLength", + "line": 1735, + "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", - "offset": 32, - "mWR": 1, - "line": 1439, - "offsetLabel": "numTopics", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "number", + "num": "0" + }, + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "-1", + "JMPC": 1, + "offset": 2439, + "line": 1736, + "offsetLabel": "opCALLend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-375", + "CONST": "-9000", "setGAS": 1, - "line": 1440, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1737, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inC": "-8", - "setGAS": 1, - "line": 1441, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2440", + "setRR": 1, + "JMP": 1, + "offset": 1135, + "line": 1743, + "offsetLabel": "computeGasSendCall", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 30, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1442, - "offsetLabel": "nextFreeLogIndex", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1744, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "CONST": "1", - "offset": 30, + "inGAS": "1", + "inA": "-1", + "offset": 36, "mWR": 1, - "line": 1443, - "offsetLabel": "nextFreeLogIndex", + "line": 1745, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 1746, + "offsetLabel": "currentCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 2039, - "line": 1444, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "setGAS": 1, + "line": 1747, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22194,28 +27438,21 @@ }, "inFREE": "1", "setA": 1, - "offset": 33, + "offset": 27, "mRD": 1, - "line": 1447, - "offsetLabel": "staticCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 2321, - "line": 1448, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1748, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1449, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 7, + "mWR": 1, + "line": 1749, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22223,17 +27460,12 @@ }, "inFREE": "1", "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 28, "mRD": 1, - "line": 1450, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1750, + "offsetLabel": "argsOffsetCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22241,80 +27473,71 @@ }, "inFREE": "1", "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "offset": 27, "mRD": 1, - "line": 1451, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1751, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 1452, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2449", + "setRR": 1, + "JMP": 1, + "offset": 909, + "line": 1752, + "offsetLabel": "copySP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "1", - "offset": 32, - "mWR": 1, - "line": 1453, - "offsetLabel": "numTopics", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 697, + "line": 1753, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-375", - "setGAS": 1, - "line": 1454, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1758, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inC": "-8", - "setGAS": 1, - "line": 1455, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inCTX": "1", + "offset": 23, + "mWR": 1, + "line": 1759, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 30, + "setA": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1456, - "offsetLabel": "nextFreeLogIndex", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1760, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "CONST": "1", - "offset": 30, + "inA": "1", + "offset": 24, "mWR": 1, - "line": 1457, - "offsetLabel": "nextFreeLogIndex", + "line": 1761, + "offsetLabel": "gasCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 2039, - "line": 1458, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22322,35 +27545,33 @@ }, "inFREE": "1", "setA": 1, - "offset": 33, - "mRD": 1, - "line": 1461, - "offsetLabel": "staticCall", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 2321, - "line": 1462, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1762, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1463, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 25, + "mWR": 1, + "line": 1763, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -22360,59 +27581,44 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1464, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1764, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 26, + "mWR": 1, + "line": 1765, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": 0, + "incStack": -1, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1465, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 1466, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1766, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2", - "offset": 32, + "inA": "1", + "offset": 28, "mWR": 1, - "line": 1467, - "offsetLabel": "numTopics", + "line": 1767, + "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-375", - "setGAS": 1, - "line": 1468, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inC": "-8", - "setGAS": 1, - "line": 1469, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22420,29 +27626,33 @@ }, "inFREE": "1", "setB": 1, - "offset": 30, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1470, - "offsetLabel": "nextFreeLogIndex", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1768, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "CONST": "1", - "offset": 30, + "offset": 27, "mWR": 1, - "line": 1471, - "offsetLabel": "nextFreeLogIndex", + "line": 1769, + "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 2039, - "line": 1472, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "inB": "1", + "setE": 1, + "line": 1770, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22450,35 +27660,6 @@ }, "inFREE": "1", "setA": 1, - "offset": 33, - "mRD": 1, - "line": 1475, - "offsetLabel": "staticCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 2321, - "line": 1476, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1477, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -22488,59 +27669,80 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1478, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1771, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 26, + "mWR": 1, + "line": 1772, + "offsetLabel": "retOffset", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 1479, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "inC": "1", - "offset": 24, - "mWR": 1, - "line": 1480, - "offsetLabel": "lastMemLength", + "offset": 0, "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "mRD": 1, + "line": 1773, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "3", - "offset": 32, + "inB": "1", + "offset": 27, "mWR": 1, - "line": 1481, - "offsetLabel": "numTopics", + "line": 1774, + "offsetLabel": "retLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-375", - "setGAS": 1, - "line": 1482, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "inB": "1", + "setD": 1, + "line": 1775, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inC": "-8", - "setGAS": 1, - "line": 1483, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2470, + "line": 1776, + "offsetLabel": "opCALLCODE2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 1777, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22548,253 +27750,251 @@ }, "inFREE": "1", "setB": 1, - "offset": 30, + "offset": 23, "mRD": 1, - "line": 1484, - "offsetLabel": "nextFreeLogIndex", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1780, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "CONST": "1", - "offset": 30, - "mWR": 1, - "line": 1485, - "offsetLabel": "nextFreeLogIndex", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "inB": "-1", + "JMPC": 1, + "offset": 2473, + "line": 1781, + "offsetLabel": "opCALLCODE3", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { + "CONST": "2473", + "setRR": 1, "JMP": 1, - "offset": 2039, - "line": 1486, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 1149, + "line": 1782, + "offsetLabel": "saveMem", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 33, + "setB": 1, + "offset": 1, "mRD": 1, - "line": 1489, - "offsetLabel": "staticCall", + "line": 1785, + "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inA": "-1", - "JMPC": 1, - "offset": 2321, - "line": 1490, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1491, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 14, + "mRD": 1, + "line": 1786, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setD": 1, + "offset": 15, "mRD": 1, - "line": 1492, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1787, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setE": 1, + "offset": 2, "mRD": 1, - "line": 1493, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1788, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, + "inSP": "1", + "offset": 30, "mWR": 1, - "line": 1494, - "offsetLabel": "lastMemLength", + "line": 1789, + "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "4", - "offset": 32, + "inPC": "1", + "offset": 31, "mWR": 1, - "line": 1495, - "offsetLabel": "numTopics", + "line": 1790, + "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-375", - "setGAS": 1, - "line": 1496, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inC": "-8", - "setGAS": 1, - "line": 1497, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 30, + "setA": 1, + "offset": 3, "mRD": 1, - "line": 1498, - "offsetLabel": "nextFreeLogIndex", + "line": 1792, + "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "inA": "1", "CONST": "1", - "offset": 30, + "setCTX": 1, + "offset": 3, "mWR": 1, - "line": 1499, - "offsetLabel": "nextFreeLogIndex", + "line": 1793, + "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 2039, - "line": 1500, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 1794, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 2047, - "line": 1503, - "offsetLabel": "opSaveTopicsInit", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 23, + "mRD": 1, + "line": 1795, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 2045, - "line": 1504, - "offsetLabel": "opLOGFinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 29, + "mWR": 1, + "line": 1796, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2042", - "setRR": 1, - "JMP": 1, - "offset": 864, - "line": 1505, - "offsetLabel": "MLOAD32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "offset": 14, + "mWR": 1, + "line": 1797, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "offset": 2, + "mWR": 1, + "line": 1798, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "offset": 15, + "mWR": 1, + "line": 1799, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "storeLog", + "funcName": "copyTouchedAddress", "params": [ { "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "0" + "regName": "A" }, { "op": "getReg", - "regName": "A" + "regName": "CTX" } ] }, "inFREE": "1", - "line": 1506, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 1507, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1800, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 2039, - "line": 1508, - "offsetLabel": "opLOGLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 25, + "mRD": 1, + "line": 1801, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2046", - "setRR": 1, - "JMP": 1, - "offset": 883, - "line": 1511, - "offsetLabel": "MLOADX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 1, + "mWR": 1, + "line": 1802, + "offsetLabel": "txDestAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "functionCall", - "funcName": "storeLog", + "funcName": "touchedAddress", "params": [ { "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "0" + "regName": "A" }, { "op": "getReg", - "regName": "A" + "regName": "CTX" } ] }, "inFREE": "1", - "line": 1512, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 1803, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 1805, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22802,90 +28002,110 @@ }, "inFREE": "1", "setA": 1, - "offset": 32, + "offset": 26, "mRD": 1, - "line": 1515, - "offsetLabel": "numTopics", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1806, + "offsetLabel": "valueCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 2055, - "line": 1518, - "offsetLabel": "opLOGend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 3, + "mWR": 1, + "line": 1807, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", + "inA": "1", "CONST": "-1", - "setSP": 1, - "line": 1519, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 2496, + "line": 1808, + "offsetLabel": "opCALLCODEend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-375", + "CONST": "-9000", "setGAS": 1, - "line": 1520, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1810, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2497", + "setRR": 1, + "JMP": 1, + "offset": 1135, + "line": 1814, + "offsetLabel": "computeGasSendCall", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1521, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1815, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inA": "-1", + "offset": 36, + "mWR": 1, + "line": 1816, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "storeLog", - "params": [ - { - "op": "getReg", - "regName": "B" - }, - { - "op": "number", - "num": "1" - }, - { - "op": "getReg", - "regName": "C" - } - ] + "op": "" }, "inFREE": "1", - "line": 1522, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 1817, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "CONST": "-1", + "setGAS": 1, + "line": 1818, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", "setA": 1, - "line": 1523, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 27, + "mRD": 1, + "line": 1819, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 2048, - "line": 1524, - "offsetLabel": "opSaveTopicsLoop", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 7, + "mWR": 1, + "line": 1820, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -22893,154 +28113,180 @@ }, "inFREE": "1", "setE": 1, - "offset": 24, + "offset": 28, "mRD": 1, - "line": 1527, - "offsetLabel": "lastMemLength", + "line": 1821, + "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 23, + "setC": 1, + "offset": 27, "mRD": 1, - "line": 1528, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1822, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 1529, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2506", + "setRR": 1, + "JMP": 1, + "offset": 909, + "line": 1823, + "offsetLabel": "copySP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1530, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 697, + "line": 1824, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1537, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1829, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inCTX": "1", - "offset": 23, - "mWR": 1, - "line": 1538, - "offsetLabel": "originAuxCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1830, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, "ind": 0, "incCode": 0, - "incStack": -1, + "incStack": 0, "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1539, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1831, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inE": "1", + "inC": "1", "offset": 24, "mWR": 1, - "line": 1540, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1832, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inA": "-1", - "offset": 34, - "mWR": 1, - "line": 1541, - "offsetLabel": "gasCTX", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "offset": 12, + "mRD": 1, + "line": 1833, + "offsetLabel": "isCreateContract", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "setGAS": 1, - "line": 1542, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "inD": "-1", + "JMPC": 1, + "offset": 2552, + "line": 1834, + "offsetLabel": "opRETURNdeploy", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 29, "mRD": 1, - "line": 1543, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1835, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 25, + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2548, + "line": 1836, + "offsetLabel": "opRETURNend2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inCTX": "1", + "offset": 22, "mWR": 1, - "line": 1544, - "offsetLabel": "addrCall", + "line": 1837, + "offsetLabel": "currentCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 1838, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 36, "mRD": 1, - "line": 1545, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1839, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 26, - "mWR": 1, - "line": 1546, - "offsetLabel": "valueCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "inGAS": "1", + "setGAS": 1, + "line": 1841, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23048,395 +28294,365 @@ }, "inFREE": "1", "setB": 1, - "offset": 33, + "offset": 26, "mRD": 1, - "line": 1547, - "offsetLabel": "staticCall", + "line": 1842, + "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 1844, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 2072, - "line": 1548, - "offsetLabel": "opCALL2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2540, + "line": 1848, + "offsetLabel": "opRETURNend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inA": "-1", + "inC": "1", + "CONST": "-32", "JMPC": 1, - "offset": 2321, - "line": 1549, - "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2534, + "line": 1849, + "offsetLabel": "opRETURNfinal", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "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": 1552, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2524", + "setRR": 1, + "JMP": 1, + "offset": 1060, + "line": 1850, + "offsetLabel": "MLOAD32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 28, - "mWR": 1, - "line": 1553, - "offsetLabel": "argsOffsetCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "1", + "setD": 1, + "line": 1851, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1554, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1852, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setE": 1, + "line": 1853, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 27, + "offset": 36, "mWR": 1, - "line": 1555, - "offsetLabel": "argsLengthCall", + "line": 1854, + "offsetLabel": "bytesToStore", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2529", + "setRR": 1, + "JMP": 1, + "offset": 985, + "line": 1855, + "offsetLabel": "MSTORE32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "setB": 1, + "line": 1856, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 1857, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "CONST": "-32", + "setC": 1, + "line": 1858, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 1556, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1859, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 26, - "mWR": 1, - "line": 1557, - "offsetLabel": "retOffset", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 2521, + "line": 1860, + "offsetLabel": "opRETURN32", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2535", + "setRR": 1, + "JMP": 1, + "offset": 1079, + "line": 1863, + "offsetLabel": "MLOADX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1558, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1864, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setE": 1, + "line": 1865, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 27, + "offset": 36, "mWR": 1, - "line": 1559, - "offsetLabel": "retLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1866, + "offsetLabel": "bytesToStore", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2539", + "setRR": 1, + "JMP": 1, + "offset": 1019, + "line": 1867, + "offsetLabel": "MSTOREX", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 1, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 1560, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1868, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setD": 1, - "offset": 15, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1561, - "offsetLabel": "txSrcOriginAddr", + "line": 1871, + "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, "offset": 30, - "mWR": 1, - "line": 1562, + "mRD": 1, + "line": 1872, "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inPC": "1", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setPC": 1, "offset": 31, - "mWR": 1, - "line": 1563, + "mRD": 1, + "line": 1873, "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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": 1874, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 3, + "setE": 1, + "offset": 24, "mRD": 1, - "line": 1565, - "offsetLabel": "lastCtxUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "CONST": "1", - "setCTX": 1, - "offset": 3, - "mWR": 1, - "line": 1566, - "offsetLabel": "lastCtxUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1875, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "offset": 23, "mRD": 1, - "line": 1567, - "offsetLabel": "originAuxCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 29, - "mWR": 1, - "line": 1568, - "offsetLabel": "originCTX", + "line": 1876, + "offsetLabel": "memLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "offset": 14, - "mWR": 1, - "line": 1569, - "offsetLabel": "txSrcAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inD": "1", - "offset": 15, - "mWR": 1, - "line": 1570, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 1877, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "copyTouchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] - }, - "inFREE": "1", - "line": 1571, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 815, + "line": 1878, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "offset": 24, "mRD": 1, - "line": 1572, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "setGAS": 1, - "line": 1573, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1882, + "offsetLabel": "lastMemLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 25, + "setB": 1, + "offset": 23, "mRD": 1, - "line": 1574, - "offsetLabel": "addrCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 1, - "mWR": 1, - "line": 1575, - "offsetLabel": "txDestAddr", + "line": 1883, + "offsetLabel": "memLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 2, - "mWR": 1, - "line": 1576, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "inE": "-1", + "JMPC": 1, + "offset": 1776, + "line": 1884, + "offsetLabel": "saveMemLength", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 1577, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 818, + "line": 1885, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "CONST": "-100", - "inD": "-2500", + "inC": "-200", "setGAS": 1, - "line": 1579, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1889, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 26, + "setB": 1, + "offset": 29, "mRD": 1, - "line": 1580, - "offsetLabel": "valueCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 3, - "mWR": 1, - "line": 1581, - "offsetLabel": "txValue", + "line": 1890, + "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", - "freeInTag": { - "op": "functionCall", - "funcName": "comp_eq", - "params": [ - { - "op": "number", - "num": "0" - }, - { - "op": "getReg", - "regName": "A" - } - ] - }, - "inFREE": "-1", + "inB": "-1", "JMPC": 1, - "offset": 2102, - "line": 1582, - "offsetLabel": "opCALLend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2556, + "line": 1891, + "offsetLabel": "opRETURNcreate", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-9000", - "setGAS": 1, - "line": 1583, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 818, + "line": 1892, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23444,53 +28660,54 @@ }, "inFREE": "1", "setA": 1, - "offset": 27, + "offset": 14, "mRD": 1, - "line": 1589, - "offsetLabel": "argsLengthCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1896, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 7, - "mWR": 1, - "line": 1590, - "offsetLabel": "txNData", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setD": 1, + "offset": 4, + "mRD": 1, + "line": 1897, + "offsetLabel": "txNonce", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2105", - "setRR": 1, - "JMP": 1, - "offset": 716, - "line": 1591, - "offsetLabel": "copySP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "CONST": "1", + "setD": 1, + "line": 1898, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 556, - "line": 1595, - "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setB": 1, + "line": 1899, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1598, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setC": 1, + "line": 1900, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inCTX": "1", - "offset": 23, - "mWR": 1, - "line": 1599, - "offsetLabel": "originAuxCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "sWR": 1, + "line": 1901, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23498,96 +28715,114 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 13, "mRD": 1, - "line": 1600, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1903, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 24, - "mWR": 1, - "line": 1601, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setB": 1, + "line": 1904, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inA": "-1", - "offset": 34, - "mWR": 1, - "line": 1602, - "offsetLabel": "gasCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setC": 1, + "line": 1905, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "setD": 1, + "line": 1906, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "sWR": 1, + "line": 1907, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "getHashBytecode", + "params": [ + { + "op": "getReg", + "regName": "A" + } + ] + }, + "inFREE": "1", + "setD": 1, + "line": 1910, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2", + "setB": 1, + "line": 1911, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "setGAS": 1, - "line": 1603, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setC": 1, + "line": 1912, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "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": 1604, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 25, - "mWR": 1, - "line": 1605, - "offsetLabel": "addrCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setSR": 1, + "sWR": 1, + "line": 1913, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setB": 1, + "offset": 3, "mRD": 1, - "line": 1606, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1915, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 26, - "mWR": 1, - "line": 1607, - "offsetLabel": "valueCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "freeInTag": { + "op": "functionCall", + "funcName": "comp_eq", + "params": [ + { + "op": "getReg", + "regName": "B" + }, + { + "op": "number", + "num": "0" + } + ] + }, + "inFREE": "-1", + "JMPC": 1, + "offset": 2598, + "line": 1916, + "offsetLabel": "opRETURNcreateEnd", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23595,107 +28830,67 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 14, "mRD": 1, - "line": 1608, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1919, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 28, - "mWR": 1, - "line": 1609, - "offsetLabel": "argsOffsetCall", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 1920, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "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": 1610, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 27, - "mWR": 1, - "line": 1611, - "offsetLabel": "argsLengthCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setE": 1, + "sRD": 1, + "line": 1921, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "setC": 1, + "offset": 3, "mRD": 1, - "line": 1612, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 26, - "mWR": 1, - "line": 1613, - "offsetLabel": "retOffset", + "line": 1922, + "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "sub", + "values": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "C" + } + ] }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": 0, - "offset": 0, - "useCTX": 1, - "mRD": 1, - "line": 1614, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1923, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 27, - "mWR": 1, - "line": 1615, - "offsetLabel": "retLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "31", + "setD": 1, + "line": 1924, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23703,69 +28898,72 @@ }, "inFREE": "1", "setB": 1, - "offset": 1, - "mRD": 1, - "line": 1616, - "offsetLabel": "txDestAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "shr": 1, + "line": 1925, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "127", + "inB": "-1", + "JMPC": 1, + "offset": 897, + "line": 1926, + "offsetLabel": "invalidTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 1927, + "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, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setD": 1, + "line": 1930, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setA": 1, "offset": 14, "mRD": 1, - "line": 1617, + "line": 1931, "offsetLabel": "txSrcAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, - "offset": 15, - "mRD": 1, - "line": 1618, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 1932, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 2, - "mRD": 1, - "line": 1619, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "offset": 30, - "mWR": 1, - "line": 1620, - "offsetLabel": "lastSP", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inPC": "1", - "offset": 31, - "mWR": 1, - "line": 1621, - "offsetLabel": "lastPC", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setSR": 1, + "sWR": 1, + "line": 1933, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23773,91 +28971,74 @@ }, "inFREE": "1", "setA": 1, - "offset": 3, + "offset": 13, "mRD": 1, - "line": 1623, - "offsetLabel": "lastCtxUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1935, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "CONST": "1", - "setCTX": 1, - "offset": 3, - "mWR": 1, - "line": 1624, - "offsetLabel": "lastCtxUsed", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 1936, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 23, - "mRD": 1, - "line": 1625, - "offsetLabel": "originAuxCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 29, - "mWR": 1, - "line": 1626, - "offsetLabel": "originCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setC": 1, + "sRD": 1, + "line": 1937, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "offset": 14, - "mWR": 1, - "line": 1627, - "offsetLabel": "txSrcAddr", + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 3, + "mRD": 1, + "line": 1938, + "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "offset": 2, - "mWR": 1, - "line": 1628, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "1", + "setB": 1, + "line": 1939, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inD": "1", - "offset": 15, - "mWR": 1, - "line": 1629, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setD": 1, + "line": 1940, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "copyTouchedAddress", - "params": [ + "op": "add", + "values": [ { "op": "getReg", "regName": "A" }, { "op": "getReg", - "regName": "CTX" + "regName": "C" } ] }, "inFREE": "1", - "line": 1630, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "arith": 1, + "line": 1941, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23865,68 +29046,110 @@ }, "inFREE": "1", "setA": 1, - "offset": 24, + "offset": 13, "mRD": 1, - "line": 1631, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1942, + "offsetLabel": "createContractAddress", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "setGAS": 1, - "line": 1632, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setB": 1, + "setC": 1, + "line": 1943, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, - "offset": 25, + "setSR": 1, + "sWR": 1, + "line": 1944, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 29, "mRD": 1, - "line": 1633, - "offsetLabel": "addrCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1947, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 1, - "mWR": 1, - "line": 1634, - "offsetLabel": "txDestAddr", + "inB": "1", + "setCTX": 1, + "line": 1948, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSP": 1, + "offset": 30, + "mRD": 1, + "line": 1949, + "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] + "op": "" }, "inFREE": "1", - "setD": 1, - "line": 1635, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setPC": 1, + "offset": 31, + "mRD": 1, + "line": 1950, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-100", - "inD": "-2500", - "setGAS": 1, - "line": 1637, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incStack": 1, + "offset": 0, + "useCTX": 1, + "mWR": 1, + "line": 1951, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "JMP": 1, + "offset": 815, + "line": 1952, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 1955, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inCTX": "1", + "offset": 23, + "mWR": 1, + "line": 1956, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23934,37 +29157,53 @@ }, "inFREE": "1", "setA": 1, - "offset": 26, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1638, - "offsetLabel": "valueCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1957, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 3, + "offset": 24, "mWR": 1, - "line": 1639, - "offsetLabel": "txValue", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1958, + "offsetLabel": "gasCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 2148, - "line": 1640, - "offsetLabel": "opCALLCODEend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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": 1959, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "CONST": "-9000", - "setGAS": 1, - "line": 1641, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 25, + "mWR": 1, + "line": 1960, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -23972,51 +29211,67 @@ }, "inFREE": "1", "setA": 1, - "offset": 27, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, "mRD": 1, - "line": 1645, - "offsetLabel": "argsLengthCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1961, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 7, + "offset": 28, "mWR": 1, - "line": 1646, - "offsetLabel": "txNData", + "line": 1962, + "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2151", - "setRR": 1, - "JMP": 1, - "offset": 716, - "line": 1647, - "offsetLabel": "copySP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": -1, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 1963, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 556, - "line": 1650, - "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inB": "1", + "offset": 27, + "mWR": 1, + "line": 1964, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1654, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "inB": "1", + "setE": 1, + "line": 1965, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, + "setA": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -24026,15 +29281,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1655, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1966, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 26, + "mWR": 1, + "line": 1967, + "offsetLabel": "retOffset", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setC": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -24044,40 +29308,53 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1656, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1968, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "inC": "1", - "offset": 24, + "inB": "1", + "offset": 27, "mWR": 1, - "line": 1657, - "offsetLabel": "lastMemLength", + "line": 1969, + "offsetLabel": "retLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "inB": "1", + "setD": 1, + "line": 1970, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "D" + } + ] }, "inFREE": "1", - "setD": 1, - "offset": 12, - "mRD": 1, - "line": 1658, - "offsetLabel": "txIsCreateContract", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "-1", + "JMPC": 1, + "offset": 2622, + "line": 1971, + "offsetLabel": "opDELEGATECALL2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "0", - "inD": "-1", - "JMPC": 1, - "offset": 2197, - "line": 1659, - "offsetLabel": "opRETURNdeploy", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "setE": 1, + "line": 1972, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24085,351 +29362,333 @@ }, "inFREE": "1", "setB": 1, - "offset": 29, + "offset": 23, "mRD": 1, - "line": 1660, - "offsetLabel": "originCTX", + "line": 1975, + "offsetLabel": "memLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "CONST": "-1", + "inE": "1", + "inB": "-1", "JMPC": 1, - "offset": 2193, - "line": 1661, - "offsetLabel": "opRETURNend2", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 2625, + "line": 1976, + "offsetLabel": "opDELEGATECALL3", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inCTX": "1", - "offset": 22, - "mWR": 1, - "line": 1662, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2625", + "setRR": 1, + "JMP": 1, + "offset": 1149, + "line": 1977, + "offsetLabel": "saveMem", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setB": 1, + "offset": 3, "mRD": 1, - "line": 1663, - "offsetLabel": "originCTX", + "line": 1980, + "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 34, + "setC": 1, + "offset": 14, "mRD": 1, - "line": 1664, - "offsetLabel": "gasCTX", + "line": 1981, + "offsetLabel": "txSrcAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inGAS": "1", - "setGAS": 1, - "line": 1665, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 26, + "setD": 1, + "offset": 15, "mRD": 1, - "line": 1666, - "offsetLabel": "retOffset", + "line": 1982, + "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, + "setE": 1, + "offset": 2, "mRD": 1, - "line": 1667, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-1", - "JMPC": 1, - "offset": 2185, - "line": 1670, - "offsetLabel": "opRETURNend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "JMPC": 1, - "offset": 2179, - "line": 1671, - "offsetLabel": "opRETURNfinal", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1983, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2169", - "setRR": 1, - "JMP": 1, - "offset": 864, - "line": 1672, - "offsetLabel": "MLOAD32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "offset": 30, + "mWR": 1, + "line": 1984, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inE": "1", - "setD": 1, - "line": 1673, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inPC": "1", + "offset": 31, + "mWR": 1, + "line": 1985, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setA": 1, + "offset": 3, "mRD": 1, - "line": 1674, - "offsetLabel": "originCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "setE": 1, - "line": 1675, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1987, + "offsetLabel": "lastCtxUsed", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 36, + "CONST": "1", + "setCTX": 1, + "offset": 3, "mWR": 1, - "line": 1676, - "offsetLabel": "bytesToStore", + "line": 1988, + "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2174", - "setRR": 1, - "JMP": 1, - "offset": 789, - "line": 1677, - "offsetLabel": "MSTORE32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "setB": 1, - "line": 1678, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inD": "1", - "setE": 1, - "line": 1679, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inC": "1", - "CONST": "-32", - "setC": 1, - "line": 1680, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 1989, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 22, + "setA": 1, + "offset": 23, "mRD": 1, - "line": 1681, - "offsetLabel": "currentCTX", + "line": 1990, + "offsetLabel": "originAuxCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "JMP": 1, - "offset": 2166, - "line": 1682, - "offsetLabel": "opRETURN32", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2180", - "setRR": 1, - "JMP": 1, - "offset": 883, - "line": 1685, - "offsetLabel": "MLOADX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setCTX": 1, + "inA": "1", "offset": 29, - "mRD": 1, - "line": 1686, + "mWR": 1, + "line": 1991, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", - "setE": 1, - "line": 1687, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inC": "1", + "offset": 14, + "mWR": 1, + "line": 1992, + "offsetLabel": "txSrcAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 36, + "inE": "1", + "offset": 2, "mWR": 1, - "line": 1688, - "offsetLabel": "bytesToStore", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1993, + "offsetLabel": "storageAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2184", - "setRR": 1, - "JMP": 1, - "offset": 823, - "line": 1689, - "offsetLabel": "MSTOREX", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inD": "1", + "offset": 15, + "mWR": 1, + "line": 1994, + "offsetLabel": "txSrcOriginAddr", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "copyTouchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] }, "inFREE": "1", - "setCTX": 1, - "offset": 22, - "mRD": 1, - "line": 1690, - "offsetLabel": "currentCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 1995, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "offset": 3, + "mWR": 1, + "line": 1996, + "offsetLabel": "txValue", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setCTX": 1, - "offset": 29, + "setA": 1, + "offset": 25, "mRD": 1, - "line": 1693, - "offsetLabel": "originCTX", + "line": 1997, + "offsetLabel": "addrCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "offset": 1, + "mWR": 1, + "line": 1998, + "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "" + "op": "functionCall", + "funcName": "touchedAddress", + "params": [ + { + "op": "getReg", + "regName": "A" + }, + { + "op": "getReg", + "regName": "CTX" + } + ] }, "inFREE": "1", - "setSP": 1, - "offset": 30, - "mRD": 1, - "line": 1694, - "offsetLabel": "lastSP", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setD": 1, + "line": 1999, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "CONST": "-100", + "inD": "-2500", + "setGAS": 1, + "line": 2001, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2646", + "setRR": 1, + "JMP": 1, + "offset": 1135, + "line": 2002, + "offsetLabel": "computeGasSendCall", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setPC": 1, - "offset": 31, + "setCTX": 1, + "offset": 29, "mRD": 1, - "line": 1695, - "offsetLabel": "lastPC", + "line": 2003, + "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "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, + "inGAS": "1", + "inA": "-1", + "offset": 36, "mWR": 1, - "line": 1696, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2004, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setE": 1, - "offset": 24, + "setCTX": 1, + "offset": 22, "mRD": 1, - "line": 1697, - "offsetLabel": "lastMemLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2005, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setGAS": 1, + "line": 2006, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 23, + "setA": 1, + "offset": 27, "mRD": 1, - "line": 1698, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 1699, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2009, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 623, - "line": 1700, - "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inA": "1", + "offset": 7, + "mWR": 1, + "line": 2010, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24437,71 +29696,41 @@ }, "inFREE": "1", "setE": 1, - "offset": 24, + "offset": 28, "mRD": 1, - "line": 1703, - "offsetLabel": "lastMemLength", + "line": 2011, + "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 23, + "setC": 1, + "offset": 27, "mRD": 1, - "line": 1704, - "offsetLabel": "memLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inB": "1", - "inE": "-1", - "JMPC": 1, - "offset": 1474, - "line": 1705, - "offsetLabel": "saveMemLength", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2012, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { + "CONST": "2655", + "setRR": 1, "JMP": 1, - "offset": 626, - "line": 1706, - "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inC": "-200", - "setGAS": 1, - "line": 1709, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 909, + "line": 2013, + "offsetLabel": "copySP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 626, - "line": 1710, - "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inSP": "1", - "CONST": "-1", - "setSP": 1, - "line": 1713, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inCTX": "1", - "offset": 23, - "mWR": 1, - "line": 1714, - "offsetLabel": "originAuxCTX", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 697, + "line": 2016, + "offsetLabel": "txType", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24509,42 +29738,28 @@ }, "inFREE": "1", "setA": 1, - "isStack": 1, - "isCode": 0, - "isMem": 0, - "ind": 0, - "incCode": 0, - "incStack": -1, - "offset": 0, - "useCTX": 1, + "offset": 33, "mRD": 1, - "line": 1715, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 24, - "mWR": 1, - "line": 1716, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2021, + "offsetLabel": "iSstaticCall", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", + "CONST": "0", "inA": "-1", - "offset": 34, - "mWR": 1, - "line": 1717, - "offsetLabel": "gasCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMPC": 1, + "offset": 2798, + "line": 2022, + "offsetLabel": "invalidStaticTx", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "setGAS": 1, - "line": 1718, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 2023, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24561,24 +29776,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1719, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2024, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 25, + "offset": 26, "mWR": 1, - "line": 1720, - "offsetLabel": "addrCall", + "line": 2025, + "offsetLabel": "valueCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setE": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -24588,24 +29803,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1721, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2026, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inE": "1", "offset": 28, "mWR": 1, - "line": 1722, + "line": 2027, "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setC": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -24615,51 +29830,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1723, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2028, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inC": "1", "offset": 27, "mWR": 1, - "line": 1724, + "line": 2029, "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "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": 1725, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "offset": 26, - "mWR": 1, - "line": 1726, - "offsetLabel": "retOffset", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setD": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -24669,17 +29857,17 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1727, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2030, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", - "offset": 27, + "inCTX": "1", + "offset": 23, "mWR": 1, - "line": 1728, - "offsetLabel": "retLength", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2031, + "offsetLabel": "originAuxCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24687,69 +29875,36 @@ }, "inFREE": "1", "setB": 1, - "offset": 3, + "offset": 1, "mRD": 1, - "line": 1729, - "offsetLabel": "txValue", + "line": 2032, + "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", + "inGAS": "1", "setC": 1, - "offset": 14, - "mRD": 1, - "line": 1730, - "offsetLabel": "txSrcAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setD": 1, - "offset": 15, - "mRD": 1, - "line": 1731, - "offsetLabel": "txSrcOriginAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setE": 1, - "offset": 2, - "mRD": 1, - "line": 1732, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2033, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "offset": 30, "mWR": 1, - "line": 1733, + "line": 2034, "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inPC": "1", "offset": 31, "mWR": 1, - "line": 1734, + "line": 2035, "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24759,10 +29914,10 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1736, + "line": 2037, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -24770,10 +29925,37 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1737, + "line": 2038, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "offset": 12, + "mWR": 1, + "line": 2039, + "offsetLabel": "isCreateContract", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "offset": 34, + "mWR": 1, + "line": 2040, + "offsetLabel": "isCreate2", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "offset": 35, + "mWR": 1, + "line": 2041, + "offsetLabel": "salt", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24783,93 +29965,107 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1738, + "line": 2042, "offsetLabel": "originAuxCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 29, "mWR": 1, - "line": 1739, + "line": 2043, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inC": "1", + "inB": "1", "offset": 14, "mWR": 1, - "line": 1740, + "line": 2044, "offsetLabel": "txSrcAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inE": "1", - "offset": 2, - "mWR": 1, - "line": 1741, - "offsetLabel": "storageAddr", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inD": "1", + "inB": "1", "offset": 15, "mWR": 1, - "line": 1742, + "line": 2045, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inC": "1", + "setGAS": 1, + "line": 2047, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2682", + "setRR": 1, + "JMP": 1, + "offset": 909, + "line": 2048, + "offsetLabel": "copySP", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setA": 1, + "line": 2049, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "1", + "setB": 1, + "line": 2050, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "0", + "setC": 1, + "line": 2051, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "copyTouchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] + "op": "" }, "inFREE": "1", - "line": 1743, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setB": 1, + "sRD": 1, + "line": 2052, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", - "offset": 3, + "offset": 4, "mWR": 1, - "line": 1744, - "offsetLabel": "txValue", + "line": 2053, + "offsetLabel": "txNonce", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 24, - "mRD": 1, - "line": 1745, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "2688", + "setRR": 1, + "JMP": 1, + "offset": 971, + "line": 2054, + "offsetLabel": "getLenBytes", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "setGAS": 1, - "line": 1746, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 5, + "mWR": 1, + "line": 2055, + "offsetLabel": "lengthNonce", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24877,49 +30073,21 @@ }, "inFREE": "1", "setA": 1, - "offset": 25, + "offset": 27, "mRD": 1, - "line": 1747, - "offsetLabel": "addrCall", + "line": 2056, + "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 1, + "offset": 7, "mWR": 1, - "line": 1748, - "offsetLabel": "txDestAddr", + "line": 2057, + "offsetLabel": "txCalldataLen", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "functionCall", - "funcName": "touchedAddress", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "CTX" - } - ] - }, - "inFREE": "1", - "setD": 1, - "line": 1749, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "CONST": "-100", - "inD": "-2500", - "setGAS": 1, - "line": 1751, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24927,53 +30095,44 @@ }, "inFREE": "1", "setA": 1, - "offset": 27, + "offset": 26, "mRD": 1, - "line": 1755, - "offsetLabel": "argsLengthCall", + "line": 2058, + "offsetLabel": "valueCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", - "offset": 7, + "offset": 3, "mWR": 1, - "line": 1756, - "offsetLabel": "txNData", + "line": 2059, + "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "2239", - "setRR": 1, - "JMP": 1, - "offset": 716, - "line": 1757, - "offsetLabel": "copySP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 556, - "line": 1760, + "offset": 697, + "line": 2063, "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1766, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2067, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inCTX": "1", "offset": 23, "mWR": 1, - "line": 1767, + "line": 2068, "offsetLabel": "originAuxCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -24990,33 +30149,17 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1768, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2069, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 24, "mWR": 1, - "line": 1769, + "line": 2070, "offsetLabel": "gasCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inA": "-1", - "offset": 34, - "mWR": 1, - "line": 1770, - "offsetLabel": "gasCTX", - "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "setGAS": 1, - "line": 1771, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25033,17 +30176,17 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1772, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2071, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 25, "mWR": 1, - "line": 1773, + "line": 2072, "offsetLabel": "addrCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25060,24 +30203,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1774, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2073, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 28, "mWR": 1, - "line": 1775, + "line": 2074, "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -25087,17 +30230,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1776, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2075, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "offset": 27, "mWR": 1, - "line": 1777, + "line": 2076, "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "inB": "1", + "setE": 1, + "line": 2077, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25114,24 +30264,24 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1778, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2078, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 26, "mWR": 1, - "line": 1779, + "line": 2079, "offsetLabel": "retOffset", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setA": 1, + "setB": 1, "isStack": 1, "isCode": 0, "isMem": 0, @@ -25141,17 +30291,84 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1780, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2080, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inA": "1", + "inB": "1", "offset": 27, "mWR": 1, - "line": 1781, + "line": 2081, "offsetLabel": "retLength", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "inB": "1", + "setD": 1, + "line": 2082, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "functionCall", + "funcName": "comp_lt", + "params": [ + { + "op": "getReg", + "regName": "E" + }, + { + "op": "getReg", + "regName": "D" + } + ] + }, + "inFREE": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2712, + "line": 2083, + "offsetLabel": "opSTATICCALL2", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inD": "1", + "setE": 1, + "line": 2084, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setB": 1, + "offset": 23, + "mRD": 1, + "line": 2087, + "offsetLabel": "memLength", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inE": "1", + "inB": "-1", + "JMPC": 1, + "offset": 2715, + "line": 2088, + "offsetLabel": "opSTATICCALL3", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2715", + "setRR": 1, + "JMP": 1, + "offset": 1149, + "line": 2089, + "offsetLabel": "saveMem", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25161,10 +30378,10 @@ "setB": 1, "offset": 1, "mRD": 1, - "line": 1782, + "line": 2092, "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25174,28 +30391,28 @@ "setD": 1, "offset": 15, "mRD": 1, - "line": 1783, + "line": 2093, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "offset": 30, "mWR": 1, - "line": 1784, + "line": 2094, "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inPC": "1", "offset": 31, "mWR": 1, - "line": 1785, + "line": 2095, "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25205,10 +30422,10 @@ "setA": 1, "offset": 3, "mRD": 1, - "line": 1787, + "line": 2097, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", @@ -25216,10 +30433,19 @@ "setCTX": 1, "offset": 3, "mWR": 1, - "line": 1788, + "line": 2098, "offsetLabel": "lastCtxUsed", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inCTX": "1", + "offset": 22, + "mWR": 1, + "line": 2099, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25229,55 +30455,55 @@ "setA": 1, "offset": 23, "mRD": 1, - "line": 1789, + "line": 2100, "offsetLabel": "originAuxCTX", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 29, "mWR": 1, - "line": 1790, + "line": 2101, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "offset": 3, "mWR": 1, - "line": 1791, + "line": 2102, "offsetLabel": "txValue", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "offset": 33, "mWR": 1, - "line": 1792, - "offsetLabel": "staticCall", + "line": 2103, + "offsetLabel": "iSstaticCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inB": "1", "offset": 14, "mWR": 1, - "line": 1793, + "line": 2104, "offsetLabel": "txSrcAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "offset": 15, "mWR": 1, - "line": 1794, + "line": 2105, "offsetLabel": "txSrcOriginAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25295,27 +30521,8 @@ ] }, "inFREE": "1", - "line": 1795, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "freeInTag": { - "op": "" - }, - "inFREE": "1", - "setA": 1, - "offset": 24, - "mRD": 1, - "line": 1796, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inA": "1", - "setGAS": 1, - "line": 1797, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2106, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25325,28 +30532,28 @@ "setA": 1, "offset": 25, "mRD": 1, - "line": 1798, + "line": 2107, "offsetLabel": "addrCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 1, "mWR": 1, - "line": 1799, + "line": 2108, "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 2, "mWR": 1, - "line": 1800, + "line": 2109, "offsetLabel": "storageAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25365,25 +30572,67 @@ }, "inFREE": "1", "setD": 1, - "line": 1801, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2110, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-100", "inD": "-2500", "setGAS": 1, - "line": 1803, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2112, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "CONST": "2735", + "setRR": 1, + "JMP": 1, + "offset": 1135, + "line": 2113, + "offsetLabel": "computeGasSendCall", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 29, + "mRD": 1, + "line": 2114, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", - "offset": 35, + "inA": "-1", + "offset": 36, "mWR": 1, - "line": 1804, - "offsetLabel": "remainingGas", + "line": 2115, + "offsetLabel": "gasCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setCTX": 1, + "offset": 22, + "mRD": 1, + "line": 2116, + "offsetLabel": "currentCTX", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setGAS": 1, + "line": 2117, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25393,35 +30642,86 @@ "setA": 1, "offset": 27, "mRD": 1, - "line": 1806, + "line": 2119, "offsetLabel": "argsLengthCall", "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "offset": 7, "mWR": 1, - "line": 1807, - "offsetLabel": "txNData", + "line": 2120, + "offsetLabel": "txCalldataLen", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setE": 1, + "offset": 28, + "mRD": 1, + "line": 2121, + "offsetLabel": "argsOffsetCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 27, + "mRD": 1, + "line": 2122, + "offsetLabel": "argsLengthCall", + "useCTX": 0, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2280", + "CONST": "2744", "setRR": 1, "JMP": 1, - "offset": 716, - "line": 1808, + "offset": 909, + "line": 2123, "offsetLabel": "copySP", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 556, - "line": 1812, + "offset": 697, + "line": 2127, "offsetLabel": "txType", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inSP": "1", + "CONST": "-1", + "setSP": 1, + "line": 2134, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "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": 2135, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25429,27 +30729,65 @@ }, "inFREE": "1", "setB": 1, + "isStack": 1, + "isCode": 0, + "isMem": 0, + "ind": 0, + "incCode": 0, + "incStack": 0, + "offset": 0, + "useCTX": 1, + "mRD": 1, + "line": 2136, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, "offset": 29, "mRD": 1, - "line": 1815, + "line": 2137, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "inC": "1", "CONST": "-1", "JMPC": 1, - "offset": 2288, - "line": 1816, + "offset": 2757, + "line": 2138, "offsetLabel": "opREVERTend", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inB": "1", + "inC": "1", "setCTX": 1, - "line": 1817, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2139, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setC": 1, + "offset": 36, + "mRD": 1, + "line": 2140, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inGAS": "1", + "inC": "1", + "setGAS": 1, + "line": 2141, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25459,10 +30797,10 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 1818, + "line": 2142, "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25472,10 +30810,10 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 1819, + "line": 2143, "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", @@ -25487,22 +30825,35 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1820, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2144, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1821, + "offset": 815, + "line": 2145, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setSR": 1, + "offset": 20, + "mRD": 1, + "line": 2148, + "offsetLabel": "initSR", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 704, - "line": 1824, - "offsetLabel": "invalidTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 818, + "line": 2149, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25512,35 +30863,35 @@ "setA": 1, "offset": 33, "mRD": 1, - "line": 1828, - "offsetLabel": "staticCall", + "line": 2155, + "offsetLabel": "iSstaticCall", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "inA": "-1", "JMPC": 1, - "offset": 2321, - "line": 1829, + "offset": 2798, + "line": 2156, "offsetLabel": "invalidStaticTx", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "24000", "offset": 19, "mWR": 1, - "line": 1830, + "line": 2157, "offsetLabel": "gasRefund", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "CONST": "-5000", "setGAS": 1, - "line": 1831, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2158, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25550,28 +30901,28 @@ "setA": 1, "offset": 1, "mRD": 1, - "line": 1834, + "line": 2161, "offsetLabel": "txDestAddr", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "2", "setB": 1, - "line": 1835, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2162, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setC": 1, - "line": 1836, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2163, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setD": 1, - "line": 1837, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2164, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25580,15 +30931,15 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1838, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2165, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 1841, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2168, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25597,8 +30948,8 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 1842, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2169, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25607,21 +30958,21 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1845, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2172, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setD": 1, - "line": 1846, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2173, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inSP": "1", "CONST": "-1", "setSP": 1, - "line": 1849, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2176, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25638,30 +30989,30 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1850, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2177, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inA": "1", "setE": 1, - "line": 1853, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2180, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "CONST": "2306", + "CONST": "2776", "setRR": 1, "JMP": 1, - "offset": 916, - "line": 1854, + "offset": 1112, + "line": 2181, "offsetLabel": "ISEMPTY", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inE": "-25000", "setGAS": 1, - "line": 1855, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2182, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25680,22 +31031,22 @@ }, "inFREE": "1", "setE": 1, - "line": 1858, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2185, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inGAS": "1", "inE": "-2600", "setGAS": 1, - "line": 1859, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2186, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 1862, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2189, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25704,32 +31055,32 @@ "inFREE": "1", "setE": 1, "sRD": 1, - "line": 1863, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2190, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inD": "1", "setA": 1, - "line": 1866, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2193, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "inE": "1", "setC": 1, - "line": 1867, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2194, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", "setB": 1, - "line": 1868, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2195, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setD": 1, - "line": 1869, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2196, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25748,8 +31099,8 @@ "inFREE": "1", "setD": 1, "arith": 1, - "line": 1870, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2197, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25766,15 +31117,15 @@ "offset": 0, "useCTX": 1, "mRD": 1, - "line": 1873, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2200, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "0", "setB": 1, "setC": 1, - "line": 1874, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2201, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25783,105 +31134,89 @@ "inFREE": "1", "setSR": 1, "sWR": 1, - "line": 1875, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2202, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 626, - "line": 1877, + "offset": 818, + "line": 2204, "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "JMP": 1, - "offset": 626, - "line": 1880, - "offsetLabel": "endCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "CONST": "0", + "setGAS": 1, + "line": 2210, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", "freeInTag": { - "op": "div", - "values": [ - { - "op": "getReg", - "regName": "GAS" - }, - { - "op": "number", - "num": "64" - } - ] + "op": "" }, - "inFREE": "-1", - "setA": 1, - "line": 1883, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "inFREE": "1", + "setB": 1, + "offset": 29, + "mRD": 1, + "line": 2212, + "offsetLabel": "originCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "CONST": "-1", + "JMPC": 1, + "offset": 2797, + "line": 2213, + "offsetLabel": "opINVALIDend", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inB": "1", + "setCTX": 1, + "line": 2215, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { "op": "" }, "inFREE": "1", - "setB": 1, - "offset": 24, + "setSP": 1, + "offset": 30, "mRD": 1, - "line": 1884, - "offsetLabel": "gasCall", - "useCTX": 0, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2217, + "offsetLabel": "lastSP", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { - "op": "functionCall", - "funcName": "comp_lt", - "params": [ - { - "op": "getReg", - "regName": "A" - }, - { - "op": "getReg", - "regName": "B" - } - ] + "op": "" }, "inFREE": "1", - "setD": 1, - "line": 1885, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "CONST": "0", - "inD": "-1", - "JMPC": 1, - "offset": 2327, - "line": 1886, - "offsetLabel": "gasSentWithCallA", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" - }, - { - "inGAS": "1", - "inB": "-1", - "setGAS": 1, - "line": 1887, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "setPC": 1, + "offset": 31, + "mRD": 1, + "line": 2218, + "offsetLabel": "lastPC", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 2328, - "line": 1888, - "offsetLabel": "invalidStaticTxEnd", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "offset": 815, + "line": 2219, + "offsetLabel": "readCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { - "inGAS": "1", - "inA": "-1", - "setGAS": 1, - "line": 1891, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "JMP": 1, + "offset": 818, + "line": 2222, + "offsetLabel": "endCode", + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25891,10 +31226,29 @@ "setCTX": 1, "offset": 29, "mRD": 1, - "line": 1896, + "line": 2225, "offsetLabel": "originCTX", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "freeInTag": { + "op": "" + }, + "inFREE": "1", + "setA": 1, + "offset": 36, + "mRD": 1, + "line": 2226, + "offsetLabel": "gasCTX", + "useCTX": 1, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" + }, + { + "inA": "1", + "setGAS": 1, + "line": 2227, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25904,10 +31258,10 @@ "setSP": 1, "offset": 30, "mRD": 1, - "line": 1897, + "line": 2228, "offsetLabel": "lastSP", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "freeInTag": { @@ -25917,10 +31271,10 @@ "setPC": 1, "offset": 31, "mRD": 1, - "line": 1898, + "line": 2229, "offsetLabel": "lastPC", "useCTX": 1, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "CONST": "1", @@ -25932,336 +31286,378 @@ "offset": 0, "useCTX": 1, "mWR": 1, - "line": 1899, - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "line": 2230, + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" }, { "JMP": 1, - "offset": 623, - "line": 1900, + "offset": 815, + "line": 2231, "offsetLabel": "readCode", - "fileName": "/home/ixnay/iden3Dev/github/zkrom/main/opcodes.zkasm" + "fileName": "/Users/ignasi/Documents/GitHub/hermez/prover/zkrom/main/opcodes.zkasm" } ], "labels": { "start": 0, - "txLoopRLP": 48, - "endCheckRLP": 54, - "txLoop": 55, - "processTxEnd": 61, - "processTxsEnd": 62, - "appendTxs": 71, - "endAppendTxs": 77, - "longLoop": 110, - "longLoop2": 112, - "finalLoop": 144, - "loadTx_rlp": 146, - "longList": 158, - "shortList": 166, - "endList": 167, - "nonceREAD": 168, - "shortNonce": 178, - "endNonce": 186, - "gasPriceREAD": 187, - "shortGasPrice": 197, - "endGasPrice": 204, - "gasREAD": 205, - "shortGas": 215, - "endGas": 222, - "toREAD": 223, - "noTo": 235, - "shortTo": 237, - "endTo": 246, - "valueREAD": 246, - "shortValue": 256, - "endValue": 263, - "dataREAD": 264, - "veryShortData": 277, - "shortData": 282, - "longData": 284, - "readData": 292, - "readDataFinal": 304, - "endData": 315, - "chainREAD": 315, - "shortChainId": 325, - "endChainId": 332, - "rREADTx": 347, - "sREADTx": 354, - "vREADTx": 361, - "invalidTxRLP": 373, - "funcECRECOVER": 374, - "endECRECOVER": 391, - "SHA256": 393, - "SHA256LoopData": 397, - "SHA256EndLoopData": 403, - "SHA256DigestReturn": 407, - "RIPEMD160": 414, - "RIPEMD160LoopData": 418, - "RIPEMD160EndLoopData": 424, - "RIPEMD160DigestReturn": 428, - "IDENTITY": 435, - "MODEXP": 435, - "ECADD": 435, - "ECMUL": 435, - "ECPAIRING": 435, - "BLAKE2F": 435, - "BLAKE2FLoopData": 440, - "BLAKE2FEndLoopData": 446, - "BLAKE2FDigestReturn": 450, - "BLAKE2Fend": 463, - "preEnd": 466, - "preEndLastCtx": 473, - "selectorPrecompiled": 474, - "processTx": 483, - "check_defaultChainId": 498, - "endCheckChainId": 501, - "addGas": 541, - "loopBytes": 545, - "add4Gas": 552, - "add16Gas": 554, - "txType": 556, - "checkTxType": 566, - "getContractAddress": 571, - "endContractAddress": 586, - "deploy": 592, - "readDeployBytecode": 598, - "callContract": 610, - "readByteCode": 613, - "readCode": 623, - "endCode": 626, - "endDeploy": 629, - "endByteCode": 638, - "moveBalances": 638, - "refundGas": 671, - "terminateTX": 703, - "invalidTx": 704, - "invalidTxOrigin": 708, - "ca2": 710, - "endca2": 715, - "copySP": 716, - "copyInit": 722, - "copyFinal": 731, - "copyInit2": 738, - "copyFinal2": 753, - "copyFinal22": 763, - "copyEnd": 776, - "getLenBytes": 778, - "getLenBytesLoop": 781, - "getLenEnd": 787, - "MSTORE32": 789, - "MSTORE322": 819, - "MSTOREX": 823, - "MSTOREX2": 841, - "MSTOREend": 859, - "MLOAD32": 864, - "MLOAD322": 880, - "MLOADX": 883, - "MLOADX2": 898, - "MLOADend": 912, - "ISEMPTY": 916, - "ISEMPTYSet1": 930, - "ISEMPTYSet0": 932, - "ISEMPTYEnd": 934, - "gasSpendCallError": 939, - "gasSpendCallErrorEnd": 949, - "opSTOP": 956, - "opSTOPend": 965, - "opADD": 966, - "opMUL": 975, - "opSUB": 984, - "opSDIV": 994, - "opDIV": 994, - "opSMOD": 1004, - "opMOD": 1004, - "opADDMOD": 1014, - "opMULMOD": 1026, - "opEXP": 1038, - "set0": 1046, - "set1": 1048, - "opSLT": 1050, - "opLT": 1050, - "opSGT": 1056, - "opGT": 1056, - "opEQ": 1062, - "opISZERO": 1068, - "opAND": 1073, - "opOR": 1079, - "opXOR": 1085, - "opNOT": 1091, - "opBYTE": 1096, - "opSHR": 1104, - "opSHL": 1112, - "opSHA3": 1120, - "opSHA3Loop": 1129, - "opSHA3Final": 1138, - "opSHA3End": 1144, - "opADDRESS": 1152, - "opADDRESSdeploy": 1156, - "opADDRESSend": 1157, - "opBALANCE": 1160, - "opORIGIN": 1168, - "opCALLER": 1172, - "opCALLVALUE": 1176, - "opCALLDATALOAD": 1180, - "opCALLDATALOAD2": 1192, - "opCALLDATASIZE": 1204, - "opCALLDATACOPY": 1208, - "opCALLDATACOPYinit": 1217, - "opCALLDATACOPYfinal": 1235, - "opCALLDATACOPYxor": 1254, - "opCALLDATACOPYend": 1259, - "opCODESIZE": 1264, - "oopCODESIZEdep": 1274, - "opCODECOPY": 1278, - "opCODECOPYinit": 1291, - "opCODECOPYfinal": 1299, - "opCODECOPYend": 1304, - "opGASPRICE": 1308, - "opEXTCODESIZE": 1312, - "opEXTCODECOPY": 1322, - "opEXTCODECOPYinit": 1334, - "opEXTCODECOPYfinal": 1342, - "opEXTCODECOPYend": 1347, - "opRETURNDATASIZE": 1351, - "opRETURNDATACOPY": 1355, - "opRETURNDATACOPYinit": 1364, - "opRETURNDATACOPYfinal": 1375, - "opRETURNDATACOPYend": 1381, - "opEXTCODEHASH": 1385, - "opEXTCODEHASHinit": 1395, - "opEXTCODEHASHfinal": 1402, - "opEXTCODEHASHend": 1405, - "opBLOCKHASH": 1409, - "opCOINBASE": 1424, - "opTIMESTAMP": 1428, - "opNUMBER": 1432, - "opDIFFICULTY": 1436, - "opGASLIMIT": 1440, - "opCHAINID": 1444, - "opSELFBALANCE": 1448, - "opPOP": 1454, - "opMLOAD": 1457, - "opMSTORE": 1465, - "saveMemLength": 1474, - "opMSTORE8": 1480, - "opSLOAD": 1492, - "opSSTORE": 1501, - "deploymentSSTORE": 1510, - "opSSTOREinit": 1511, - "opSSTOREdif": 1522, - "opSSTOREdifA": 1526, - "opSSTOREdifAA": 1527, - "opSSTOREdifAB": 1529, - "opSSTOREdifA1": 1534, - "opSSTOREdifA12": 1538, - "opSSTOREdifA2": 1542, - "opSSTOREdifB": 1545, - "opSSTOREend": 1550, - "mloadContract": 1554, - "opSSTOREsr": 1555, - "opJUMP": 1558, - "opJUMPI": 1563, - "opPC": 1571, - "opMSIZE": 1574, - "opGAS": 1578, - "opJUMPDEST": 1581, - "opAuxPUSHA": 1583, - "opAuxPUSHB": 1588, - "opAuxPUSHC": 1601, - "opPUSH1": 1614, - "opPUSH2": 1618, - "opPUSH3": 1622, - "opPUSH4": 1626, - "opPUSH5": 1630, - "opPUSH6": 1634, - "opPUSH7": 1638, - "opPUSH8": 1642, - "opPUSH9": 1646, - "opPUSH10": 1650, - "opPUSH11": 1654, - "opPUSH12": 1658, - "opPUSH13": 1662, - "opPUSH14": 1666, - "opPUSH15": 1670, - "opPUSH16": 1674, - "opPUSH17": 1678, - "opPUSH18": 1682, - "opPUSH19": 1686, - "opPUSH20": 1690, - "opPUSH21": 1694, - "opPUSH22": 1698, - "opPUSH23": 1702, - "opPUSH24": 1706, - "opPUSH25": 1710, - "opPUSH26": 1714, - "opPUSH27": 1718, - "opPUSH28": 1722, - "opPUSH29": 1726, - "opPUSH30": 1730, - "opPUSH31": 1734, - "opPUSH32": 1738, - "opDUP1": 1742, - "opDUP2": 1747, - "opDUP3": 1753, - "opDUP4": 1759, - "opDUP5": 1765, - "opDUP6": 1771, - "opDUP7": 1777, - "opDUP8": 1783, - "opDUP9": 1789, - "opDUP10": 1795, - "opDUP11": 1801, - "opDUP12": 1807, - "opDUP13": 1813, - "opDUP14": 1819, - "opDUP15": 1825, - "opDUP16": 1831, - "opSWAP1": 1837, - "opSWAP2": 1844, - "opSWAP3": 1853, - "opSWAP4": 1862, - "opSWAP5": 1871, - "opSWAP6": 1880, - "opSWAP7": 1889, - "opSWAP8": 1898, - "opSWAP9": 1907, - "opSWAP10": 1916, - "opSWAP11": 1925, - "opSWAP12": 1934, - "opSWAP13": 1943, - "opSWAP14": 1952, - "opSWAP15": 1961, - "opSWAP16": 1970, - "opLOG0": 1979, - "opLOG1": 1991, - "opLOG2": 2003, - "opLOG3": 2015, - "opLOG4": 2027, - "opLOGLoop": 2039, - "opLOGFinal": 2045, - "opSaveTopicsInit": 2047, - "opSaveTopicsLoop": 2048, - "opLOGend": 2055, - "opCALL": 2059, - "opCALL2": 2072, - "opCALLend": 2102, - "opCALLCODE": 2106, - "opCALLCODEend": 2148, - "opRETURN": 2152, - "opRETURN32": 2166, - "opRETURNfinal": 2179, - "opRETURNend": 2185, - "opRETURNend2": 2193, - "opRETURNdeploy": 2197, - "opDELEGATECALL": 2199, - "opDELEGATECALLend": 2236, - "opSTATICCALL": 2240, - "opREVERT": 2281, - "opREVERTend": 2288, - "opSELFDESTRUCT": 2289, - "opINVALID": 2320, - "invalidStaticTx": 2321, - "gasSentWithCallA": 2327, - "invalidStaticTxEnd": 2328 + "txLoopRLP": 47, + "endCheckRLP": 53, + "txLoop": 54, + "processTxEnd": 60, + "processTxsEnd": 61, + "appendTxs": 70, + "endAppendTxs": 76, + "longLoop": 109, + "longLoop2": 111, + "finalLoop": 143, + "loadTx_rlp": 145, + "longList": 157, + "shortList": 165, + "endList": 166, + "nonceREAD": 167, + "shortNonce": 177, + "endNonce": 185, + "gasPriceREAD": 186, + "shortGasPrice": 196, + "endGasPrice": 203, + "gasREAD": 204, + "shortGas": 214, + "endGas": 221, + "toREAD": 222, + "noTo": 234, + "shortTo": 236, + "endTo": 245, + "valueREAD": 245, + "shortValue": 255, + "endValue": 262, + "dataREAD": 263, + "veryShortData": 276, + "shortData": 281, + "longData": 283, + "readData": 291, + "readDataFinal": 303, + "endData": 314, + "chainREAD": 314, + "shortChainId": 324, + "endChainId": 331, + "rREADTx": 346, + "sREADTx": 353, + "vREADTx": 360, + "invalidTxRLP": 372, + "funcECRECOVER": 373, + "endECRECOVER": 388, + "SHA256": 390, + "SHA256LoopData": 394, + "SHA256EndLoopData": 400, + "SHA256DigestReturn": 404, + "RIPEMD160": 411, + "RIPEMD160LoopData": 415, + "RIPEMD160EndLoopData": 421, + "RIPEMD160DigestReturn": 425, + "IDENTITY": 432, + "IDENTITY32": 440, + "IDENTITYfinal": 451, + "MODEXP": 456, + "MODEXPstoreX": 486, + "MODEXPgas": 487, + "MODEXPgas2": 491, + "MODEXPgas3": 498, + "MODEXPgas4": 500, + "MODEXPgasEnd": 502, + "MODEXPend": 505, + "ECADD": 507, + "ECADDend": 530, + "ECMUL": 531, + "ECMULend": 552, + "ECPAIRING": 553, + "ECPAIRINGadd": 558, + "ECPAIRINGpairing": 563, + "ECPAIRINGend": 571, + "BLAKE2F": 572, + "BLAKE2FLoopData": 576, + "BLAKE2FEndLoopData": 582, + "BLAKE2FDigestReturn": 586, + "BLAKE2Fend": 598, + "preEnd": 600, + "preEndFail": 607, + "preEndLastCtx": 613, + "selectorPrecompiled": 614, + "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 } } diff --git a/main/loadtx_rlp.zkasm b/main/loadtx_rlp.zkasm index a062611a..3b9a7c41 100644 --- a/main/loadtx_rlp.zkasm +++ b/main/loadtx_rlp.zkasm @@ -4,6 +4,7 @@ loadTx_rlp: ; We get a new hashId $ => E :MLOAD(lastHashIdUsed) E+1 => E :MSTORE(lastHashIdUsed) + ; Pointer to next RLP bytes to read 0 => C @@ -12,8 +13,8 @@ loadTx_rlp: ;;;;;;;;; 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -24,8 +25,8 @@ loadTx_rlp: longList: A - 0xf7 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -36,7 +37,7 @@ shortList: A - 0xc0 => A endList: - A + C :MSTORE(txListLength) + A + C :MSTORE(txRLPLength) ;;;;;;;;; @@ -46,8 +47,8 @@ endList: nonceREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -59,8 +60,8 @@ nonceREAD: shortNonce: A - 0x80 => D D :MSTORE(lengthNonce) - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -78,8 +79,8 @@ endNonce: gasPriceREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -91,8 +92,8 @@ gasPriceREAD: :JMP(invalidTxRLP) shortGasPrice: A - 0x80 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -111,8 +112,8 @@ endGasPrice: gasREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -123,8 +124,8 @@ gasREAD: :JMP(invalidTxRLP) shortGas: A - 0x80 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -141,8 +142,8 @@ endGas: toREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -156,13 +157,13 @@ toREAD: noTo: - 1 :MSTORE(txIsCreateContract) + 1 :MSTORE(isCreateContract) :JMP(endTo) shortTo: A - 0x80 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -181,8 +182,8 @@ endTo: valueREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -194,8 +195,8 @@ valueREAD: :JMP(invalidTxRLP) shortValue: A - 0x80 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -214,8 +215,8 @@ endValue: dataREAD: 1 => D 1024 => SP - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -228,33 +229,33 @@ dataREAD: :JMP(invalidTxRLP) veryShortData: - 1 :MSTORE(txNData) + 1 :MSTORE(txCalldataLen) 31 => D $ => A :SHL A :MSTORE(SP++) :JMP(endData) shortData: - A - 0x80 => B :MSTORE(txNData) + A - 0x80 => B :MSTORE(txCalldataLen) :JMP(readData) longData: A - 0xb7 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} A :HASHW(E) ; Main Hash C+D => C - A => B :MSTORE(txNData) + A => B :MSTORE(txCalldataLen) readData: 32 => D B - D :JMPC(readDataFinal) B - D :MSTORE(txDataRead) - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -268,8 +269,8 @@ readData: readDataFinal: B - 1 :JMPC(endData) B => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -290,8 +291,8 @@ endData: chainREAD: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -302,8 +303,8 @@ chainREAD: :JMP(invalidTxRLP) shortChainId: A - 0x80 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -318,12 +319,12 @@ endChainId: ;;;;;;;;; 2 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} - A - 0x8080 :JMPC(invalidTxRLP) + A - 0x8080 :JMPC(invalidTxRLP) ; // TODO: ${comp_eq(A, 0x8080)} 0x8080 - A :JMPC(invalidTxRLP) A :HASHW(E) C+D => C @@ -332,9 +333,9 @@ endChainId: ;; Size Verification ;;;;;;;;; C => A - $ => B :MLOAD(txListLength) + $ => B :MLOAD(txRLPLength) A - B :JMPC(invalidTxRLP) - B - A :JMPC(invalidTxRLP) + B - A :JMPC(invalidTxRLP) ; // TODO: ${comp_eq(A, 0x8080)} :HASHE(E) ;;;;;;;;; @@ -343,8 +344,8 @@ endChainId: rREADTx: 32 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -357,8 +358,8 @@ rREADTx: sREADTx: 32 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -371,8 +372,8 @@ sREADTx: vREADTx: 1 => D - $ => A :MLOAD(txsListLength) - $ => B :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => B :MLOAD(batchL2DataParsed) A - B - C - D :JMPC(invalidTxRLP) ${getTxs(p,D)} => A $${ p = p + D} @@ -382,8 +383,8 @@ vREADTx: ;;;;;;;;; ;; Update bytes read and txs to be processed ;;;;;;;;; - $ => A :MLOAD(batchL2DataRead) - A + C => A :MSTORE(batchL2DataRead) + $ => A :MLOAD(batchL2DataParsed) + A + C => A :MSTORE(batchL2DataParsed) $ => A :MLOAD(pendingTxs) A + 1 => A :MSTORE(pendingTxs) :JMP(txLoopRLP) diff --git a/main/main.zkasm b/main/main.zkasm index cc88b769..6d43c3bb 100644 --- a/main/main.zkasm +++ b/main/main.zkasm @@ -11,7 +11,6 @@ start: A :HASHW(0) A => SR - 32 => D ${getOldLocalExitRoot()} => A :HASHW(0) :MSTORE(oldLocalExitRoot) @@ -25,19 +24,19 @@ start: 1000 :MSTORE(defaultChainId) ; Hardcoded default chain id 0 :MSTORE(systemAddr) ; Hardcoded default system address - + ; // TODO: 0x0000000000000...000n --> different file ;100 :MSTORE(SLOAD_GAS) ;20000 :MSTORE(SSTORE_SET_GAS) ;2900 :MSTORE(SSTORE_RESET_GAS) ;15000 :MSTORE(SSTORE_CLEARS_SCHEDULE) - + ; // TODO: set gas vars in a different file a a parameters ${getNumBatch()} :MSTORE(numBatch) ${getTimestamp()} :MSTORE(timestamp) - ${getTxsLen()} :MSTORE(txsListLength) + ${getTxsLen()} :MSTORE(batchL2DataLength) - ; batch variables + ; batch variables TODO: ne file constants.zkasm 0 :MSTORE(batchDifficulty) 30000000 :MSTORE(batchGasLimit) @@ -48,7 +47,7 @@ start: ;;;;;;;;; $ => E :MLOAD(lastHashIdUsed) E+1 => E :MSTORE(lastHashIdUsed) - 32 => D + 32 => D ; //TODO: opt. no need set D to 32 $ => A :MLOAD(numBatch) A - 1 :HASHW(E) 0 :HASHW(E) ; Storage position of the batch hash @@ -72,7 +71,8 @@ start: :HASHE(E) $ => C :HASHR(E) ; Storage position of the current global exit root - ${getGlobalExitRootManagerAddr()} => A + ${getGlobalExitRootManagerAddr()} => A ;// TODO: constant + ; TODO: Constants in ZKASM compiler. such as: LEAF_TYPE_STO 3 => B $ => D :MLOAD(globalExitRoot) $ => SR :SSTORE @@ -80,6 +80,7 @@ start: ;;;;;;;;; ;; Prepare transaction loop ;;;;;;;;; + ; Store the lastHashIdUsed at lastTxHashId variable. We need this variable to know where to read the hash for each transaction at process_tx flow E :MSTORE(lastTxHashId) $ => A :MLOAD(lastCtxUsed) A :MSTORE(ctxTxToUse) @@ -90,8 +91,8 @@ txLoopRLP: $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) - $ => A :MLOAD(txsListLength) - $ => C :MLOAD(batchL2DataRead) + $ => A :MLOAD(batchL2DataLength) + $ => C :MLOAD(batchL2DataParsed) C - A :JMPC(loadTx_rlp) :JMP(endCheckRLP) @@ -131,9 +132,9 @@ processTxsEnd: E+1 => E :MSTORE(lastHashIdUsed) ;;;;;;;;; -;; Append TXs +;; Append TXs ; TODO: pointer depends on RLP loop ;;;;;;;;; - $ => B :MLOAD(txsListLength) + $ => B :MLOAD(batchL2DataLength) 0 => C $${p = 0} @@ -157,7 +158,7 @@ endAppendTxs: ;; Txs Size Verification ;;;;;;;;; C => A - $ :MLOAD(txsListLength), ASSERT + $ :MLOAD(batchL2DataLength), ASSERT ;;;;;;;;; ;; Check batchHashData diff --git a/main/opcodes.zkasm b/main/opcodes.zkasm index 725f368b..856c22fa 100644 --- a/main/opcodes.zkasm +++ b/main/opcodes.zkasm @@ -1,5 +1,7 @@ INCLUDE "utils.zkasm" - +; // TODO: handle error not enough stack to read at the beginning of each opcode +; // TODO: handle error not enough GAS (OOG) +; // TODO: handle error too much stack (stack over 1024 - stack overflow) opSTOP: $ => B :MLOAD(originCTX) ;last ctx B - 1 :JMPC(opSTOPend) @@ -8,7 +10,7 @@ opSTOP: GAS + B => GAS $ => SP :MLOAD(lastSP) $ => PC :MLOAD(lastPC) - 1 :MSTORE(SP++) + 1 :MSTORE(SP++) ; // TODO: call to an EOA address, what is going on ? :JMP(readCode) opSTOPend: @@ -55,7 +57,7 @@ opDIV: ${E%A} => C ${E/A} => B 0 => D - E :ARITH + E :ARITH ; TODO: Add --> LT(Residu < numToDiv) B :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) @@ -68,13 +70,13 @@ opSDIV: B => C $ => A :MLOAD(SP) :CALL(abs) - + ; //TODO: save contraints ${bitwise_xor(bitwise_xor(C, B), 1)} - 1 :JMPC(opSDIVNeg) ;0 negative, 1 positive ${E%A} => C ${E/A} => B 0 => D - E :ARITH - + E :ARITH ; TODO: Add --> LT(Residu < numToDiv) + B :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) @@ -82,8 +84,8 @@ opSDIVNeg: ${E%A} => C ${E/A} => B 0 => D - E :ARITH - B => A + E :ARITH ; TODO: Add --> LT(Residu < numToDiv) + B => A :CALL(ca2) A :MSTORE(SP++) GAS-5 => GAS @@ -124,7 +126,7 @@ opSMODNeg: ${E/A} => B 0 => D E :ARITH - C => A + C => A :CALL(ca2) A :MSTORE(SP++) GAS-5 => GAS @@ -133,12 +135,12 @@ opADDMOD: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP--) - ${A+B} => E + ${A+B} => E ; //TODO: ARITH $ => A :MLOAD(SP) ${E%A} => C ${E/A} => B 0 => D - E :ARITH + E :ARITH ; //TODO: Check residu C :MSTORE(SP++) GAS-8 => GAS :JMP(readCode) @@ -147,17 +149,17 @@ opMULMOD: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP--) - ${A*B} => E + ${A*B} => E ;//TODO: ARITH $ => A :MLOAD(SP) ${E%A} => C ${E/A} => B 0 => D - E :ARITH + E :ARITH ;//TODO: Check residu C :MSTORE(SP++) GAS-8 => GAS :JMP(readCode) -opEXP: +opEXP: ; //TODO: test exp == 0 SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP) @@ -171,20 +173,21 @@ opSIGNEXTEND: ; following this impl https://github.com/ethereumjs/ethereumjs-mon SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP) - ${comp_lt(A, 31)} - 1 :JMPC(opSIGNEXTENDEnd) - ${exp(2, A * 8 + 7)} => C ; signBit + ${comp_lt(A, 31)} - 1 :JMPC(opSIGNEXTENDEnd) + ${exp(2, A * 8 + 7)} => C ; signBit ; // TODO: ARITH ${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 + ${bitwise_and(B, C - 1)} => B ; // TODO: ARITH opSIGNEXTENDEnd: B :MSTORE(SP++) GAS-5 => GAS :JMP(readCode) +; // TODO: "set0" and "set1" move to utils set0: 0 :MSTORE(SP++) :JMP(readCode) @@ -193,7 +196,7 @@ set1: 1 :MSTORE(SP++) :JMP(readCode) -opSLT: +opSLT: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP) @@ -210,7 +213,7 @@ opLT: ${comp_lt(A, B)} :MSTORE(SP++) :JMP(readCode) -opSGT: +opSGT: SP - 1 => SP $ => A :MLOAD(SP--) $ => B :MLOAD(SP) @@ -281,6 +284,7 @@ opBYTE: ${bitwise_and(B, 255)} :MSTORE(SP++) :JMP(readCode) +; 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--) @@ -294,6 +298,7 @@ opSHR: ; //TODO: SHR byte by byte working fine. Not working when shifting bits. GAS-3 => GAS :JMP(readCode) +; 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--) @@ -307,14 +312,15 @@ opSHL: ; //TODO: SHL byte by byte working fine. Not working when shifting bits. GAS-3 => GAS :JMP(readCode) +; TODO: Adapt to multiplication ; 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 + ${D/8} => D ;// TODO: ARITH ${comp_gt(D, 32)} => B ${B * 32 + bitwise_xor(B, 1) * D} => D - + $ => A :MLOAD(SP) :CALL(abs) ; if more than 32 set to 32 @@ -324,6 +330,12 @@ opSAR: GAS-3 => GAS :JMP(readCode) +opSARNeg: + ${comp_gt(1, A) + A} => A ; TODO: add comments + ARITH + :CALL(ca2) + A :MSTORE(SP++) + GAS-3 => GAS + :JMP(readCode) opSHA3: SP - 1 => SP @@ -332,7 +344,7 @@ 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 + GAS - ${6*((C+31)/32)} => GAS ; dynamic_gas = dynamic_gas = 6 * minimum_word_size + memory_expansion_cost ; TODO: ARITH ; new hash id $ => B :MLOAD(lastHashIdUsed) B + 1 => B :MSTORE(lastHashIdUsed) @@ -365,17 +377,10 @@ opSHA3End: $ => B :MLOAD(memLength) B - E :JMPC(saveMemLength) :JMP(readCode) -opSARNeg: - ${comp_gt(1, A) + A} => A - :CALL(ca2) - A :MSTORE(SP++) - GAS-3 => GAS - :JMP(readCode) -;opKECCAK256: -; GAS - 30 - 6*data_size_words - mem_expansion_cost +; // TODO: check opcode with DelegateCall (storage or implementation address) opADDRESS: - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(opADDRESSdeploy) $ => A :MLOAD(txDestAddr) :JMP(opADDRESSend) @@ -416,11 +421,12 @@ opCALLVALUE: GAS-2 => GAS :JMP(readCode) +; // TODO: Check when a contract is deployed with CREATE opCALLDATALOAD: SP - 1 => SP $ => A :MLOAD(SP) ${A/32} => B - ${A%32} => A + ${A%32} => A ; //TODO: ARITH 0 - A :JMPC(opCALLDATALOAD2) SP => C 1024 + B => SP @@ -445,16 +451,17 @@ opCALLDATALOAD2: :JMP(readCode) opCALLDATASIZE: - $ => B :MLOAD(txNData) + $ => B :MLOAD(txCalldataLen) B :MSTORE(SP++) GAS-2 => GAS :JMP(readCode) +; // TODO: check overflow length datacopy opCALLDATACOPY: SP - 1 => SP - $ => E :MLOAD(SP--) ;destOffset - $ => B :MLOAD(SP--) ;offset - $ => C :MLOAD(SP) ;length + $ => E :MLOAD(SP--) ;destOffset - offset memory + $ => B :MLOAD(SP--) ;offset calldata + $ => C :MLOAD(SP) ;length calldata E+C :MSTORE(lastMemLength) GAS - 3 => GAS GAS - ${3*((C+31)/32)} => GAS @@ -518,8 +525,8 @@ opCALLDATACOPYend: ; missing verification --> hash table needed opCODESIZE: - $ => A :MLOAD(txIsCreateContract) - 0 - A :JMPC(oopCODESIZEdep) + $ => A :MLOAD(isCreateContract) + 0 - A :JMPC(opCODESIZEdep) $ => A :MLOAD(txDestAddr) 2 => B 0 => C @@ -529,22 +536,22 @@ opCODESIZE: GAS-2 => GAS :JMP(readCode) -oopCODESIZEdep: - $ => B :MLOAD(txNData) +opCODESIZEdep: ;//TODO: create/create2, constructor parameters, initBytcode vs deployed Bytecode + $ => B :MLOAD(txCalldataLen) B :MSTORE(SP++) GAS-2 => GAS :JMP(readCode) opCODECOPY: - $ => A :MLOAD(txIsCreateContract) - 0 - A :JMPC(opCALLDATACOPY) - $ => A :MLOAD(txDestAddr) + $ => A :MLOAD(isCreateContract) + 0 - A :JMPC(opCALLDATACOPY) ; //TODO: + $ => A :MLOAD(txDestAddr) ; //TODO: delegate call ? 2 => B 0 => C $ => A :SLOAD SP - 1 => SP - $ => E :MLOAD(SP--) ;destOffset - $ => B :MLOAD(SP--) ;offset + $ => E :MLOAD(SP--) ;destOffset, memory offset + $ => B :MLOAD(SP--) ;offset, bytecode offset $ => C :MLOAD(SP) ;length E+C :MSTORE(lastMemLength) GAS - 3 => GAS @@ -579,7 +586,7 @@ opGASPRICE: GAS-2 => GAS :JMP(readCode) -opEXTCODESIZE: +opEXTCODESIZE: ; // TODO: check precompiled? should return 0? SP - 1 => SP $ => A :MLOAD(SP) ${touchedAddress(A,CTX)} => D @@ -591,15 +598,15 @@ opEXTCODESIZE: GAS-100-D*2500 => GAS :JMP(readCode) -opEXTCODECOPY: +opEXTCODECOPY: ; // TODO: check precompiled? SP - 1 => SP $ => A :MLOAD(SP--) ;addr ${touchedAddress(A,CTX)} => D 2 => B 0 => C $ => A :SLOAD ;hash - $ => E :MLOAD(SP--) ;destOffset - $ => B :MLOAD(SP--) ;offset + $ => E :MLOAD(SP--) ;destOffset; memory offset + $ => B :MLOAD(SP--) ;offset ; bytecode offset $ => C :MLOAD(SP) ;length E+C :MSTORE(lastMemLength) GAS-100-D*2500 => GAS @@ -628,22 +635,25 @@ opEXTCODECOPYend: B - E :JMPC(saveMemLength) :JMP(readCode) +; // TODO: should read from return buffer opRETURNDATASIZE: $ => A :MLOAD(retLength) A :MSTORE(SP++) GAS - 2 => GAS :JMP(readCode) +; // TODO: check enough data, otherwise expection OOG +; // TODO: should read from return buffer opRETURNDATACOPY: SP - 1 => SP - $ => D :MLOAD(SP--) ;destOffset - $ => B :MLOAD(SP--) ;offset + $ => D :MLOAD(SP--) ;destOffset - destination memory + $ => B :MLOAD(SP--) ;offset - offset in return data ;TODO: offset is only offset or returndata + offset? $ => C :MLOAD(retOffset) ;RETURNDATA B + C => B ;RETURNDATA[offset:offset+length] - $ => C :MLOAD(SP) ;length + $ => C :MLOAD(SP) ;length - length return data GAS - 3 => GAS - GAS - ${3*((C+31)/32)} => GAS + GAS - ${3*((C+31)/32)} => GAS ; // TODO: ARITH B + C :MSTORE(lastMemLength) opRETURNDATACOPYinit: @@ -690,7 +700,7 @@ opEXTCODEHASHinit: 32 => D C - 1 :JMPC(opEXTCODEHASHend) C - 32 :JMPC(opEXTCODEHASHfinal) - ${getBytecode(A,p,D)} => B + ${getBytecode(A,p,D)} => B ; //TODO: add state machine :READ_BYTECODE(A, P) B :HASHW(E) C - D => C $${p = p + D} @@ -709,7 +719,14 @@ opEXTCODEHASHend: opBLOCKHASH: SP - 1 => SP - $ => A :MLOAD(SP) + GAS-20 => GAS + $ => A :MLOAD(SP) ; batch number + + ; Check batch number is lt current batch number, else return 0 + $ => B :MLOAD(numBatch) + B - A - 1 :JMPC(opBLOCKHASHzero) + + ; Create key for the batch hash mapping key $ => E :MLOAD(lastHashIdUsed) E+1 => E :MSTORE(lastHashIdUsed) 32 => D @@ -717,11 +734,20 @@ opBLOCKHASH: 0 :HASHW(E) ; Storage position of the batch hash :HASHE(E) $ => C :HASHR(E) + + ; Load value from hashed key $ => A :MLOAD(systemAddr) + ; Set B to 3 to load from storage of address stored in A 3 => B $ => E :SLOAD + + ; Store result value in the stack E :MSTORE(SP++) - GAS-20 => GAS + :JMP(readCode) + +; Handle when is asking for the hash of a not computed batch, return 0 +opBLOCKHASHzero: + 0 :MSTORE(SP++) :JMP(readCode) opCOINBASE: @@ -761,6 +787,7 @@ opCHAINID: GAS-2 => GAS :JMP(readCode) +; // TODO: check delegate call opSELFBALANCE: $ => A :MLOAD(txDestAddr) 0 => B,C @@ -795,6 +822,7 @@ opMSTORE: ;MSTORE 32 bytes B - E :JMPC(saveMemLength) :JMP(readCode) +; // TODO: move to utils saveMemLength: :CALL(saveMem) :JMP(readCode) @@ -825,12 +853,12 @@ opSLOAD: :JMP(readCode) opSSTORE: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => C :MLOAD(SP--) ;key $ => D :MLOAD(SP) ; new value - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(deploymentSSTORE) $ => A :MLOAD(storageAddr) :JMP(opSSTOREinit) @@ -845,7 +873,6 @@ opSSTOREinit: $ => SR :MLOAD(initSR) $ => B :SLOAD ;origin value $ => SR :MLOAD(auxSR) - ; TODO: check touched key / addr ${touchedStorageSlots(A,C,CTX)} => A GAS - A*2100 => GAS ${comp_eq(E, D)} - 1 :JMPC(opSSTOREdif) @@ -911,7 +938,7 @@ opSSTOREdifB: :JMP(opSSTOREend) opSSTOREend: - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(mloadContract) $ => A :MLOAD(storageAddr) :JMP(opSSTOREsr) @@ -924,23 +951,26 @@ opSSTOREsr: $ => SR :SSTORE :JMP(readCode) +; // TODO: Check error: addrOp("E") == 5B (JUMPDEST) opJUMP: SP - 1 => SP - $ => E :MLOAD(SP) + $ => E :MLOAD(SP) ; //TODO: $ => PC E => PC GAS - 8 => GAS :JMP(readCode) +; // TODO: Check error: addrOp("E") == 5B (JUMPDEST) opJUMPI: SP - 2 => SP $ => B :MLOAD(SP) GAS - 10 => GAS ${comp_gt(B, 0)} - 1 :JMPC(readCode) SP + 1 => SP - $ => E :MLOAD(SP--) + $ => E :MLOAD(SP--) ; //TODO: $ => PC E => PC :JMP(readCode) +; // TODO: check in YUL opPC: GAS - 2 => GAS PC :MSTORE(SP++) @@ -970,8 +1000,8 @@ opAuxPUSHA: opAuxPUSHB: SP :MSTORE(SPw) - $ => SP :MLOAD(SPr) - ${PC/32} => A + $ => SP :MLOAD(SPr) ; SPr == 1024 + ${PC/32} => A ; //TODO: ARITH SP + A => SP ${PC%32} => C A - ${(PC+D)/32} :JMPC(opAuxPUSHC) @@ -1000,193 +1030,193 @@ opAuxPUSHC: opPUSH1: 1 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH2: 2 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH3: 3 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH4: 4 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH5: 5 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH6: 6 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH7: 7 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH8: 8 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH9: 9 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH10: 10 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH11: 11 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH12: 12 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH13: 13 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH14: 14 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH15: 15 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH16: 16 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH17: 17 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH18: 18 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH19: 19 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH20: 20 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH21: 21 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH22: 22 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH23: 23 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH24: 24 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH25: 25 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH26: 26 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH27: 27 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH28: 28 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH29: 29 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH30: 30 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH31: 31 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) opPUSH32: 32 => D - $ => B :MLOAD(txIsCreateContract) + $ => B :MLOAD(isCreateContract) 0 - B :JMPC(opAuxPUSHB) :JMP(opAuxPUSHA) @@ -1491,9 +1521,10 @@ opSWAP16: GAS-3 => GAS :JMP(readCode) +; // TODO: save logs in memory and consolidate them once the tx is succesfull ; gas_cost = 375 + 375 * num_topics + 8 * data_size + mem_expansion_cost opLOG0: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => E :MLOAD(SP--) ; offset @@ -1507,7 +1538,7 @@ opLOG0: :JMP(opLOGLoop) opLOG1: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => E :MLOAD(SP--) ; offset @@ -1521,7 +1552,7 @@ opLOG1: :JMP(opLOGLoop) opLOG2: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => E :MLOAD(SP--) ; offset @@ -1535,7 +1566,7 @@ opLOG2: :JMP(opLOGLoop) opLOG3: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => E :MLOAD(SP--) ; offset @@ -1549,7 +1580,7 @@ opLOG3: :JMP(opLOGLoop) opLOG4: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => E :MLOAD(SP--) ; offset @@ -1592,8 +1623,10 @@ opLOGend: B - E :JMPC(saveMemLength) :JMP(readCode) +; // TODO Check with DElEGATE CALL txDestAddr/txSrcAddr ( same as other calls) +; // TODO check revert create opCREATE: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => A :MLOAD(SP--) ;value @@ -1608,14 +1641,15 @@ opCREATE: SP :MSTORE(lastSP) PC :MSTORE(lastPC) ;change new CTX - $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system + $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) - 1 :MSTORE(txIsCreateContract) + 1 :MSTORE(isCreateContract) $ => A :MLOAD(originAuxCTX) A :MSTORE(originCTX) B :MSTORE(txSrcAddr) B :MSTORE(txSrcOriginAddr) - C => GAS + ; TODO is not encesesaary to load and store GAS, bc is global var + C => GAS :CALL(copySP) B => A 1 => B ; Constant for nonce @@ -1625,7 +1659,7 @@ opCREATE: :CALL(getLenBytes) A :MSTORE(lengthNonce) $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => A :MLOAD(valueCall) A :MSTORE(txValue) ; TODO: memory? @@ -1633,6 +1667,16 @@ opCREATE: ; B - X :JMPC(saveMemLength) :JMP(txType) +; // TODO: Check returnOffset and returnSize parameters +; // Shpuld be set ? what happen if they are not set ? +; // Return buffer should be written always +; // If retOffet, retSize === 0 --> just not write in memory +; // Affects to opcodes related to RETURN +; // https://eips.ethereum.org/EIPS/eip-211 + +; TODO If inside a delegate/callcode, a call is made, the srcAddress +; Should be the previous `srcAddress` but not the `txDestAddr` +; TODO ALL calls, initSR context var opCALL: SP - 1 => SP CTX :MSTORE(originAuxCTX) @@ -1642,7 +1686,7 @@ opCALL: A :MSTORE(addrCall) $ => A :MLOAD(SP--) A :MSTORE(valueCall) - $ => B :MLOAD(staticCall) + $ => B :MLOAD(iSstaticCall) ; TODO isStaticCall B - 1 :JMPC(opCALL2) 0 - A :JMPC(invalidStaticTx) @@ -1671,14 +1715,16 @@ opCALL4: SP :MSTORE(lastSP) PC :MSTORE(lastPC) ;change new CTX - $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system + $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) CTX :MSTORE(currentCTX) $ => A :MLOAD(originAuxCTX) A :MSTORE(originCTX) B :MSTORE(txSrcAddr) D :MSTORE(txSrcOriginAddr) - ${copyTouchedAddress(A,CTX)} + ${copyTouchedAddress(A,CTX)} ; // TODO: Check security copy same addresses + ; // TODO: copyTouchedAddress once the depth CTX is returned + ; // TODO: subcontext ? $ => A :MLOAD(addrCall) A :MSTORE(txDestAddr) A :MSTORE(storageAddr) @@ -1689,23 +1735,26 @@ opCALL4: A :MSTORE(txValue) 0 - ${comp_eq(0, A)} :JMPC(opCALLend) GAS - 9000 => GAS + ; // TODO: usage of ISEMPTY and add 25000 if needed ; if is_empty(target_addr) (forcing a new account to be created) ; GAS - 25000 => GAS opCALLend: - :CALL(gasSpendCallError) + :CALL(computeGasSendCall) $ => CTX :MLOAD(originCTX) GAS - A :MSTORE(gasCTX) $ => CTX :MLOAD(currentCTX) A => GAS $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => E :MLOAD(argsOffsetCall) ;offset - $ => C :MLOAD(argsLengthCall) ;length + $ => C :MLOAD(argsLengthCall) ;length ; // TODO: duplicate MLOAD :CALL(copySP) :JMP(txType) -opCALLCODE: +; TODO if theres a delegate call inside a callCode, who is the msg.sender? +; should be the caller of the callCode? ( but we do not store this info yet) +opCALLCODE: ; TODO check staticCall SP - 1 => SP CTX :MSTORE(originAuxCTX) $ => A :MLOAD(SP--) @@ -1740,7 +1789,7 @@ opCALLCODE3: SP :MSTORE(lastSP) PC :MSTORE(lastPC) ;change new CTX - $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system + $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) CTX :MSTORE(currentCTX) $ => A :MLOAD(originAuxCTX) @@ -1757,39 +1806,44 @@ opCALLCODE3: $ => A :MLOAD(valueCall) A :MSTORE(txValue) A - 1 :JMPC(opCALLCODEend) + ; Substract gas if the call has value GAS - 9000 => GAS ; TODO: check gas_sent_with_call opCALLCODEend: - :CALL(gasSpendCallError) + :CALL(computeGasSendCall) $ => CTX :MLOAD(originCTX) GAS - A :MSTORE(gasCTX) $ => CTX :MLOAD(currentCTX) A => GAS $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => E :MLOAD(argsOffsetCall) ;offset $ => C :MLOAD(argsLengthCall) ;length :CALL(copySP) :JMP(txType) +; // TODO: Redo to copy "return buffer" ;TODO RETURN + 32 bytes opRETURN: SP - 1 => SP $ => E :MLOAD(SP--) ;offset $ => C :MLOAD(SP) ;length E+C :MSTORE(lastMemLength) - $ => D :MLOAD(txIsCreateContract) + $ => D :MLOAD(isCreateContract) 0 - D :JMPC(opRETURNdeploy) $ => B :MLOAD(originCTX) ;last ctx B - 1 :JMPC(opRETURNend2) CTX :MSTORE(currentCTX) $ => CTX :MLOAD(originCTX) $ => B :MLOAD(gasCTX) + ; TODO Should be substracted first the gas B + GAS => GAS $ => B :MLOAD(retOffset) + ; TODO Origin memory len != return memory len ? $ => CTX :MLOAD(currentCTX) +; Copy from memory current CTX to memory origin CTX opRETURN32: C - 1 :JMPC(opRETURNend) C - 32 :JMPC(opRETURNfinal) @@ -1823,6 +1877,7 @@ opRETURNend: B - E :JMPC(saveMemLength) :JMP(readCode) +; Return to last CTX opRETURNend2: $ => E :MLOAD(lastMemLength) $ => B :MLOAD(memLength) @@ -1830,11 +1885,13 @@ opRETURNend2: :JMP(endCode) opRETURNdeploy: +; TODO check what does return? what assures returned_code_size is correct? GAS - 200 * C => GAS ;code_deposit_cost = 200 * returned_code_size $ => B :MLOAD(originCTX) ;last ctx 0 - B :JMPC(opRETURNcreate) :JMP(endCode) +; TODO: not in RETURN, but in CREATE process opRETURNcreate: $ => A :MLOAD(txSrcAddr) $ => D :MLOAD(txNonce) @@ -1893,7 +1950,7 @@ opRETURNcreateEnd: $ => PC :MLOAD(lastPC) A :MSTORE(SP++) :JMP(readCode) - +; TODO if theres a delegate call, there should be not moveBalances opDELEGATECALL: SP - 1 => SP CTX :MSTORE(originAuxCTX) @@ -1942,7 +1999,7 @@ opDELEGATECALL3: ${touchedAddress(A,CTX)} => D ;gas_cost = base_gas + gas_sent_with_call GAS-100-D*2500 => GAS - :CALL(gasSpendCallError) + :CALL(computeGasSendCall) $ => CTX :MLOAD(originCTX) GAS - A :MSTORE(gasCTX) $ => CTX :MLOAD(currentCTX) @@ -1950,7 +2007,7 @@ opDELEGATECALL3: opDELEGATECALLend: $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => E :MLOAD(argsOffsetCall) ;offset $ => C :MLOAD(argsLengthCall) ;length :CALL(copySP) @@ -1958,8 +2015,10 @@ opDELEGATECALLend: ; B - X :JMPC(saveMemLength) :JMP(txType) +; // TODO Check with DElEGATE CALL txDestAddr/txSrcAddr ( same as other calls) +; // TODO check revert create opCREATE2: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) SP - 1 => SP $ => A :MLOAD(SP--) ;value @@ -1975,15 +2034,16 @@ opCREATE2: SP :MSTORE(lastSP) PC :MSTORE(lastPC) ;change new CTX - $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system + $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) - 1 :MSTORE(txIsCreateContract) - 1 :MSTORE(create2) + 1 :MSTORE(isCreateContract) + 1 :MSTORE(isCreate2) D :MSTORE(salt) $ => A :MLOAD(originAuxCTX) A :MSTORE(originCTX) B :MSTORE(txSrcAddr) B :MSTORE(txSrcOriginAddr) + ; TODO is not encesesaary to load and store GAS, bc is global var C => GAS :CALL(copySP) B => A @@ -1994,7 +2054,7 @@ opCREATE2: :CALL(getLenBytes) A :MSTORE(lengthNonce) $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => A :MLOAD(valueCall) A :MSTORE(txValue) ; TODO: memory? @@ -2002,6 +2062,7 @@ opCREATE2: ; B - X :JMPC(saveMemLength) :JMP(txType) +;TODO same as other calls opSTATICCALL: SP - 1 => SP CTX :MSTORE(originAuxCTX) @@ -2033,13 +2094,13 @@ opSTATICCALL3: SP :MSTORE(lastSP) PC :MSTORE(lastPC) ;change new CTX - $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system + $ => A :MLOAD(lastCtxUsed) ; Set the CTX and store in system A+1 => CTX :MSTORE(lastCtxUsed) CTX :MSTORE(currentCTX) $ => A :MLOAD(originAuxCTX) A :MSTORE(originCTX) 0 :MSTORE(txValue) - 1 :MSTORE(staticCall) + 1 :MSTORE(iSstaticCall) B :MSTORE(txSrcAddr) D :MSTORE(txSrcOriginAddr) ${copyTouchedAddress(A,CTX)} @@ -2049,14 +2110,14 @@ opSTATICCALL3: ${touchedAddress(A,CTX)} => D ;gas_cost = base_gas + gas_sent_with_call GAS-100-D*2500 => GAS - :CALL(gasSpendCallError) + :CALL(computeGasSendCall) $ => CTX :MLOAD(originCTX) GAS - A :MSTORE(gasCTX) $ => CTX :MLOAD(currentCTX) A => GAS ; TODO: check gas_sent_with_call $ => A :MLOAD(argsLengthCall) - A :MSTORE(txNData) + A :MSTORE(txCalldataLen) $ => E :MLOAD(argsOffsetCall) ;offset $ => C :MLOAD(argsLengthCall) ;length :CALL(copySP) @@ -2065,6 +2126,10 @@ opSTATICCALL3: ; B - X :JMPC(saveMemLength) :JMP(txType) +; TODO revert should go back to the last state before a call +; TODO should be accounted the remaining gas to return to to the last ctx +; TODO logs, creates (shpoudl revert the call also?), calls(back to initSR) +; TODO initSR opREVERT: SP - 1 => SP $ => A :MLOAD(SP--) ;offset @@ -2084,8 +2149,10 @@ opREVERTend: :JMP(endCode) ; // TODO: handle if depth is over 0 +; DelegateCAll + selfdestruct, should destro the caller bytecode +; Test selfDestruct: sent value to another contract opSELFDESTRUCT: - $ => A :MLOAD(staticCall) + $ => A :MLOAD(iSstaticCall) 0 - A :JMPC(invalidStaticTx) 24000 :MSTORE(gasRefund) GAS - 5000 => GAS @@ -2136,16 +2203,22 @@ opSELFDESTRUCT: :JMP(endCode) +; TODO INVALID should go back to the last state before a call same as revert opINVALID: ; Equivalent to REVERT with 0,0 as stack parameters ; Remaining gas is consumed - $ => GAS :MLOAD(gasCTX) - CTX - 1 :JMPC(opINVALIDend) + 0 => GAS + ; if main context, halt execution + $ => B :MLOAD(originCTX) ;last ctx + B - 1 :JMPC(opINVALIDend) + ; Decrease context and continue execution + B => CTX + ; Set values from source context, no need to refund GAS because is 0 $ => SP :MLOAD(lastSP) $ => PC :MLOAD(lastPC) :JMP(readCode) - opINVALIDend: + ; TODO: should revert to initSR :JMP(endCode) invalidStaticTx: diff --git a/main/precompiled/blake2f.zkasm b/main/precompiled/blake2f.zkasm index 12d0645e..97566a56 100644 --- a/main/precompiled/blake2f.zkasm +++ b/main/precompiled/blake2f.zkasm @@ -1,7 +1,7 @@ BLAKE2F: GAS => D ; read data stored in SP + 1024 - $ => B :MLOAD(txNData) ; bytes to read + $ => B :MLOAD(txCalldataLen) ; bytes to read ${comp_eq(B, 213)} - 1 :JMPC(BLAKE2Fend) 1024 => SP diff --git a/main/precompiled/ripemd160.zkasm b/main/precompiled/ripemd160.zkasm index a8022e9f..6d53ecec 100644 --- a/main/precompiled/ripemd160.zkasm +++ b/main/precompiled/ripemd160.zkasm @@ -1,6 +1,6 @@ RIPEMD160: ; read data stored in SP + 1024 - $ => B :MLOAD(txNData) ; bytes to read + $ => B :MLOAD(txCalldataLen) ; bytes to read GAS - 600 => GAS ; gas static = 600 GAS - ${120*((B+31)/32)} => GAS ; dynamic_gas = 120 * data_word_size, data_word_size = (data_size + 31) / 32 1024 => SP diff --git a/main/precompiled/sha256.zkasm b/main/precompiled/sha256.zkasm index d73f356a..75a82c13 100644 --- a/main/precompiled/sha256.zkasm +++ b/main/precompiled/sha256.zkasm @@ -1,6 +1,6 @@ SHA256: ; read data stored in SP + 1024 - $ => B :MLOAD(txNData) ; bytes to read + $ => B :MLOAD(txCalldataLen) ; bytes to read GAS - 60 => GAS ; gas static = 60 GAS - ${12*((B+31)/32)} => GAS ; dynamic_gas = 12 * data_word_size, data_word_size = (data_size + 31) / 32 1024 => SP diff --git a/main/process_tx.zkasm b/main/process_tx.zkasm index c4c0b4ff..4fbf0f00 100644 --- a/main/process_tx.zkasm +++ b/main/process_tx.zkasm @@ -19,13 +19,14 @@ processTx: $ => A :ECRECOVER A :MSTORE(txSrcAddr) A :MSTORE(txSrcOriginAddr) - + ; TODO: bad signature ==> jump next txs ;;;;;;;;; ;; Store init state ;;;;;;;;; SR :MSTORE(initSR) +; TODO: Intrinsic checks ==> jump to next transaction, maintain SR ;;;;;;;; ; Check chainID --> //TODO: chainID is defined as 64 bits which does not fit in the Field. If we consider just 63 bits it could be done directly (A - B), saving the EQ comaprison ;;;;;;;; @@ -42,6 +43,7 @@ check_defaultChainId: endCheckChainId: +; //TODO: move touchedAddress after intrinsic checks ;;;;;;;; ; Touched Addresses ;;;;;;;; @@ -93,6 +95,9 @@ endCheckChainId: 0 => B,C $ => SR :SSTORE + ; TODO: check intrinsic --> value + gas + ; TODO: substract gas ==> initSR + ; TODO: create, do not have value ;;;;;;;;; ;; Store init state ;;;;;;;;; @@ -103,14 +108,14 @@ endCheckChainId: ;;;;;;;; ; Set the gas ;;;;;;;; - + ; // TODO: move at the beggining $ => GAS :MLOAD(txGas) GAS - 21000 => GAS ;;;;;;;; ; Gas calldata ;;;;;;;; - $ => A :MLOAD(txNData) + $ => A :MLOAD(txCalldataLen) A - 1 :JMPC(txType) 0 => D -1 => C @@ -122,8 +127,9 @@ addGas: :JMP(loopBytes) loopBytes: A - ${C*32} - D - 1 :JMPC(txType) + ; TODO: ARITH 32 - D - 1 :JMPC(addGas) - $ => B :MLOAD(SP) + $ => B :MLOAD(SP) ; TODO: mask to get byte per byte ${getByte(B,D)} => B D + 1 => D B - 1 :JMPC(add4Gas) @@ -140,10 +146,11 @@ txType: ;;;;;;;;;; ;;;;; Tx type ;;;;;;;;;; - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(getContractAddress) $ => A :MLOAD(txDestAddr) ${touchedAddress(A,CTX)} + ; // TODO: check "0x000..000" when coming from a CALL ${comp_lt(A, 10)} => B 0 - B :JMPC(selectorPrecompiled) ; precompiled smart contracts 2 => B @@ -153,7 +160,7 @@ txType: checkTxType: 32 - D :JMPC(moveBalances) - ${getByte(A,D)} => B + ${getByte(A,D)} => B ; // TODO: comparison with 0 0 - B :JMPC(callContract) D + 1 => D :JMP(checkTxType) @@ -162,7 +169,7 @@ getContractAddress: ; We get a new hashId $ => E :MLOAD(lastHashIdUsed) E+1 => E :MSTORE(lastHashIdUsed) - $ => A :MLOAD(create2) + $ => A :MLOAD(isCreate2) 0 - A :JMPC(create2) $ => A :MLOAD(txSrcAddr) $ => B :MLOAD(txNonce) @@ -200,11 +207,13 @@ endContractAddress: $ => A :SHL ; // TODO: Could be replaced by a bitwise and: ${bitwise_and(A, 2**160 - 1) $ => A :SHR A :MSTORE(createContractAddress) + ; TODO: Check nonce != 0 OR already_bytecode ==> same behaviour as fail constructor + ; TODO: check CREATE or deployment with constructor reverted :JMP(deploy) create2: - $ => C :MLOAD(txNData) - ${(C+31)/32} => A + $ => C :MLOAD(txCalldataLen) + ${(C+31)/32} => A ; // TODO: ARITH GAS - 6*A => GAS 1024 => SP :JMP(loopCreate2) @@ -221,7 +230,7 @@ loopCreate2: endloopCreate2: $ => A :MLOAD(SP) 32 - C => D - $ => A :SHR + $ => A :SHR ; //TODO: mask, division C => D A :HASHW(E) @@ -261,7 +270,8 @@ readDeployBytecode: $ => SP :MLOAD(SPr) SP + ${PC/32} => SP ${PC%32} => C - $ => B :MLOAD(txNData) + ; // TODO: ARITH + $ => B :MLOAD(txCalldataLen) B - PC :JMPC(endDeploy) $ => A :MLOAD(SP) $ => SP :MLOAD(SPw) @@ -281,23 +291,24 @@ readByteCode: 0 => C $ => A :SLOAD ${getBytecodeLength(A)} => B - B - PC :JMPC(endByteCode) + B - PC :JMPC(endByteCode) ; // TODO: should be removed ${getBytecode(A,PC)} => B ${addrOp(B)} => RR PC + 1 => PC :JMP(RR) - + ; // TODO: check PC opcode in YUL readCode: - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(readDeployBytecode) :JMP(readByteCode) endCode: - $ => A :MLOAD(txIsCreateContract) + $ => A :MLOAD(isCreateContract) 0 - A :JMPC(endDeploy) :JMP(endByteCode) endDeploy: + ; TODO:: increase nonce before reading the contructor opcodes ; Update contract nonce $ => A :MLOAD(createContractAddress) 1 => B ; Constant for nonce @@ -306,8 +317,9 @@ endDeploy: $ => SR :SSTORE ;if txValue != 0 --> move balance to contractAddress A :MSTORE(txDestAddr) - - ${getHashBytecode(A)} => D + ; TODO: same as nonce, should be done before + ; TODO zkasm should calculate the deployed bytecode + ${getHashBytecode(A)} => D ; TODO: chain poseidon to compute hashBytecode. Jordi checks 2 => B 0 => C $ => SR :SSTORE @@ -317,7 +329,7 @@ endByteCode: moveBalances: ;;;;;;;; -; evmCALL (Move Balances) +; evmCALL (Move Balances) ; TODO: move balances before processing ;;;;;;;; ; Decrement original balance @@ -418,10 +430,10 @@ refundGas: terminateTX: :JMP(processTxEnd) - +; TODO: should be an invalid intrinsic txs and (revert, out-of-gas, assert, invalid opcode ) invalidTx: $ => A :MLOAD(originCTX) - 0 - A :JMPC(invalidTxOrigin) + 0 - A :JMPC(invalidTxOrigin) ; TODO:: invalid call with depth > 0 $ => SR :MLOAD(initSR) :JMP(terminateTX) diff --git a/main/utils.zkasm b/main/utils.zkasm index ad4e15f6..a88afd08 100644 --- a/main/utils.zkasm +++ b/main/utils.zkasm @@ -9,7 +9,7 @@ VAR GLOBAL tmpVarE ; @info Get absolute value and sign ; @in A => number to convert ; @out A => Absolut value of A -; @out B => Sign of A +; @out B => Sign of A [1 if negative, 0 positive] abs: ${comp_gt(A, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)} => B B - 1 :JMPC(endca2) ; no conversion if positive number @@ -19,7 +19,7 @@ abs: ; @out A => number converted in ca2 ca2: ${bitwise_xor(A, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)} => A - ${A + 1} => A + ${A + 1} => A ; TODO: ARITH endca2: :RETURN @@ -29,7 +29,7 @@ copySP: CTX :MSTORE(currentCTX) 1024 => SP ;destOffset = 0 $ => CTX :MLOAD(originCTX) - $ => E :MLOAD(argsOffsetCall) ;offset + $ => E :MLOAD(argsOffsetCall) $ => C :MLOAD(argsLengthCall) ;length 0 - ${E%32} :JMPC(copyInit2) @@ -234,14 +234,14 @@ MLOAD32: D :MSTORE(tmpVarD) ${E%32} - 1 :JMPC(MLOAD322) ${E%32} => C - ${(E/32)*32} => E + ${(E/32)*32} => E ; // TODO: ARITH $ => A :MLOAD(MEM:E) C => D - $ => B :SHL + $ => B :SHL ;// TODO: Mask instead of shift 32 - C => D E + 32 => E $ => A :MLOAD(MEM:E) - $ => A :SHR + $ => A :SHR ;// TODO: Mask instead of shift A + B => A E + C => E ;new offset :JMP(MLOADend) @@ -336,8 +336,8 @@ ISEMPTYEnd: $ => D :MLOAD(tmpVarD) :RETURN -; @out A => min(requested_gas, all_but_one_64th) -gasSpendCallError: +; @out A => min( requested_gas , all_but_one_64th(63/64) ) +computeGasSendCall: ; save tmp vars B :MSTORE(tmpVarB) C :MSTORE(tmpVarC) @@ -349,11 +349,11 @@ gasSpendCallError: $ => B :MLOAD(gasCall) ; gas_sent_with_call = min(requested_gas, all_but_one_64th) ${comp_lt(A,B)} => D - 0 - D :JMPC(gasSpendCallErrorEnd) + 0 - D :JMPC(computeGasSendCallEnd) ; gas to substract B => A -gasSpendCallErrorEnd: +computeGasSendCallEnd: $ => B :MLOAD(tmpVarB) $ => C :MLOAD(tmpVarC) $ => D :MLOAD(tmpVarD) diff --git a/main/vars.zkasm b/main/vars.zkasm index dfeda0de..c0ed3830 100644 --- a/main/vars.zkasm +++ b/main/vars.zkasm @@ -1,6 +1,6 @@ VAR GLOBAL globalHash -VAR GLOBAL batchL2DataRead +VAR GLOBAL batchL2DataParsed VAR GLOBAL pendingTxs VAR GLOBAL lastCtxUsed VAR GLOBAL ctxTxToUse @@ -19,7 +19,7 @@ VAR GLOBAL timestamp VAR GLOBAL newStateRoot VAR GLOBAL batchHashData VAR GLOBAL globalExitRoot -VAR GLOBAL txsListLength +VAR GLOBAL batchL2DataLength VAR GLOBAL lastZKPC VAR GLOBAL currentCTX @@ -44,12 +44,12 @@ VAR CTX txValue VAR CTX txNonce VAR CTX lengthNonce VAR CTX txGasPrice -VAR CTX txNData +VAR CTX txCalldataLen VAR CTX txDataGas VAR CTX SPr VAR CTX SPw VAR CTX txChainId -VAR CTX txIsCreateContract +VAR CTX isCreateContract VAR CTX createContractAddress VAR CTX txSrcAddr VAR CTX txSrcOriginAddr @@ -58,7 +58,7 @@ VAR CTX txR VAR CTX txV VAR CTX gasRefund VAR CTX initSR -VAR CTX txListLength +VAR CTX txRLPLength VAR CTX txDataRead VAR CTX memLength VAR CTX lastMemLength @@ -66,12 +66,13 @@ VAR CTX auxSR VAR CTX retOffset VAR CTX retLength VAR CTX argsOffsetCall +; The source context of the current context VAR CTX originCTX VAR CTX lastSP VAR CTX lastPC VAR CTX numTopics -VAR CTX staticCall -VAR CTX create2 +VAR CTX iSstaticCall +VAR CTX isCreate2 VAR CTX salt VAR CTX gasCTX VAR CTX remainingGas \ No newline at end of file