Expand description
CoreVM engine.
This engine is used to run CoreVM services inside JAM. It can also be used to simulate running CoreVM service on the builder’s side to predict which memory pages will be used by the service.
Structs§
- Accumulate
Engine - An engine that drives execution of
accumulateandon_transferCoreVM service entry points. - Engine
- An engine that drives execution of
refineCoreVM service entry point. - Lookup
- An implementation of
ReadBlockthat usesOuterVM::read_file_blockto read files blocks.
Enums§
- Accumulation
Error - Accumulation error.
- Fatal
Error - Fatal engine error after which the continuation is not possible.
- Init
Error - Engine initialization error.
- RunError
- Engine runtime error.
Traits§
- Accumulate
Ops - Operations that
AccumulateEngineuses during accumulation. - InnerVm
- A trait that abstracts JAM calls related to an inner VM.
- OuterVm
- A trait that abstracts JAM host-calls available in a refine environment and related to an outer VM.
Functions§
- compute_
state_ hash - This hash is used to check the validity of the state transition in JAM’s
accumulate. - initial_
state_ hash - The hash of the initial state.