reth_rpc_eth_types::receipt

Function build_receipt

Source
pub fn build_receipt<T>(
    transaction: &TransactionSigned,
    meta: TransactionMeta,
    receipt: &Receipt,
    all_receipts: &[Receipt],
    build_envelope: impl FnOnce(ReceiptWithBloom<Log>) -> T,
) -> EthResult<TransactionReceipt<T>>
Expand description

Builds an [TransactionReceipt] obtaining the inner receipt envelope from the given closure.