Skip to content

Guard get_parent_payload_status at fork boundary#5125

Open
AbolareRoheemah wants to merge 1 commit intoethereum:masterfrom
AbolareRoheemah:treat-pre-gloas-blocks-as-pending
Open

Guard get_parent_payload_status at fork boundary#5125
AbolareRoheemah wants to merge 1 commit intoethereum:masterfrom
AbolareRoheemah:treat-pre-gloas-blocks-as-pending

Conversation

@AbolareRoheemah
Copy link
Copy Markdown
Contributor

get_parent_payload_status (and therefore is_parent_node_full) was unconditionally accessing the Gloas-only field parent.body.signed_execution_payload_bid even for pre-Gloas blocks.

This PR adds a guard that checks parent_state.fork.current_version and treats any pre-Gloas parent as PAYLOAD_STATUS_PENDING(matching the behavior Lighthouse already implements).

No changes were needed to on_block or is_parent_node_full.

All Gloas tests pass withmake test fork=gloas.

Fixes #5096

@brech1
Copy link
Copy Markdown
Member

brech1 commented Apr 24, 2026

Please review the proposed fix, it breaks post Gloas forks as it can be seen in the failed action:

@jtraglia jtraglia changed the title Gloas: guard get_parent_payload_status at fork boundary Guard get_parent_payload_status at fork boundary Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gloas: on_block is ill-defined at fork boundary

2 participants