Skip to content

Runtime

View as Markdown

The Thru Runtime is the execution environment that processes transactions on the Thru blockchain. It manages the complete transaction lifecycle from validation through execution to state commitment.

Covers the multi-phase transaction processing pipeline including pre-execution validation, VM execution, and post-execution rules.

Defines the resource metering system with Compute Units (CUs) for instruction execution, Memory Units (MUs) for scratch space allocation, and resource consumption patterns.

Comprehensive error codes organized by transaction lifecycle stage, from validation errors to execution failures and system-level issues.