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

Internal crowdsales #1439

Merged
merged 2 commits into from
Oct 18, 2018
Merged

Conversation

nventuro
Copy link
Contributor

Related to #1394, crowdsales are always extended (because the base contract remains abstract).

@nventuro nventuro added contracts Smart contract code. breaking change Changes that break backwards compatibility of the public API. labels Oct 18, 2018
@nventuro nventuro added this to the v2.0 milestone Oct 18, 2018
@nventuro nventuro requested a review from come-maiz October 18, 2018 16:04
Copy link
Contributor

@come-maiz come-maiz left a comment

Choose a reason for hiding this comment

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

I agree with the internals.
About the view additions, can you overrride a view function with a non-view function? I guess it would be even better if you can't because the validation functions should have no side-effects, and this would prevent people from doing crazy things. But it would have been nice this topic analyzed in a separate issue ;)

@nventuro
Copy link
Contributor Author

As far as I know you can't, which is sort of the idea :)

@nventuro nventuro merged commit d9fdffe into OpenZeppelin:master Oct 18, 2018
@nventuro nventuro deleted the internal-crowdsales branch October 18, 2018 19:36
come-maiz pushed a commit that referenced this pull request Oct 21, 2018
* Made some internal crowdsale methods internal.

* Made all Crowdsale constructors internal.

(cherry picked from commit d9fdffe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Changes that break backwards compatibility of the public API. contracts Smart contract code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants