Module test_utils
Available on crate feature
test-utils
only.Expand description
Common test helpers for mocking the Provider.
Modules§
- Dummy blocks and data for tests
Structs§
- An extended account for local store
- A mock implementation for Provider interfaces.
- Supports various api interfaces for testing purposes.
- A test
ChainEventSubscriptions
Functions§
- Creates test provider factory with mainnet chain spec.
- Creates test provider factory with provided chain spec.
- Inserts the genesis alloc from the provided chain spec into the trie.
Type Aliases§
- Mock
reth_node_types::NodeTypes
for testing. - Mock
reth_node_types::NodeTypesWithDB
for testing.