Skip to content

Better mechanism to trigger processExecutionPayload  #9150

@nflaig

Description

@nflaig

right now we call chain.processExecutionPayload() in 3 places:

  • when receiving an envelope
  • when receiving a gloas DataColumnSidecar (and there could be 128 of them)
  • when import block

and inside the queue, we ignore it if data is not complete, this is not idea
instead of that we can do similar flow to BlockInput
only call chain.processExecutionPayload() when we receive an envelope, no need to wait for all data in the queue
inside importExecutionPayload() we await for a new function verifyPayloadDataAvailability() similar to verifyBlocksDataAvailability()
this new function can then be used for sync services too

Originally posted by @twoeths in #8938 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-gloasIssues targeting the Glamsterdam spec version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions