Skip to content

kona-node: retries derived attributes the EL rejects before Holocene instead of dropping them #23500

Open

Description

@sebastianst

Before Holocene, kona-node retries derived attributes that the execution layer rejects, instead of dropping them as op-node does. The safe head stalls on a pre-Holocene batch with an invalid transaction.

  • At forkchoiceUpdated, a -38003 (or an INVALID status) becomes EngineBuildError::AttributesInsertionFailed (or InvalidPayload), which is Temporary, so the engine queue retries the same attributes forever: build/error.rs#L62-L68.
  • At newPayload, an INVALID status before Holocene takes the generic arm (seal/task.rs#L203-L206), and UnexpectedPayloadStatus is Temporary too (insert/error.rs#L37-L39).

op-node drops the attributes and derivation moves on to the next batch (build_invalid.go#L46-L63, attributes.go#L105-L115). So does kona's own proof driver (core.rs#L324-L327).

#23454 makes op-reth answer -38003 for such attributes (before, it skipped the invalid transaction) and adds the Holocene deposits-only replacement to kona-node, but leaves the pre-Holocene case as is. It only matters when deriving pre-Holocene history.

🤖 Co-created with Claude Opus 5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions