Skip to main content

Crate example_bal

Crate example_bal 

Source
Expand description

Block Access List (BAL) example demonstrating how to:

  1. Build a BAL by executing transactions and capturing state changes
  2. Use the BAL to re-execute the same transactions with pre-computed state

BAL (EIP-7928) optimizes block execution by pre-computing state access patterns, allowing parallel or optimized re-execution using the captured state versions.

Re-exportsยง

pub(crate) use std::sync::Arc; ๐Ÿ”’
pub(crate) use bytecode::opcode; ๐Ÿ”’
pub(crate) use Context; ๐Ÿ”’
pub(crate) use ContextTr; ๐Ÿ”’
pub(crate) use TxEnv; ๐Ÿ”’
pub(crate) use context_interface::result::ExecutionResult; ๐Ÿ”’
pub(crate) use database::State; ๐Ÿ”’
pub(crate) use address; ๐Ÿ”’
pub(crate) use keccak256; ๐Ÿ”’
pub(crate) use Bytes; ๐Ÿ”’
pub(crate) use TxKind; ๐Ÿ”’
pub(crate) use U256; ๐Ÿ”’
pub(crate) use ExecuteCommitEvm; ๐Ÿ”’
pub(crate) use MainBuilder; ๐Ÿ”’
pub(crate) use MainContext; ๐Ÿ”’

Functionsยง

main ๐Ÿ”’