Skip to content

[DO NOT MERGE] cherry-picks for polkadot-sdk stable2506#14

Closed
tmpolaczyk wants to merge 15 commits into
stable2506from
tanssi-polkadot-stable2506-tmp3
Closed

[DO NOT MERGE] cherry-picks for polkadot-sdk stable2506#14
tmpolaczyk wants to merge 15 commits into
stable2506from
tanssi-polkadot-stable2506-tmp3

Conversation

@tmpolaczyk
Copy link
Copy Markdown

No description provided.

girazoki and others added 15 commits September 16, 2025 16:39
This cherry-pick should match this pull request:

paritytech#1641
* modify inbound queue to support custom message processing

* passively test tuple trait implementation

* rename XCM to Xcm everywhere

* add comment explaining MessageProcessor
* add on_new_commitment hook

Missing dependencies xcm-emulator
…mulator (paritytech#8809)

With the addition of
paritytech#8083 there is no
possibility right now of making the xcm-executor work with custom
inherents. Custom inherents are usually driven by killing a storage item
of the form `wasInherentSet` `on_initialize` and asserting that such
inherent was set `on_finalize`. Before the xcm-emulator worked as these
hooks were running just for the ParachainSystem pallet, but now, they
run for all pallets.

My proposal is to add an item to the xcm-emulator parachain
configuration of the form `AdditionalInherentCode`, which simply
executes code that returns a `DispatchResult`. Whether users want to
mock a storage item or run the inherent is up to them, this hook would
allow them to do both.

This item is optional, meaning that if it is non-set then it would do
nothing

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
Bump bounded-collections dep from `0.2.3` to `0.3.2` based on the latest
[release](https://crates.io/crates/bounded-collections/0.3.2)

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
@tmpolaczyk
Copy link
Copy Markdown
Author

Final branch here: #15

@tmpolaczyk tmpolaczyk closed this Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants