Skip to main content

warm_nested

Function warm_nested 

Source
fn warm_nested(
    state: &mut State<'_>,
    pending: &PendingState,
    warm: AddressMap<HashSet<U256>>,
    cold: &AddressSet,
) -> DbResult<()>
Expand description

Warms in state the storage slots still warm in a nested transaction detached into pending, and the accounts and slots in warm, its nested_warmth, as accesses across an isolated call boundary stay warm for the calling frame. Accounts in cold stay cold, but not their slots.