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 |
|
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
pallet-collator-selection@polkadot-v1.7.2such 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: