-
Notifications
You must be signed in to change notification settings - Fork 139
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
Generalize the migrations and make common codes re-usable #2942
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! This is much simpler.
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!
…dence into supun/generalized-migration
…dence into supun/generalized-migration
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit 72ef64f Collapsed results for better readability
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #2942 +/- ##
==========================================================
- Coverage 80.13% 80.13% -0.01%
==========================================================
Files 348 348
Lines 82085 82075 -10
==========================================================
- Hits 65780 65770 -10
- Misses 13984 13985 +1
+ Partials 2321 2320 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b7319a6
to
5ba2efb
Compare
Description
Any new migration can implement the
Migration
interface (below), and only needs to implement the conversion logic for the value it migrates/converts. Any new migration doesn't need to worry about the iteration of storage and traversing containers typed values to reach an inner value that needs to be converted.master
branchFiles changed
in the Github PR explorer