-
Notifications
You must be signed in to change notification settings - Fork 138
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
Allow types to be removed in contract updates #3376
Conversation
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.
Nice!
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit eec5aee Collapsed results for better readability
|
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.
Looks good! Just one final comment regarding adding some additional tests
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.
Nice!
Closes #3210
Allow removing types during contract updates if they are replaced with a
#removedType(T)
pragma. This special pragma works as follows:T
cannot be added to a program that has a#removedType(T)
present#removedType(T)
prevents a new nested type calledT
from being added, and would permit an existing nested type calledT
to be removedmaster
branchFiles changed
in the Github PR explorer