Skip to main content

validate_bal

Function validate_bal 

Source
pub fn validate_bal(
    bal: &BlockAccessList,
    transaction_count: usize,
    expected_hash: Option<B256>,
) -> Result<()>
Expand description

Validates the entire BAL before any values can enter the cache.

Callers must separately establish that the BAL and cache belong to the same immutable block.