Skip to content

Improve tests for unaligned checkpoint sync #8426

@michaelsproul

Description

@michaelsproul

Description

We had a latent bug in checkpoint sync from unaligned blocks (skipped slots at epoch boundaries), fixed here:

I don't know why the existing tests did not catch this:

  • weak_subjectivity_sync_unaligned_advanced_checkpoint
  • weak_subjectivity_sync_unaligned_unadvanced_checkpoint

To resolve this issue, we can try reverting the fix made in the linked PR, and writing a test that fails sans fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions