Available on crate feature
test-utils
only.Expand description
Common test helpers for mocking the Provider.
Modules§
- blocks
- Dummy blocks and data for tests
Structs§
- Extended
Account - An extended account for local store
- Mock
EthProvider - A mock implementation for Provider interfaces.
- Noop
Provider - Re-exported for convenience Supports various api interfaces for testing purposes.
- Test
Canon State Subscriptions - A test
ChainEventSubscriptions
Functions§
- create_
test_ provider_ factory - Creates test provider factory with mainnet chain spec.
- create_
test_ provider_ factory_ with_ chain_ spec - Creates test provider factory with provided chain spec.
- insert_
genesis - Inserts the genesis alloc from the provided chain spec into the trie.
Type Aliases§
- Mock
Node Types - Mock [
reth_node_types::NodeTypes
] for testing. - Mock
Node Types WithDB - Mock [
reth_node_types::NodeTypesWithDB
] for testing.