op_reth::consensus

Function calculate_receipt_root_no_memo_optimism

Source
pub fn calculate_receipt_root_no_memo_optimism(
    receipts: &[&Receipt],
    chain_spec: impl Hardforks,
    timestamp: u64,
) -> FixedBytes<32>
Available on crate feature optimism only.
Expand description

Calculates the receipt root for a header for the reference type of [Receipt].

NOTE: Prefer calculate receipt root optimism if you have log blooms memoized.