-
Notifications
You must be signed in to change notification settings - Fork 140
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
cadence.Value.Type method back to original param list #1633
cadence.Value.Type method back to original param list #1633
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/memory-metering #1633 +/- ##
===========================================================
- Coverage 76.62% 76.36% -0.27%
===========================================================
Files 291 291
Lines 60092 60452 +360
===========================================================
+ Hits 46046 46163 +117
- Misses 12439 12678 +239
- Partials 1607 1611 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/memory-metering commit 33cd9e0 Results
|
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!
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 for adding these!
Closes https://github.com/dapperlabs/cadence-private-issues/issues/46
Description
The SDK etc use the cadence.Value and cadence.Type types. This PR undoes a change to the cadence.Value.Type method so the API will remain unchanged in the next Cadence release.
The cadence.Value.MeteredType method was added for when memory metering is needed.
Another change: I added compile-time interface type checking for the cadence.Value types. ex:
var _ Value = Void{}
.master
branchFiles changed
in the Github PR explorer