pub(crate) async fn call_forkchoice_updated<N, T, P: EngineApiValidWaitExt<N, T>>(
provider: P,
message_version: EngineApiMessageVersion,
forkchoice_state: ForkchoiceState,
payload_attributes: Option<PayloadAttributes>,
) -> TransportResult<ForkchoiceUpdated>
Expand description
Calls the correct engine_forkchoiceUpdated
method depending on the given
EngineApiMessageVersion
, using the provided forkchoice state and payload attributes for the
actual engine api message call.