Function core_processor::execute_wasm
source · pub fn execute_wasm<Ext>(
balance: u128,
dispatch: IncomingDispatch,
context: WasmExecutionContext,
settings: ExecutionSettings,
msg_ctx_settings: ContextSettings
) -> Result<DispatchResult, ExecutionError>where
Ext: ProcessorExternalities + BackendExternalities + 'static,
<Ext as Externalities>::AllocError: BackendAllocSyscallError<ExtError = Ext::UnrecoverableError>,
RunFallibleError: From<Ext::FallibleError>,
<Ext as Externalities>::UnrecoverableError: BackendSyscallError,
Expand description
Execute wasm with dispatch and return dispatch result.