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

feat(protocol): use Ownable2StepUpgradeable for better security #16029

Merged
merged 5 commits into from
Feb 24, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Feb 24, 2024

This is to address the findings from Quill Audit:

Description:

Using single step ownership transfer is not secure, the existing owner can assign any new address as owner, and lose the ownership if the assigned address is incorrect address which can’t perform actions.
Ownable2StepUpgradable provides added safety where the pending owner can accept the ownership due to its two-step process to transfer the ownership.

Recommendation(s):

Consider using Ownable2StepUpgradable instead of OwnableUpgradable.

@dantaik dantaik marked this pull request as ready for review February 24, 2024 02:46
@dantaik dantaik enabled auto-merge February 24, 2024 03:29
@dantaik
Copy link
Contributor Author

dantaik commented Feb 24, 2024

@davidtaikocha do you need to modify any scripts?

@dantaik dantaik added this pull request to the merge queue Feb 24, 2024
Merged via the queue into main with commit 9cbfd08 Feb 24, 2024
6 checks passed
@dantaik dantaik deleted the Ownable2StepUpgradeable branch February 24, 2024 11:53
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