Skip to main content

clear_eip2935_history_storage

Function clear_eip2935_history_storage 

Source
fn clear_eip2935_history_storage(
    state: &mut State<'_>,
    features: EvmFeatures,
) -> Result<()>
Expand description

Clears the EIP-2935 history ring buffer with journaled writes, so that reverting the enclosing frame restores the previous history storage.

Warmth is preserved: slots that were cold stay cold. A database error reverts any partial clearing.