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

(dot/parachain): handle view update message for receiver side of the network bridge #4249

Open
wants to merge 2 commits into
base: feat/parachain
Choose a base branch
from

Commits on Oct 14, 2024

  1. wip

    kishansagathiya committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    cf75d6e View commit details
    Browse the repository at this point in the history
  2. (dot/parachain): handle view update message network bridge

    Over the network through collation and validation protocol, as part of WireMessage we could get a PeerMessage or a ViewUpdate.
    
    ViewUpdate tells us about latest blocks (heads) and finalized number with our peers.
    
    We are supposed to be update our peer data with these views.
    
    This commit, reads ViewUpdate from both collation and validation protocol and handles them inside network bridge by updating our peer data. Later, it sends that view to other subsystems so that each subsystem can update their view too.
    
    Fixes #3864
    kishansagathiya committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6f4fb63 View commit details
    Browse the repository at this point in the history