Method
block_to_payload
(
block: SealedBlock<
<<Self::BuiltPayload as BuiltPayload>::Primitives as NodePrimitives>::Block,
>,
bal: Option<Bytes>,
)
Source from the content-addressed store, hash-verified
| 49 | type PayloadAttributes = T::PayloadAttributes; |
| 50 | |
| 51 | fn block_to_payload( |
| 52 | block: SealedBlock< |
| 53 | <<Self::BuiltPayload as BuiltPayload>::Primitives as NodePrimitives>::Block, |
| 54 | >, |
| 55 | bal: Option<Bytes>, |
| 56 | ) -> <T as PayloadTypes>::ExecutionData { |
| 57 | ExecutionData::from_block_unchecked_with_extras( |
| 58 | block.hash(), |
| 59 | &block.into_block().into_ethereum_block(), |
| 60 | bal, |
| 61 | ) |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | impl<T: PayloadTypes<ExecutionData = ExecutionData>> EngineTypes for BaseEngineTypes<T> |
Callers
nothing calls this directly
Tested by
no test coverage detected