Function reth_evm_optimism::l1::parse_l1_info

source ยท
pub fn parse_l1_info(
    input: &[u8],
) -> Result<L1BlockInfo, OptimismBlockExecutionError>
Available on crate feature optimism only.
Expand description

Parses the input of the first transaction in the L2 block, into [L1BlockInfo].

Returns an error if data is incorrect length.