Skip to content

Add tests for get_proposer_head#5385

Open
brech1 wants to merge 1 commit into
ethereum:masterfrom
brech1:test/get-proposer-head
Open

Add tests for get_proposer_head#5385
brech1 wants to merge 1 commit into
ethereum:masterfrom
brech1:test/get-proposer-head

Conversation

@brech1

@brech1 brech1 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Description

Adds fork-choice tests for Gloas get_proposer_head, covering the primary reorg decision, each guard that blocks it, and the equivocation branch.

Since get_proposer_head returns a ForkChoiceNode from Gloas, the check is extended from a root string to a {root, payload_status} object.

Changes

  • New test_get_proposer_head.py: the primary reorg, each blocking guard, and the equivocation branch
  • get_proposer_head check extended to a {root, payload_status} object from Gloas, in the format doc and compliance runner
  • New setup_finalized_store helper in fork_choice.py

@github-actions github-actions Bot added the testing CI, actions, tests, testing infra label Jun 23, 2026
@brech1 brech1 requested a review from jihoonsong June 23, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing CI, actions, tests, testing infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant