-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix(protocol): fix suspend message #16548
Conversation
fix(protocol): fix suspend message
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
@@ -89,6 +91,14 @@ contract Bridge is EssentialContract, IBridge { | |||
uint64 _timestamp = _suspend ? type(uint64).max : uint64(block.timestamp); | |||
for (uint256 i; i < _msgHashes.length; ++i) { | |||
bytes32 msgHash = _msgHashes[i]; | |||
|
|||
// If not proven -> Don't do anything |
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.
which part of the change in this PR that you don't lik?
https://github.com/taikoxyz/taiko-mono/pull/16545/files
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.
which part of the change in this PR that you don't lik? https://github.com/taikoxyz/taiko-mono/pull/16545/files
There is no such change i dont like there. I even accepted that (on private repo), but my take is: the simpler the better if reaching the same end- goal, no ?
If this one does not solve a real issue, which the other does ! I'm fully OK closing this.
On the other hand, if this is the same as the other (which i think it is, or pretty close!) then i'd vouch for this simple one.
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.
Thanks, please review mine please.
Same as #16545 but a different way.
My last attempt to address comments from finding: https://github.com/taikoxyz/taiko-mono-private/pull/31#issuecomment-2024345097