AllowHrmpNotificationsFromRelayChain barrier for HRMP notifications from the relaychain (#4156)

This PR:
- introduces `AllowHrmpNotificationsFromRelayChain` barrier for allowing
HRMP notifications just from the relay chain (to fulfill safety
assumptions -
[see](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/src/v4/mod.rs#L532))
- sets it up for all testnet SP parachains

Continuation of: https://github.com/paritytech/polkadot-sdk/pull/3696
This commit is contained in:
Branislav Kontur
2024-04-24 16:23:23 +02:00
committed by GitHub
parent 8dc0b33788
commit ac473cfa7b
17 changed files with 310 additions and 140 deletions
+13
View File
@@ -0,0 +1,13 @@
title: "`AllowHrmpNotificationsFromRelayChain` barrier for HRMP notifications from the relaychain"
doc:
- audience: Runtime Dev
description: |
A new barrier, `AllowHrmpNotificationsFromRelayChain`, has been added.
This barrier can be utilized to ensure that HRMP notifications originate solely from the Relay Chain.
If your runtime relies on these notifications,
you can include it in the runtime's barrier type for `xcm_executor::Config`.
crates:
- name: staging-xcm-builder
bump: minor