Skip to main content

cache_bal

Function cache_bal 

Source
pub fn cache_bal(db: &MemDb, bal: Vec<AccountChanges>)
Expand description

Inserts a validated BAL’s post-state into its selected remote cache, retaining existing values.

The BAL must pass validate_bal before this call, and the cache must belong to its immutable source block. Account and storage locks are acquired separately; insertion is not atomic across the two maps.