[unstable2507] Backport #9516#9520
Merged
Merged
Conversation
Discovered by: polkadot-fellows/runtimes#853 It’s likely that this PR: [https://github.com/paritytech/polkadot-sdk/pull/7720](https://github.com/paritytech/polkadot-sdk/pull/7720) broke weight generation/compilation. For example, for `promote_fast`, the weight file is [generated with `u32`—see the screenshot below](polkadot-fellows/runtimes@3cc49e4#diff-35dfb1113ee202c1375fb2d8982d02a665e5857fec2e0a07b684494c056c8901L190-R194), which causes compilation errors when `MaxRank = u16`. <img width="541" height="67" alt="image" src="https://github.com/user-attachments/assets/03bb3d90-7c09-46c7-8990-21878fc50c61" /> ## TODO - [x] find possible fix --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 4c8ccc5)
1 task
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
bkontur
approved these changes
Aug 20, 2025
bkontur
added a commit
to bkontur/runtimes
that referenced
this pull request
Sep 8, 2025
bkontur
added a commit
to bkontur/runtimes
that referenced
this pull request
Sep 8, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport #9516 into
unstable2507from bkontur.See the documentation on how to use this bot.