Expand description
Utilities for end-to-end tests.
Modules§
- node
- Wrapper type to create test nodes
- setup_
import - Helper for setting up nodes with pre-imported chain data Setup utilities for importing RLP chain data before starting nodes.
- test_
rlp_ utils - Utilities for creating and writing RLP test data Utilities for creating and writing RLP test data
- testsuite
- Utilities for running e2e tests against a node or a network of nodes.
- transaction
- Helper for transaction operations
- trie
- Helpers for verifying the persisted state and trie representation Helpers for verifying the persisted state and trie representation of test nodes.
- wallet
- Helper type to yield accounts from mnemonic
Structs§
- E2ETest
Setup Builder - Builder for configuring and creating test node setups.
Traits§
- Node
Builder Helper - Helper trait to simplify bounds when calling setup functions.
Functions§
- eth_
payload_ attributes_ for_ fork - Creates Ethereum [
PayloadAttributes] valid for the given hardfork, allowing the same test to be run against multiple hardfork targets. - setup
- Creates the initial setup with
num_nodesstarted and interconnected. - setup_
engine - Creates the initial setup with
num_nodesstarted and interconnected. - setup_
engine_ with_ connection - Creates the initial setup with
num_nodesstarted and optionally interconnected.
Type Aliases§
- Adapter
- Type alias for a
NodeAdapter - Node
Helper Type - Type alias for a type of
NodeHelper - TmpDB
- Testing database