Module bal
Expand description
Block Access List (BAL) data structures for efficient state access in blockchain execution.
This module provides types for managing Block Access Lists, which optimize state access by pre-computing and organizing data that will be accessed during block execution.
§Key Types
BlockAccessIndex: block access indexBalAccountInfo: account fields a BAL changed, eachNonewhen not writtenBalAccountLookup: complete, partial, or uncovered account information at a read positionBal: Main BAL structure containing a map of accountsBalWrites<T>: Array of (index, value) pairs representing sequential writes to a state itemAccountBal: Complete BAL structure for an account (balance, nonce, code, and storage)AccountInfoBal: Account info BAL data (nonce, balance, code)StorageBal: Storage-level BAL data for an account
Modules§
Structs§
- Account
Bal - Account BAL structure.
- Account
Info Bal - Account info bal structure.
- Bal
- BAL structure.
- BalAccount
Info - The post-block account-level state recorded by an
AccountChangesentry. - BalWrites
- Use to store values
- Block
Access Index - Block access index within a block.
- Storage
Bal - Storage BAL
Enums§
- BalAccount
Lookup - Account information available from a BAL at a read position.
- BalError
- Error returned when a BAL (Block Access List, EIP-7928) lookup cannot find data the caller expected to be present.