reth_node_core::rpc::compat::engine

Function block_to_payload_v1

pub fn block_to_payload_v1<T>(
    value: SealedBlock<Header, BlockBody<T>>,
) -> ExecutionPayloadV1
where T: Encodable2718,
Expand description

Converts [SealedBlock] to [ExecutionPayloadV1]