Skip to content
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

Closed
wants to merge 18 commits into from
Closed

Conversation

adaki2004
Copy link
Contributor

@adaki2004 adaki2004 commented Mar 28, 2024

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

@adaki2004 adaki2004 requested review from Brechtpd, dantaik and cyberhorsey and removed request for Brechtpd, dantaik and cyberhorsey March 28, 2024 08:45
Copy link

openzeppelin-code bot commented Mar 28, 2024

fix(protocol): fix suspend message

Generated at commit: 41544aa67d5ac0ad137a5c4e1627655e7be11690

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
3
41
48
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@adaki2004 adaki2004 changed the title fix(protocol): fix suspend messag fix(protocol): fix suspend message Mar 28, 2024
@@ -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
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Base automatically changed from apply-private-changes to main March 28, 2024 12:25
@adaki2004 adaki2004 closed this Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants