Commit ea514a6
fix(stable2512): adapt EnableAsyncBackingAndCoretime migration to stable2512 scheduler
After merging upgrade/1.12.0-all, the free-stuck-AvailabilityCores code from
PR #29 doesn't compile on stable2512 — the upstream paritytech#4937 rewrite removed
`AvailabilityCores` + `CoreOccupied` storage from `pallet_scheduler`. Only
`ClaimQueue` survives, now storing `VecDeque<Assignment>` instead of
`VecDeque<ParasEntryType<T>>`.
On stable2512 the stuck-core scenario doesn't manifest either: paritytech#4937 fixes the
fragment-chain fork deadlock natively, so candidates always reach availability
under the normal flow. We still kill `ClaimQueue` in the migration so the
scheduler rebuilds from the just-updated `ActiveConfig`.
Also dedupes `scale-type-resolver` from Cargo.lock (duplicate entry introduced
by the merge).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 6d1159b commit ea514a6
2 files changed
Lines changed: 9 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2437 | 2437 | | |
2438 | 2438 | | |
2439 | 2439 | | |
2440 | | - | |
2441 | | - | |
2442 | | - | |
2443 | | - | |
2444 | | - | |
2445 | | - | |
2446 | | - | |
2447 | | - | |
2448 | | - | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
2456 | | - | |
2457 | | - | |
2458 | | - | |
2459 | | - | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
2460 | 2445 | | |
2461 | 2446 | | |
2462 | 2447 | | |
2463 | 2448 | | |
2464 | 2449 | | |
2465 | 2450 | | |
2466 | | - | |
| 2451 | + | |
2467 | 2452 | | |
2468 | 2453 | | |
2469 | 2454 | | |
2470 | | - | |
| 2455 | + | |
2471 | 2456 | | |
2472 | 2457 | | |
2473 | 2458 | | |
| |||
0 commit comments