-
Notifications
You must be signed in to change notification settings - Fork 180
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
Add cadence values migration #5192
Conversation
…ow-go into supun/atree-migration-cadence-1.0
b7d256f
to
baf218f
Compare
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.
Great work!
361727d
to
9eb4edb
Compare
a18c787
to
177c5c4
Compare
Could you please add a simple test case for the links/cap con migration? (also happy to add it) Basically, extend the transaction used for the snapshot to link a capability and save it to storage, then assert that after the migration the link became a cap con, and the capability can be still borrowed. |
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.
👏
cmd/util/ledger/migrations/test-data/cadence_values_migration/README.md
Outdated
Show resolved
Hide resolved
31b485d
to
e947745
Compare
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.
Great work! Just some last minor questions/concerns
cmd/util/cmd/execution-state-extract/execution_state_extract.go
Outdated
Show resolved
Hide resolved
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.
Great work!
re: onflow/cadence#3007: Do we need |
@turbolent Yeah, this PR was before the refactoring and also doesn't include changes introduced in onflow/cadence#3036. We would need to update the fvm side to match those API changes, when the Cadence version in bumped |
OK, I'll open a follow-up PR then |
…flow/flow-go into supun/cadence-migrations
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #5192 +/- ##
==========================================================
- Coverage 55.63% 50.47% -5.17%
==========================================================
Files 1002 196 -806
Lines 96497 17433 -79064
==========================================================
- Hits 53688 8799 -44889
+ Misses 38770 8026 -30744
+ Partials 4039 608 -3431
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Linter is reporting some issues: https://github.com/onflow/flow-go/actions/runs/7661655020/job/20883020316?pr=5192#step:5:27 |
1818f2e
to
039970c
Compare
Closes onflow/cadence#2990
Depends on #5290