-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Remove unnecessary virtual #3650
Conversation
Because this contract is not intended to be subclassed
Thank you @fulldecent. Our automated changelog check is a little simple and this was a false positive since it's not a user facing change. Can you remove the changelog entry? |
@frangio cool, all done, other checks passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Woohoo, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2022 OpenZeppelin Contracts Contributor: Head on over to GitPOAP.io and connect your GitHub account to mint! |
This PR removes unnecessary
virtual
in all mock contracts where those mocks are not intended to be subclassed.This reduces unnecessary surface area of those mocks and also reduces the risk of somebody seeing those mocks and thinking they are intended to be subclassed.