Skip to content

fix: backport #21673 — prevent HA peer proposals from blocking equivocation in duplicate proposal test#21693

Merged
spalladino merged 4 commits into
backport-to-v4-next-stagingfrom
claudebox/backport-21673-v4-next
Apr 7, 2026
Merged

fix: backport #21673 — prevent HA peer proposals from blocking equivocation in duplicate proposal test#21693
spalladino merged 4 commits into
backport-to-v4-next-stagingfrom
claudebox/backport-21673-v4-next

Conversation

@AztecBot

@AztecBot AztecBot commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Backport of #21673 to v4-next.

Adds dontStartSequencer: true and skipPushProposedBlocksToArchiver: true to the malicious nodes in the duplicate_proposal_slash e2e test. This prevents HA peer proposals from being added to the archiver, so both malicious nodes build their own blocks instead of one yielding to the other.

Note: v4-next also needed dontStartSequencer: true (from PR #21603) which was already on next when the original PR was merged, so this backport includes both properties.

Conflict Resolution

The cherry-pick conflicted because v4-next lacked the dontStartSequencer: true line added by PR #21603. Resolution was to accept both new properties (dontStartSequencer and skipPushProposedBlocksToArchiver).

Commits

  1. Cherry-pick with conflicts (original attempt)
  2. Conflict resolution — accept both new properties

Test plan

  • duplicate_proposal_slash e2e test should pass with these changes
  • No other tests affected (only malicious nodes in this specific test are changed)

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 17, 2026
@AztecBot AztecBot force-pushed the claudebox/backport-21673-v4-next branch from ae4789b to f6ccf4e Compare March 17, 2026 17:51
@AztecBot AztecBot changed the title fix: prevent HA peer proposals from blocking equivocation in duplicate proposal test (#21673) fix: backport #21673 — prevent HA peer proposals from blocking equivocation in duplicate proposal test Mar 17, 2026
@spalladino spalladino added the ci-draft Run CI on draft PRs. label Mar 18, 2026
@spalladino spalladino marked this pull request as ready for review March 18, 2026 12:45
@spalladino spalladino enabled auto-merge (squash) March 18, 2026 12:53
…cation in duplicate proposal test

Rebased onto latest backport-to-v4-next-staging to resolve merge conflicts.

Changes from next:
- Add advanceToEpochBeforeProposer helper (stops one epoch before target)
- Add dontStartSequencer + skipPushProposedBlocksToArchiver on malicious nodes
- Add dontStartSequencer on honest nodes with manual sequencer start
- Filter offenses to only DUPLICATE_PROPOSAL type
@AztecBot AztecBot force-pushed the claudebox/backport-21673-v4-next branch from 3fdf207 to 7217f98 Compare April 7, 2026 12:43
@AztecBot AztecBot requested a review from nventuro as a code owner April 7, 2026 13:57
@AztecBot

AztecBot commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator Author

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/9c65b729deaa6281�9c65b729deaa62818;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_epochs/epochs_l1_reorgs.parallel.test.ts "updates L1 to L2 messages changed due to an L1 reorg" (66s) (code: 0) group:e2e-p2p-epoch-flakes

auto-merge was automatically disabled April 7, 2026 14:28

Squash merges are not allowed on this repository

@spalladino spalladino removed the request for review from nventuro April 7, 2026 14:39
@spalladino spalladino enabled auto-merge April 7, 2026 20:14
@spalladino spalladino merged commit 905cc46 into backport-to-v4-next-staging Apr 7, 2026
9 checks passed
@spalladino spalladino deleted the claudebox/backport-21673-v4-next branch April 7, 2026 20:34
AztecBot added a commit that referenced this pull request Apr 8, 2026
BEGIN_COMMIT_OVERRIDE
fix: pippenger edge case (#22256)
cherry-pick: fix: separate fisherman StatefulSet from rpc-node and stop
archiver pollution (#22183) — WITH CONFLICTS
fix: separate fisherman StatefulSet from rpc-node and stop archiver
pollution (backport #22183) (#22284)
fix: preserve DeployAccountMethod type in with() method chaining
(#22322)
docs: backport docs build/release infrastructure from #22106 and #22144
(#22223)
chore(docs): remove v5 nightly and devnet versioned docs (backport
#22193) (#22236)
chore: improve release-docs skill and add release-network-docs skill
(#22328)
chore: remove dead to_be_bytes fn (#22243)
fix: correct args length in `#[authorize_once]` (#22209)
chore: fix inconsistent usage of contract class hash fn (#22248)
chore: delete old field comparison fns in favor of lt (#22249)
fix: all account overrides + gas limits (#22173)
feat: allow for runtime length arrays of sorts and selects (#22250)
chore: remove dead pub global vars reexport (#22244)
chore: changed default wait behavior (#22325)
chore: apply code consistency consolidation (#22251)
fix(docs): simplify TypeScript API reference links (backport #22232)
(#22369)
fix: remove detailed revert codes (#22380)
fix: backport #21673 — prevent HA peer proposals from blocking
equivocation in duplicate proposal test (#21693)
fix: subfield note selectors (#22211)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants