Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce BlockGap #5592

Merged
merged 4 commits into from
Sep 6, 2024
Merged

Commits on Sep 4, 2024

  1. Introduce BlockGap

    Previously, block gaps could only be created by warp sync, but with upcoming
    changes (paritytech#5406), block gaps will also be generated by fast sync, thus
    `BlockGapType` is needed.
    
    This refactor converts the existing `(NumberFor<Block>, NumberFor<Block>)`
    into a dedicated `BlockGap<NumberFor<Block>>` struct. This change is purely
    structural and does not alter existing logic, but it lays the groundwork for
    future changes.
    liuchengxu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9ee996b View commit details
    Browse the repository at this point in the history
  2. Handle compatibility for BlockGap structure update

    This commit introduces changes to address compatibility issues
    resulting from the transition from the old block gap representation
    `(NumberFor<Block>, NumberFor<Block>)` to the new `BlockGap<NumberFor<Block>>`
    structure.
    liuchengxu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    f45211a View commit details
    Browse the repository at this point in the history
  3. Add prdoc

    liuchengxu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3a15713 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    3bd5acf View commit details
    Browse the repository at this point in the history