diff --git a/main/opcodes/create-terminate-context.zkasm b/main/opcodes/create-terminate-context.zkasm index 8d2c2d7d..3aada918 100644 --- a/main/opcodes/create-terminate-context.zkasm +++ b/main/opcodes/create-terminate-context.zkasm @@ -995,11 +995,13 @@ opREVERT: D => C ; copy from memory current CTX to memory origin CTX +preREVERT32: + $ => B :MLOAD(retCallOffset) + opREVERT32: ; checks zk-counters %MAX_CNT_STEPS - STEP - 400 :JMPN(outOfCountersStep) - $ => B :MLOAD(retCallOffset) C - 1 :JMPN(opREVERTend) C - 32 :JMPN(opREVERTfinal) ; load first 32 bytes from memory at current CTX diff --git a/package.json b/package.json index 092aad60..db715c21 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "devDependencies": { "@0xpolygonhermez/zkevm-proverjs": "github:0xPolygonHermez/zkevm-proverjs#5cf87a1ea5f05dec875eb6d9934580a2f83c8438", - "@0xpolygonhermez/zkevm-testvectors": "github:0xPolygonHermez/zkevm-testvectors#feature/fix-jump-tests", + "@0xpolygonhermez/zkevm-testvectors": "github:0xPolygonHermez/zkevm-testvectors#feature/fix-revert-test", "chai": "^4.3.6", "chalk": "^3.0.0", "eslint": "^8.25.0",