pub fn build_receipt<R, T, E>(
transaction: &T,
meta: TransactionMeta,
receipt: &R,
all_receipts: &[R],
build_envelope: impl FnOnce(ReceiptWithBloom<Receipt<Log>>) -> E,
) -> EthResult<TransactionReceipt<E>>where
R: TxReceipt<Log = Log>,
T: SignedTransaction,
Expand description
Builds an [TransactionReceipt
] obtaining the inner receipt envelope from the given closure.