reth_testing_utils::generators

Function random_receipt

Source
pub fn random_receipt<R: Rng>(
    rng: &mut R,
    transaction: &TransactionSigned,
    logs_count: Option<u8>,
) -> Receipt
Expand description

Generate random receipt for transaction