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

Handle Active Leaves update in collator protocol #3829

Commits on Mar 28, 2024

  1. Collator Protocol Collator Side Skeleton

    This commit introduces collator side of the collator protocol. This is just a skeleton that
    - implements the SubSystem interface for the new subsystem
    - registers it
    - add common methods like processMessage
    
    linked to issue #3824
    kishansagathiya committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    ade5e1e View commit details
    Browse the repository at this point in the history
  2. Emit network events and handle them in collator protocol

    Subsystems needs to know about the peers in collation and validation protocol.
    This commit
    - adds logic to network package for emitting network events when a new peer joins or a peer disconnects.
    - introduces a method to get a channel that will give us network events.
    - make collator protocol validator side listen to these events and react to it by editing its peer data
    
    Linked to issue #3515
    kishansagathiya committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    64d91dc View commit details
    Browse the repository at this point in the history
  3. update mocks

    kishansagathiya committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    3a0dae1 View commit details
    Browse the repository at this point in the history
  4. Handle Active Leaves update in collator protocol

    Handling active leaves updates are quite important in collator protocol since
    - It tells us which relay parents to remove or add
    - which candidates to add or remove
    - Most importantly it leads us to letting us know as a validator which parachain we are assigned to.
    
    This commit add logic to react to active leaves update by
    - updating view
    - updating active leaves
    - updating our parachain assignments
    
    linked to issue #3515
    kishansagathiya committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    4e65270 View commit details
    Browse the repository at this point in the history
  5. small modifications

    kishansagathiya committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    968b67c View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Update dot/parachain/collator-protocol/validator_side.go

    Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
    kishansagathiya and EclesioMeloJunior authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    609a8fe View commit details
    Browse the repository at this point in the history
  2. Update dot/parachain/collator-protocol/validator_side.go

    Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
    kishansagathiya and EclesioMeloJunior authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    8710b77 View commit details
    Browse the repository at this point in the history
  3. addressed reviews

    kishansagathiya committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    77e1375 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kishan/feat/active-leaves-update-collator-protocol' of …

    …github.com:ChainSafe/gossamer into kishan/feat/active-leaves-update-collator-protocol
    kishansagathiya committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    ead0662 View commit details
    Browse the repository at this point in the history
  5. more changes

    kishansagathiya committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    c272a70 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. more changes

    kishansagathiya committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    c12ba32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10c6789 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    73471d0 View commit details
    Browse the repository at this point in the history
  2. fix merge error

    kishansagathiya committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    182eef3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ff2775 View commit details
    Browse the repository at this point in the history
  4. make license

    kishansagathiya committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    8d01eec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    07cad17 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. fixing lint

    kishansagathiya committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    b0b2c8d View commit details
    Browse the repository at this point in the history