Trait frame_system::SetCode [−][src]
pub trait SetCode { fn set_code(code: Vec<u8>) -> DispatchResult; }
Expand description
Do something when we should be setting the code.
Required methods
fn set_code(code: Vec<u8>) -> DispatchResult
fn set_code(code: Vec<u8>) -> DispatchResult
Set the code to the given blob.