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): set initial owner in the init() function without acceptOwnership #16071

Merged
merged 16 commits into from
Feb 26, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Feb 25, 2024

The PR looks extensive, but it's mostly grammatical changes.

Now, all contracts are Ownable2StepUpgradeable for better security. But when they are initialized (using init(...)), the initial owner doesn't have to call acceptOwnership to become the current owner (all new owners must do that though). These changes will make David C's deployment much easier.

@dantaik dantaik marked this pull request as ready for review February 25, 2024 22:28
@dantaik dantaik marked this pull request as draft February 25, 2024 23:01
@dantaik dantaik marked this pull request as ready for review February 25, 2024 23:10
@dantaik dantaik enabled auto-merge February 25, 2024 23:10
@dantaik dantaik changed the title fix(protocol): allow owner to be set properly with 2 step ownership fix(protocol): set owner in the init() function Feb 26, 2024
@dantaik dantaik requested a review from adaki2004 February 26, 2024 04:37
@dantaik dantaik changed the title fix(protocol): set owner in the init() function fix(protocol): set initial owner in the init() function without acceptOwnership Feb 26, 2024
@dantaik dantaik added this pull request to the merge queue Feb 26, 2024
Merged via the queue into main with commit 63cd7d3 Feb 26, 2024
6 checks passed
@dantaik dantaik deleted the improve_essential_contract branch February 26, 2024 11:34
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