Skip to main content

cache_block_env

Function cache_block_env 

Source
fn cache_block_env(block: &BlockEnv, excess_blob_gas: Option<u64>) -> BlockEnv
Expand description

Returns the block environment recorded in the fork cache’s metadata.

The disk cache keeps the block environment layout written before evm2, so existing caches stay valid. excess_blob_gas is the fork header’s, which evm2 only keeps as the blob base fee.