Expand description
Wrapper type to create test nodes
Structs§
- Mined
Block - A block mined by
NodeTestContext::mine,NodeTestContext::mine_including,NodeTestContext::mine_signedorNodeTestContext::mine_pooled. - Node
Test Context - A helper struct to handle node actions
- Stopped
Node - A test node that was stopped with
NodeTestContext::stop.
Enums§
- Finality
- Which blocks
NodeTestContext::import_payloadmarks as safe and finalized when it makes a block the head.
Constants§
- DATABASE_
RELEASE_ TIMEOUT - Maximum time
NodeTestContext::stopwaits for the database of a node to be released after the node shut down. - RPC_
PROVIDER_ POLL_ INTERVAL - Interval at which the alloy providers of
NodeTestContextpoll the node, e.g. for receipts of pending transactions.
Type Aliases§
- Mined
Block Future - The future returned by
NodeTestContext::mineand the related mining helpers.