Commit 94a2f57
authored
test(e2e): stabilize invalidation slots in
Summary:
- Scan for consecutive bad checkpoint slots whose prior pipelined target
slot is not owned by either intended bad proposer.
- Keep the malicious-config injection tied to the selected bad proposers
and remove the now-unnecessary non-null assertion.
- Add an inline comment documenting why the prior pipelined target slot
matters.
Why:
The test applies malicious checkpoint config while sequencers are
already running. With proposer pipelining, the previous target slot can
snapshot that config before the intended bad slots are built. If that
prior proposer is one of the intended bad proposers, the test may spend
the malicious config on the wrong checkpoint and stop validating the
intended two-checkpoint invalidation path. This mirrors the
slot-selection issue fixed for the invalid proposal slashing test, but
applies it to the consecutive checkpoint invalidation scenario.
Testing:
- yarn format end-to-end
- yarn build
- LOG_LEVEL="info; debug:sequencer,publisher,validator" yarn workspace
@aztec/end-to-end test:e2e
e2e_epochs/epochs_invalidate_block.parallel.test.ts -t "proposer
invalidates multiple checkpoints"proposer invalidates multiple checkpoints (#23590)1 parent 65dee1a commit 94a2f57
1 file changed
Lines changed: 34 additions & 5 deletions
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
395 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
396 | 426 | | |
397 | | - | |
398 | 427 | | |
399 | 428 | | |
400 | 429 | | |
401 | 430 | | |
402 | 431 | | |
403 | | - | |
| 432 | + | |
404 | 433 | | |
405 | 434 | | |
406 | 435 | | |
| |||
0 commit comments