Expand description
BAL executor.
Read execute_block as two execution paths over the same parent state.
Worker states run transactions speculatively. Each worker gets one fresh database from
make_db, installs the received BAL, sets the transaction BAL index for each streamed
transaction, and returns uncommitted transaction results.
The canonical state owns block effects. It runs the normal pre/post block hooks, commits worker results in transaction order, tracks block gas admission, and builds the BAL that this execution actually produced.
The final hash check compares that rebuilt BAL with the header commitment. The outer payload validator still handles consensus checks, receipt-root validation, state-root work, and block insertion.
Functions§
- execute_
block - Executes one block on the BAL path using the runtime’s persistent BAL worker pool.