Skip to content

Parent header sometimes not found via hash lookup even after canonical commit in reth #853

Description

@iowar

Summary

We are observing cases where rbuilder fails to find the payload parent header via
provider.header(parent_hash) for several seconds, even though:

  • the parent block has already been imported and committed to the canonical chain by reth
  • the same block is immediately accessible via:
    • HTTP RPC (eth_getBlockByHash)
    • provider.header_by_number(block-1)

This causes repeated polling in wait_for_block_header and delays block building
in slot-critical paths.


Observed behavior

  1. Reth logs show the parent block is:

    • received from consensus engine
    • added to canonical chain
    • committed
  2. Immediately after, rbuilder receives payload attributes and starts polling:

Payload parent header not found, trying again

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions