Expand description
Utilities for end-to-end tests.
Modules§
- node
- Wrapper type to create test nodes
- receipt
- Helpers for awaiting the receipts of transactions sent through alloy providers.
- 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.
- wait
- Helpers for waiting on conditions of test nodes.
- wallet
- Helper type to yield accounts from mnemonic
Structs§
- E2ETest
Setup Builder - Builder for configuring and launching test node setups.
Traits§
- E2ETest
Setup Ext - Extension trait to create an
E2ETestSetupBuilderfrom a node type. - Node
Builder Helper - Helper trait to simplify the bounds of nodes launched by
E2ETestSetupBuilder.
Functions§
- eth_
payload_ attributes - Creates Ethereum [
PayloadAttributes] that are valid for the hardforks active inchain_specattimestamp. - test_
chain_ spec - Returns the test chain spec with every hardfork up to and including
forkactive at genesis. - test_
chain_ spec_ builder - Returns a
ChainSpecBuilderfor the mainnet chain id with thetest_genesisand no hardforks activated. - test_
genesis - Returns the genesis of the test chain.
Type Aliases§
- Adapter
- Type alias for a
NodeAdapter - Node
Helper Type - Type alias for a type of
NodeHelper - TmpDB
- Testing database