Expand description
Gear message processor.
Re-exports§
pub use precharge::*;
Modules§
- common
- Common structures for processing.
- configs
- Configurations.
- informational
- Informational functions for core-processor and executor.
- precharge
- Precharge module.
Structs§
- Ext
- Structure providing externalities for running host functions.
- Process
Execution Context - Checked parameters for message execution across processing runs.
- Processor
Context - Processor context.
- System
Reservation Context - System reservation context.
Enums§
- Alloc
ExtError Ext’s memory management (calls to allocate and free) error.- Fallible
ExtError - Fallible API error.
- Unrecoverable
ExtError - Infallible API error.
Traits§
- Processor
Externalities - Trait to which ext must have to work in processor wasm executor. Currently used only for lazy-pages support.
Functions§
- handle_
journal - Handle some journal records passing them to the journal handler.
- process
- Process program & dispatch for it and return journal for updates.
- process_
allowance_ exceed - Helper function for journal creation if the block gas allowance has been exceeded.
- process_
code_ not_ exists - Helper function for journal creation in code not exists case.
- process_
execution_ error - Helper function for journal creation in trap/error case.
- process_
failed_ init - Helper function for journal creation in program failed init case.
- process_
instrumentation_ failed - Helper function for journal creation in case of instrumentation failure.
- process_
program_ exited - Helper function for journal creation in program exited case.
- process_
reinstrumentation_ error - Helper function for journal creation in case of re-instrumentation error.
- process_
success - Helper function for journal creation in success case
- process_
uninitialized - Helper function for journal creation in program uninitialized case.