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

Crowdsale inheritance order #1128

Merged
merged 2 commits into from
Aug 2, 2018

Conversation

nventuro
Copy link
Contributor

@nventuro nventuro commented Jul 29, 2018

Some derived Crowdsale contracts were impossible to build due to the specified inheritance order of the Crowdsales (see ##1124), this prevents that.

Fixes #1124.
Fixes #1110.

@nventuro nventuro added this to the v1.12.0 milestone Jul 29, 2018
@nventuro nventuro requested a review from frangio July 29, 2018 09:26
Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

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

Thanks @nventuro! I believe we should make the same change in FinalizableCrowdsale. Can you take a look at it?

@frangio
Copy link
Contributor

frangio commented Aug 2, 2018

Actually that's the issue that was reported in #1110. I thought this PR was fixing that one.

@frangio frangio modified the milestones: v1.12.0, v2.0 Aug 2, 2018
@nventuro
Copy link
Contributor Author

nventuro commented Aug 2, 2018

Huh, I somehow missed that issue, thanks!

@frangio frangio merged commit 3d86c58 into OpenZeppelin:master Aug 2, 2018
@nventuro nventuro deleted the crowdsale-inheritance branch August 2, 2018 20:57
frangio pushed a commit that referenced this pull request Aug 2, 2018
* Changed Crowdsale inheritance order.

* Changed FinalizableCrowdsale inheritance order.

(cherry picked from commit 3d86c58)
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Jun 21, 2021
this solves a solc compile error "TypeError: Linearization of inheritance graph impossible" by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Jun 21, 2021
this solves a solc compile error `TypeError: Linearization of inheritance graph impossible` by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Sep 3, 2021
this solves a solc compile error `TypeError: Linearization of inheritance graph impossible` by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Sep 14, 2021
this solves a solc compile error `TypeError: Linearization of inheritance graph impossible` by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Sep 23, 2021
this solves a solc compile error `TypeError: Linearization of inheritance graph impossible` by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
mattgstevens added a commit to fanzone-media/ERC725 that referenced this pull request Sep 23, 2021
this solves a solc compile error `TypeError: Linearization of inheritance graph impossible` by inheriting the "most base-like" contracts first to prevent errors from inheriting contract. See a similar fix here OpenZeppelin/openzeppelin-contracts#1128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug contracts Smart contract code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants