reth::payload::test_utils

Function test_payload_service

Source
pub fn test_payload_service<T>() -> (PayloadBuilderService<TestPayloadJobGenerator, Empty<CanonStateNotification>, T>, PayloadBuilderHandle<T>)
where T: PayloadTypes<PayloadBuilderAttributes = EthPayloadBuilderAttributes, BuiltPayload = EthBuiltPayload> + 'static,
Available on crate feature test-utils only.
Expand description

Creates a new PayloadBuilderService for testing purposes.