Module engine_state

Source
Expand description

This module contains all the execution related code.

Re-exports§

pub use engine_config::EngineConfig;
pub use engine_config::EngineConfigBuilder;
pub use engine_config::DEFAULT_MAX_QUERY_DEPTH;
pub use engine_config::DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT;

Modules§

engine_config
Support for runtime configuration of the execution engine - as an integral property of the EngineState instance.

Structs§

BlockInfo
Block info.
ExecutionEngineV1
The public api of the v1 execution engine, as of protocol version 2.0.0
SessionDataDeploy
Structure that needs to be filled with data so the engine can assemble wasm for deploy.
SessionDataV1
Structure that needs to be filled with data so the engine can assemble wasm for v1.
WasmV1Request
A request to execute the given Wasm on the V1 runtime.
WasmV1Result
Wasm v1 result.

Enums§

Error
Engine state errors.
ExecutableItem
The item to be executed.
InvalidRequest
Error returned if constructing a new WasmV1Request fails.
SessionInputData
Wrapper enum abstracting data for assmbling WasmV1Requests

Constants§

WASMLESS_TRANSFER_FIXED_GAS_PRICE
Gas/motes conversion rate of wasmless transfer cost is always 1 regardless of what user wants to pay.