-
Notifications
You must be signed in to change notification settings - Fork 395
fix: OZ ZKsync OS non interop v30, N-15 #1866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -190,6 +190,9 @@ contract ExecutorFacet is ZKChainBase, IExecutor { | |
| if (_newBatch.lastBlockTimestamp > block.timestamp + COMMIT_TIMESTAMP_APPROXIMATION_DELTA) { | ||
| revert L2TimestampTooBig(); | ||
| } | ||
| if (_newBatch.firstBlockTimestamp >= _newBatch.lastBlockTimestamp) { | ||
| revert NonIncreasingTimestamp(); | ||
|
Comment on lines
+193
to
+194
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The new NonIncreasingTimestamp guard now reverts when Useful? React with 👍 / 👎. |
||
| } | ||
| if (_newBatch.chainId != s.chainId) { | ||
| revert IncorrectBatchChainId(_newBatch.chainId, s.chainId); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we are going to merge this, but if we are - we need to use > here