[stable2412] Backport #7451 (#7487)
Backport #7451 into `stable2412` from skunert.
See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.
<!--
# To be used by other automation, do not modify:
original-pr-number: #${pull_number}
-->
---------
Co-authored-by:
Sebastian Kunert <skunert49@gmail.com>
Please register or sign in to comment