Expand description
Standalone Conversion Functions for Handling Different Versions of Execution Payloads in Ethereum’s Engine
Functions§
- Converts [
SealedBlock
] to [ExecutionPayload
] - Converts [
SealedBlock
] to [ExecutionPayloadV1
] - Converts [
SealedBlock
] to [ExecutionPayloadV2
] - Converts [
SealedBlock
] to [ExecutionPayloadV3
], and returns the parent beacon block root. - Converts [
SealedBlock
] to [ExecutionPayloadFieldV2
] - Converts [
SealedBlock
] to [ExecutionPayloadInputV2
] - Converts [
ExecutionPayloadFieldV2
] to [ExecutionPayload
] - Converts [
ExecutionPayloadInputV2
] to [ExecutionPayload
] - Converts [
ExecutionPayloadV2
] to [ExecutionPayloadInputV2
]. - Converts [
Block
] to [ExecutionPayloadBodyV1
] - Transforms a [
SealedBlock
] into a [ExecutionPayloadV1
] - Tries to create a new unsealed block from the given payload and payload sidecar.
- Tries to create a sealed new block from the given payload and payload sidecar.
- Converts [
ExecutionPayloadV1
] to [Block
] - Converts [
ExecutionPayloadV2
] to [Block
] - Converts [
ExecutionPayloadV3
] to [Block
] - Takes the expected block hash and [
Block
], validating the block and converting it into a [SealedBlock
].