Skip to content

[unstable2507] Backport #9516#9520

Merged
bkontur merged 2 commits into
unstable2507from
backport-9516-to-unstable2507
Sep 5, 2025
Merged

[unstable2507] Backport #9516#9520
bkontur merged 2 commits into
unstable2507from
backport-9516-to-unstable2507

Conversation

@paritytech-release-backport-bot

Copy link
Copy Markdown

Backport #9516 into unstable2507 from bkontur.

See the documentation on how to use this bot.

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)
@paritytech-release-backport-bot paritytech-release-backport-bot Bot requested a review from a team as a code owner August 19, 2025 16:14
@github-actions github-actions Bot added the A3-backport Pull request is already reviewed well in another branch. label Aug 19, 2025
@github-actions github-actions Bot requested a review from bkontur August 19, 2025 16:14
@paritytech-workflow-stopper

Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/17075459300
Failed job name: run-frame-omni-bencher

@bkontur bkontur enabled auto-merge (squash) August 20, 2025 08:00
@bkontur bkontur merged commit e139d6c into unstable2507 Sep 5, 2025
236 of 241 checks passed
@bkontur bkontur deleted the backport-9516-to-unstable2507 branch September 5, 2025 11:08
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants