Expand description
Re-exported payload related types
Modules§
- A payload builder service task that does nothing.
- test_
utils test-utils
Utils for testing purposes.
Structs§
- Contains the built payload.
- Container type for all components required to build a payload.
- Execution payload validator.
- A communication channel to the
PayloadBuilderService
. - A service that manages payload building tasks.
- And 8-byte identifier for an execution payload.
- A communication channel to the
PayloadBuilderService
that can retrieve payloads.
Enums§
- The version of Engine API message.
- Thrown when the payload or attributes are known to be invalid before processing.
- Thrown when validating the correctness of a payloadattributes object.
- Whether the payload job should be kept alive or terminated after the payload was requested by the CL.
- A type that represents whether or not we are validating a payload or payload attributes.
- Possible error variants during payload building.
- Determines how we should choose the payload to return.
- Either an
ExecutionPayload
or a types that implements thePayloadAttributes
trait. - Message type for the
PayloadBuilderService
. - Thrown when validating an execution payload OR payload attributes fails due to:
Traits§
- Represents a built payload type that contains a built
SealedBlock
and can be converted into engine API execution payloads. - The execution payload attribute type the CL node emits via the engine API. This trait should be implemented by types that could be used to spawn a payload job.
- A builder that can return the current payload attribute.
- This can be implemented by types that describe a currently running payload job.
- A type that can build a payload.
- A type that knows how to create new jobs for creating payloads.
- The types that are used by the engine API.
Functions§
- Validate the presence of the
parentBeaconBlockRoot
field according to the given timestamp. This method is meant to be used with either apayloadAttributes
field or a full payload, with theengine_forkchoiceUpdated
andengine_newPayload
methods respectively. - Validates the timestamp depending on the version called:
- Validates the presence or exclusion of fork-specific fields based on the ethereum execution payload, or payload attributes, and the message version.