Function gear_core_processor::informational::execute_for_reply
source · pub fn execute_for_reply<Ext, EP>(
function: EP,
instrumented_code: InstrumentedCode,
allocations: Option<BTreeSet<WasmPage>>,
program_info: Option<(ProgramId, MemoryInfix)>,
payload: Vec<u8>,
gas_limit: u64,
block_info: BlockInfo
) -> Result<Vec<u8>, String>where
Ext: ProcessorExternalities + BackendExternalities + 'static,
<Ext as Externalities>::AllocError: BackendAllocSyscallError<ExtError = Ext::UnrecoverableError>,
RunFallibleError: From<Ext::FallibleError>,
<Ext as Externalities>::UnrecoverableError: BackendSyscallError,
EP: WasmEntryPoint,
Expand description
!!! FOR TESTING / INFORMATIONAL USAGE ONLY