Function polkadot_runtime_common::paras_sudo_wrapper::pallet::dispatchables::sudo_establish_hrmp_channel
source · pub fn sudo_establish_hrmp_channel<T: Config>(
sender: Id,
recipient: Id,
max_capacity: u32,
max_message_size: u32,
)
Expand description
Forcefully establish a channel from the sender to the recipient.
This is equivalent to sending an Hrmp::hrmp_init_open_channel
extrinsic followed by
Hrmp::hrmp_accept_open_channel
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::sudo_establish_hrmp_channel
.