Crate reth_exex_test_utils

Source
Expand description

Test helpers for reth-exex

Structs§

TestConsensusBuilder
A test ConsensusBuilder that builds a [TestConsensus].
TestExExHandle
A helper type for testing Execution Extensions.
TestExecutorBuilder
A test ExecutorBuilder that builds a [MockExecutorProvider].
TestNode
A test Node.
TestPoolBuilder
A test PoolBuilder that builds a [TestPool].

Enums§

PollOnceError
An Execution Extension future polling error.

Traits§

PollOnce
An extension trait for polling an Execution Extension future.

Functions§

test_exex_context
Creates a new ExExContext with (mainnet)[MAINNET] chain spec.
test_exex_context_with_chain_spec
Creates a new ExExContext.

Type Aliases§

Adapter
The NodeAdapter for the TestExExContext. Contains type necessary to boot the testing environment
TestExExContext
An ExExContext using the Adapter type.
TmpDB
A shared [TempDatabase] used for testing