Expand description
Generators for different data structures like block headers, block bodies and ranges of those.
Structs§
- Used to pass arguments for random block generation function in tests
- Used to pass arguments for random block generation function in tests
Traits§
- An automatically-implemented extension trait on
RngCore
providing high-level generic methods for sampling values and other convenience methods.
Functions§
- Generates a set of [Keypair]s based on the desired count.
- Generate a random account change.
- Generate a random block filled with signed transactions (generated using
random_signed_tx
). If no transaction count is provided, the number of transactions will be random, otherwise the provided count will be used. - Generate a range of random blocks.
- Generate a random [
BlockWithParent
]. - Generate a range of changesets for given blocks and accounts.
- Generate random Contract Accounts
- Generate random Externally Owned Account (EOA account without contract).
- Generate random Externally Owned Accounts
- Generate a random [
SealedHeader
]. - Generates a range of random [
SealedHeader
]s. - Generate random log
- Generate random receipt for transaction
- Generates a random legacy [Transaction] that is signed.
- Generate a random storage change.
- Generates a random legacy [Transaction].
- Returns a random number generator that can be seeded using the
SEED
environment variable. - Signs the [Transaction] with the given key pair.
- Signs the [Transaction] with a random key pair.
Type Aliases§
- Collection of account and storage entry changes