You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change public and private keywords to external and internal
Motivation
private is a confusing keyword for newcomers, as it doesn't mean what it should in typical contexts. Also, our use of public is more consistent with Solidity's external modifier, as we do additional checks, so it makes sense to change that too
Simple Summary
Change
public
andprivate
keywords toexternal
andinternal
Motivation
private
is a confusing keyword for newcomers, as it doesn't mean what it should in typical contexts. Also, our use ofpublic
is more consistent with Solidity'sexternal
modifier, as we do additional checks, so it makes sense to change that tooSpecification
Just change the decorators
Backwards Compatibility
This would not be backwards compatible
Dependencies
No dependencies
References
No references
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: