Skip to content

fix(e2e): enable broadcastEquivocatedProposals in duplicate proposal slash test#20320

Merged
spalladino merged 1 commit into
merge-train/spartanfrom
palla/fix-duplicate-proposal-slash-test
Feb 9, 2026
Merged

fix(e2e): enable broadcastEquivocatedProposals in duplicate proposal slash test#20320
spalladino merged 1 commit into
merge-train/spartanfrom
palla/fix-duplicate-proposal-slash-test

Conversation

@spalladino

Copy link
Copy Markdown
Contributor

Summary

  • The e2e_p2p_duplicate_proposal_slash test was flaking because malicious nodes were not actually broadcasting duplicate proposals to the network.
  • The P2PClient.broadcastProposal() method throws when it detects a duplicate block proposal for the same slot, unless broadcastEquivocatedProposals is set to true.
  • Added broadcastEquivocatedProposals: true to both malicious node configs, matching what the duplicate_attestation_slash test already does.

Test plan

  • The existing e2e_p2p_duplicate_proposal_slash test should now pass reliably since the duplicate proposals will actually reach the network and be detected by the slasher.

🤖 Generated with Claude Code

…slash test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@spalladino spalladino force-pushed the palla/fix-duplicate-proposal-slash-test branch from 2947cce to e4f19ed Compare February 9, 2026 22:33
@spalladino spalladino merged commit 092db06 into merge-train/spartan Feb 9, 2026
11 checks passed
@spalladino spalladino deleted the palla/fix-duplicate-proposal-slash-test branch February 9, 2026 23:46
github-merge-queue Bot pushed a commit that referenced this pull request Feb 10, 2026
BEGIN_COMMIT_OVERRIDE
chore: add new retention policy to cloudflare R2 (#20276)
fix: k8s enricher opt-in (#20279)
feat(slasher): add duplicate attestation slashing (#20218)
chore: improve HA e2e (#20280)
chore(test): fix p2p integration test (#20283)
chore(claude): minor changes to claude md and rules (#20284)
chore(test): fix p2p message propagation test build error (#20289)
chore(claude): add actor info to analyze-logs (#20290)
feat: tx file store source for tx collector (#20165)
chore(test): fix validator integration test (#20288)
chore(e2e): remove setup with remote env in e2e tests (#20294)
chore: fix test flakes (#20295)
chore: user-perceived latency explorer (#20298)
fix(p2p): fix flaky file store tx collection tests (#20318)
chore(spartan): add mbps-net env definition (#20308)
fix(validator): do not process proposals from self (#20314)
chore(ci): track history in merge-trains (#20321)
fix(e2e): enable broadcastEquivocatedProposals in duplicate proposal
slash test (#20320)
chore: use respective get endpoints for rollup test instead of only
port-forward (#20327)
END_COMMIT_OVERRIDE
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.

2 participants