Trait sov_modules_api::EncodeCall
source · pub trait EncodeCall<M: Module> {
// Required method
fn encode_call(data: M::CallMessage) -> Vec<u8>;
}
Expand description
A trait that specifies how a runtime should encode the data for each module
Required Methods§
sourcefn encode_call(data: M::CallMessage) -> Vec<u8>
fn encode_call(data: M::CallMessage) -> Vec<u8>
The encoding function