Function reth_testing_utils::generators::random_signed_tx

source ยท
pub fn random_signed_tx<R: Rng>(rng: &mut R) -> TransactionSigned
Expand description

Generates a random legacy Transaction that is signed.

On top of the considerations of random_tx, these apply as well:

  • There is no guarantee that the nonce is not used twice for the same account