Skip to main content

set_eip2935_blockhash

Function set_eip2935_blockhash 

Source
fn set_eip2935_blockhash(
    state: &mut State<'_>,
    block_number: U256,
    block_hash: B256,
) -> Result<()>
Expand description

Writes block_hash to the EIP-2935 history storage, if the history contract is deployed.

Writes do not warm the history account or slot.