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: owner (alternative) #67

Closed
wants to merge 3 commits into from
Closed

Feat: owner (alternative) #67

wants to merge 3 commits into from

Conversation

MathisGD
Copy link
Contributor

@MathisGD MathisGD commented Jul 6, 2023

Alternative to #43, included in the contract.

@MathisGD MathisGD mentioned this pull request Jul 6, 2023
Copy link
Collaborator

@Rubilmax Rubilmax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This alterantive has the same drawbacks than highlighted in #43 (comment).

I am against such an implementation.

@MathisGD
Copy link
Contributor Author

MathisGD commented Jul 6, 2023

@MerlinEgalite @QGarchery thoughts ?

@MathisGD
Copy link
Contributor Author

MathisGD commented Jul 6, 2023

Reasons why I prefer this version:

  • it is shorter.
  • we don't need two step ownable (I'm not even sure that we need transferOwnership, that's why).
  • having all the storage at the same place is great.

@QGarchery
Copy link
Contributor

Both are pretty short and easy to understand, but if I had to choose I'd go for this version. It has the advantage of keeping the storage at the same place, and we don't get much by regrouping the functionalities in this case

@MerlinEgalite
Copy link
Contributor

I don't have a strong opinion on this. I can update my PR or @MathisGD you can update yours and I'll need to update the base of the PRs on top of mine

@MathisGD
Copy link
Contributor Author

MathisGD commented Jul 6, 2023

Closed in favor of #43, which in the end does the same thing

@MathisGD MathisGD closed this Jul 6, 2023
@MathisGD MathisGD deleted the feat/owner-alternative branch July 6, 2023 14:29
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.

4 participants