Skip to content

Commit

Permalink
Dont revert touched address on deploy collision
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Jun 11, 2024
1 parent 2be6d91 commit 1fe1e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion main/utils.zkasm
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,9 @@ stackUnderflow:
stackOverflow:
$${eventLog(onError, overflow)} :JMP(handleError)
deployAddressCollision:
$${eventLog(onError, invalidAddressCollision)} :JMP(handleError)
; In case deployAddressCollision error, touched addresses are not reverted
$${eventLog(onError, invalidAddressCollision)} :CALL(checkpointTouched)
:JMP(handleError)
invalidStaticTx:
$${eventLog(onError, invalidStaticTx)} :JMP(handleError)
invalidCodeSize:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@0xpolygonhermez/zkevm-commonjs": "github:0xPolygonHermez/zkevm-commonjs#v6.0.0-fork.9",
"@0xpolygonhermez/zkevm-proverjs": "github:0xPolygonHermez/zkevm-proverjs#39508f69cb191487a065ffbf76c647cd83b59720",
"@0xpolygonhermez/zkevm-testvectors": "github:0xPolygonHermez/zkevm-testvectors#v6.0.1-fork.9",
"@0xpolygonhermez/zkevm-testvectors": "github:0xPolygonHermez/zkevm-testvectors#feature/address-collision",
"chai": "^4.3.6",
"chalk": "^3.0.0",
"eslint": "^8.25.0",
Expand Down

0 comments on commit 1fe1e8f

Please sign in to comment.