Trait frame_system::SetCode
source · pub trait SetCode<T: Config> {
fn set_code(code: Vec<u8>) -> DispatchResult;
}
Expand description
Do something when we should be setting the code.
Required Methods§
sourcefn set_code(code: Vec<u8>) -> DispatchResult
fn set_code(code: Vec<u8>) -> DispatchResult
Set the code to the given blob.