Skip to content

Catch validation error when broadcasting and demote builder #283

@ltitanb

Description

@ltitanb

Because of optimistic submissions and how we handle simulations, a block may be selected for broadcasting without ever being simulated. Leading to errors like this:

Block accepted but not processed: {"content-type": "application/json", "server": "Lighthouse/v7.0.0-54f7bc5/x86_64-linux", "content-length": "434", "date": "Wed, 08 Oct 2025 19:26:49 GMT"} body: "{\"code\":202,\"message\":\"ACCEPTED: the object was broadcast to the network without being fully imported to the local database: ExecutionPayloadError(RejectedByExecutionEngine { status: Invalid { latest_valid_hash: None, validation_error: Some(\\\"block hash mismatch: want 0x1c4c5c4070f1f84988d207888845dae06a8b5a36a8302a77c011186ae69190b0, got 0x05ed38849ab9048d072c7d4b4ba077a413700feb72b14210bae67bc25b69927c\\\") } })\",\"stacktraces\":[]}" id="27c07520-05e3-4b53-a52a-2d5783cef461"

we should catch this error and demote the builder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions