mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
Governance can halt and resume Rococo <> Wococo bridge pallets over XCM (#2712)
This PR adds possibility for relay chain governance to halt and resume bridge pallets using XCM calls. Following calls are enabled over XCM for the `root` origin: `pallet_bridge_grandpa::set_operating_mode`, `pallet_bridge_parachains::set_operating_mode` and `pallet_bridge_messages::set_operating_mode`.
This commit is contained in:
committed by
GitHub
parent
11edbaf6c0
commit
b58f0aef2d
@@ -176,7 +176,19 @@ impl Contains<RuntimeCall> for SafeCallFilter {
|
||||
RuntimeCall::BridgeRococoGrandpa(pallet_bridge_grandpa::Call::<
|
||||
Runtime,
|
||||
crate::bridge_to_rococo_config::BridgeGrandpaRococoInstance,
|
||||
>::initialize { .. })
|
||||
>::initialize { .. }) |
|
||||
RuntimeCall::BridgeRococoGrandpa(pallet_bridge_grandpa::Call::<
|
||||
Runtime,
|
||||
crate::bridge_to_rococo_config::BridgeGrandpaRococoInstance,
|
||||
>::set_operating_mode { .. }) |
|
||||
RuntimeCall::BridgeRococoParachains(pallet_bridge_parachains::Call::<
|
||||
Runtime,
|
||||
crate::bridge_to_rococo_config::BridgeParachainRococoInstance,
|
||||
>::set_operating_mode { .. }) |
|
||||
RuntimeCall::BridgeRococoMessages(pallet_bridge_messages::Call::<
|
||||
Runtime,
|
||||
crate::bridge_to_rococo_config::WithBridgeHubRococoMessagesInstance,
|
||||
>::set_operating_mode { .. })
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user