Skip to content

Internal crowdsales#1439

Merged
nventuro merged 2 commits into
OpenZeppelin:masterfrom
nventuro:internal-crowdsales
Oct 18, 2018
Merged

Internal crowdsales#1439
nventuro merged 2 commits into
OpenZeppelin:masterfrom
nventuro:internal-crowdsales

Conversation

@nventuro

Copy link
Copy Markdown
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

@come-maiz come-maiz left a comment

Copy link
Copy Markdown

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
Copy Markdown
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