-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Coretime chain] Add high assignment count mitigation to testnets (#6022
) Fixed in Polkadot and Kusama in polkadot-fellows/runtimes#434 and this PR just adds to testnets. We can handle a maximum of 28 assignments inside one XCM, while it's possible to have 80 (if a region is interlaced 79 times). This can be chunked on the coretime chain side but currently the scheduler on the relay makes assumptions that means we can't send more than one chunk for a given core. This just truncates the additional assignments until we can extend the relay to support this. This means that the first 27 assignments are taken, the final 28th is used to pad with idle to complete the mask (the relay also assumes that every schedule is complete). Any other assignments are dropped. --------- Co-authored-by: Kian Paimani <[email protected]>
- Loading branch information
1 parent
dbaa428
commit a3bca4b
Showing
5 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
title: '[Coretime chain] Add high assignment count mitigation to testnets' | ||
doc: | ||
- audience: Runtime User | ||
description: | | ||
We can handle a maximum of 28 assignments inside one XCM, while it's possible to have 80 (if a | ||
region is interlaced 79 times). This can be chunked on the coretime chain side but currently the | ||
relay does not support this. This PR truncates the additional assignments on Rococo and Westend | ||
to mitigate this until the relay is fixed. The first 27 assignments are taken, the final 28th is | ||
used to pad with idle to complete the mask. Any other assignments are dropped. | ||
crates: | ||
- name: coretime-rococo-runtime | ||
bump: patch | ||
- name: coretime-westend-runtime | ||
bump: patch |