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 governor bravo vulnerability #15947

Merged
merged 4 commits into from
Feb 20, 2024
Merged

Conversation

adaki2004
Copy link
Contributor

@adaki2004 adaki2004 commented Feb 20, 2024

So one (valid) argument to upgrade contracts to OZ 4.8.3 is the vulnerability described here:
https://github.com/taikoxyz/taiko-mono/security/dependabot/114

But moving to a newer version could be troublesome, as we saw (with breaking changes, not working deployment scripts) so here i'm cherry-picking the v4.8.3 patch.

This way we can still be (safely) compatible with compound.

@adaki2004 adaki2004 changed the title fix(protocol): fix governor bravo vulnerability fix(protocol): fix governor bravo vulnerability v1 Feb 20, 2024
@adaki2004 adaki2004 changed the title fix(protocol): fix governor bravo vulnerability v1 fix(protocol): fix governor bravo vulnerability Feb 20, 2024
@adaki2004
Copy link
Contributor Author

adaki2004 commented Feb 20, 2024

@dantaik Removing GovernorCompatibilityBravoUpgradeable not advisable - as it implements some functions of IGovernorUpgradeable what GovernorUpgradeable does not implement.. So we would see more headache doing that.

@dantaik dantaik added this pull request to the merge queue Feb 20, 2024
Merged via the queue into main with commit a631be6 Feb 20, 2024
6 checks passed
@dantaik dantaik deleted the fix_governor_bravo_issue branch February 20, 2024 13:00
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.

3 participants