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§

Set the code to the given blob.

Implementations on Foreign Types§

Implementors§