Skip to content

test(fc): equivocating proposer tests#586

Merged
tcoratger merged 2 commits intoleanEthereum:mainfrom
d4m014:test/equivocation_test
Apr 11, 2026
Merged

test(fc): equivocating proposer tests#586
tcoratger merged 2 commits intoleanEthereum:mainfrom
d4m014:test/equivocation_test

Conversation

@d4m014
Copy link
Copy Markdown
Contributor

@d4m014 d4m014 commented Apr 11, 2026

🗒️ Description

  • Add test_equivocating_proposer_two_blocks_at_same_slot: both equivocating blocks are accepted by the store and head resolves via lexicographic tiebreaker when weights are equal
  • Add test_equivocating_proposer_with_split_attestations: validators split attestations across equivocating forks, verifies the 2 vs 2 tiebreaker phase and the weight-driven head flip when a third validator switches to fork B (3 vs 2)

🔗 Related Issues or PRs

Closes #561, closes #562.

✅ Checklist

  • Ran tox checks to avoid unnecessary CI fails:
    uvx tox
  • Considered adding appropriate tests for the changes.

@d4m014 d4m014 changed the title write equivocating proposer tests test(fc): equivocating proposer tests Apr 11, 2026
@tcoratger tcoratger merged commit 80d131c into leanEthereum:main Apr 11, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(fc): equivocating proposer with attestations splitting across forks test(fc): equivocating proposer — two blocks at same slot

2 participants