-
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
Improve migration #3169
Improve migration #3169
Conversation
do not assume the value was migrated to an ID capability, it may still be a path capability
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 1a8a668 Collapsed results for better readability
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3169 +/- ##
==========================================
- Coverage 80.62% 80.61% -0.01%
==========================================
Files 381 380 -1
Lines 92923 92943 +20
==========================================
+ Hits 74920 74929 +9
- Misses 15297 15306 +9
- Partials 2706 2708 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Supun Setunga <[email protected]>
@SupunS I added a bunch more changes, could you please have another look? Thank you for the lint fixes |
Work towards #3162
Description
Allow any capability value inside of a published value. Do not assume the value was migrated to an ID capability, it may still be a path capability
Allow value migrations to specify which domains they have to migrate. This allows other domains to be skipped.
Specify that the link value migration only has to migrate the
public
andprivate
domains.Kudos to @bluesign for proposing this optimization! 🙏
Remove the unusued
Migrate
function which iterates over and migrates a sequence of accounts.It is not used in the actual migration pipeline. Accounts are actually migrated concurrently.
master
branchFiles changed
in the Github PR explorer