create_new_header

Function create_new_header 

Source
pub fn create_new_header(
    l1_info: Option<&L1Info>,
    prev_hash: B256,
    prev_number: u64,
    prev_timestamp: u64,
    prev_extra: &[u8],
    prev_mix_hash: B256,
    base_fee: U256,
) -> NewHeaderResult
Expand description

Create new header fields for an Arbitrum block.

In reth, the actual header construction is done by the block builder; this computes the Arbitrum-specific fields.