Skip to content
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 1.0 state migrations: Update to new static types migration #5286

Merged
merged 5 commits into from
Jan 26, 2024

Conversation

turbolent
Copy link
Member

@turbolent turbolent commented Jan 24, 2024

Work towards onflow/cadence#3007

Add a utility code to easily define static type migration rules through a CSV file with Cadence syntax

@turbolent turbolent self-assigned this Jan 24, 2024
@turbolent turbolent requested a review from a team January 24, 2024 20:55
Base automatically changed from supun/cadence-migrations to feature/stable-cadence January 26, 2024 01:36
@turbolent turbolent force-pushed the bastian/update-cadence-migrations branch from 934b155 to 9b88742 Compare January 26, 2024 01:57
@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a89fb51) 55.63% compared to head (fa312fd) 48.49%.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence    #5286      +/-   ##
==========================================================
- Coverage                   55.63%   48.49%   -7.14%     
==========================================================
  Files                        1003      169     -834     
  Lines                       96739    14984   -81755     
==========================================================
- Hits                        53821     7267   -46554     
+ Misses                      38873     7215   -31658     
+ Partials                     4045      502    -3543     
Flag Coverage Δ
unittests 48.49% <ø> (-7.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@turbolent turbolent marked this pull request as ready for review January 26, 2024 02:02
Comment on lines +158 to +159
nil,
nil,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: here we'll probably want to read in a CSV file. Maybe this can be a flag?

Copy link
Member

@SupunS SupunS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@turbolent turbolent merged commit 8af35c0 into feature/stable-cadence Jan 26, 2024
50 of 51 checks passed
@turbolent turbolent deleted the bastian/update-cadence-migrations branch January 26, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants