domain_pallet_executive::dispatchables

Function set_code

source
pub fn set_code<T: Config>(code: Vec<u8>)
Expand description

Sets new runtime code after doing necessary checks. Same as frame_system::Call::set_code but without root origin.

ยงWarning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_code.