-
Notifications
You must be signed in to change notification settings - Fork 81
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
fix: collator selection v2 storage migration #1862
fix: collator selection v2 storage migration #1862
Conversation
As a workaround, can we later force v1 again with a new migration? |
Then, we could also just not bump the storage version with this migration. |
Does that make sense to you? Or could it lead to future issues? I guess when the correct 1.11 migration enters, then it will migrate 0 entries and everything will work |
Since we drain the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## polkadot-v1.7.2 #1862 +/- ##
===================================================
- Coverage 46.93% 46.68% -0.26%
===================================================
Files 166 167 +1
Lines 13048 13121 +73
===================================================
+ Hits 6124 6125 +1
- Misses 6924 6996 +72 ☔ View full report in Codecov by Sentry. |
Great! And we do no longer get errors from try-runtime |
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.
LGTM!
Thanks for your good research about this topic |
@wischli does it mean this PR is no longer needed? |
…t-v1.7.2-collator-selection
We still need the migration but the diff is now only 3 lines :) |
Description
Fixes unmentioned breaking storage change in collator selection pallet by manually backporting an improved version of their fix.
Unfortunately, we bump the storage version here higher than the max version of the
[email protected]
such that try-runtime throws an error:This will lead to unsuccessful try-runtime CI in our codebase until we upgrade to SDK v1.11.0. I still prefer this over applying the migration and staying at v1. WDYT @lemunozm @mustermeiszer?
Checklist: