Skip to content

Commit

Permalink
Merge pull request #61 from 0xPolygonHermez/feature/add-label
Browse files Browse the repository at this point in the history
add label writeBlockInfoRoot
  • Loading branch information
krlosMata authored Nov 29, 2023
2 parents 8242ab9 + 87d26d9 commit 294ed17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main/block-info.zkasm
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ finalConsolidateBlockInfoTree:
%ADDRESS_SYSTEM => A
%SMT_KEY_SC_STORAGE => B
%BLOCK_INFO_ROOT_STORAGE_POS => C
writeBlockInfoRoot:
$ => D :MLOAD(blockInfoSR)
$ => SR :SSTORE, RETURN

Expand Down
2 changes: 1 addition & 1 deletion main/process-change-l2-block.zkasm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ verifyTimestampAndL1InfoRoot:
$ => B :MLOAD(timestampL1InfoTree)
$ :LT, JMPC(invalidChangeL2Block, initSetGERL1InfoTree)

setNewTimestamp: ;make an utils function
setNewTimestamp:
; Set new timestamp
%TIMESTAMP_STORAGE_POS => C
%ADDRESS_SYSTEM => A
Expand Down

0 comments on commit 294ed17

Please sign in to comment.