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

feat(gossip-support) handle active leaves #4507

Open
1 task
EclesioMeloJunior opened this issue Jan 27, 2025 · 0 comments
Open
1 task

feat(gossip-support) handle active leaves #4507

EclesioMeloJunior opened this issue Jan 27, 2025 · 0 comments
Labels
C-complex Complex changes across multiple modules. Possibly will require additional research. S-subsystems-common

Comments

@EclesioMeloJunior
Copy link
Member

EclesioMeloJunior commented Jan 27, 2025

Description

  • Given the current values in the state, last failure and last connection request, the subsystem should force new requests or re-resolve authorities
  • Determine if the current session index has changed, if so determine relevant validators and issue connection request. The subsystem should change the last sesison index value only if it is possible to retrieve the new session info.
    • Don't need to implement update_gossip_topology, get_key_index_and_update_metrics (handled by other issues)
  • If we notice that a new session is starting we should update our authority ids cache and send a NetworkBridgeRxMessage::UpdatedAuthorityIds message with informations about the new set of authorities.

Links

https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/node/network/gossip-support/src/lib.rs

Acceptance Criteria

  • Unit test for the handler
@EclesioMeloJunior EclesioMeloJunior added C-complex Complex changes across multiple modules. Possibly will require additional research. S-subsystems-common labels Jan 27, 2025
@EclesioMeloJunior EclesioMeloJunior changed the title feat(gossip-support) implement handle active leaves feat(gossip-support)handle active leaves Jan 27, 2025
@EclesioMeloJunior EclesioMeloJunior changed the title feat(gossip-support)handle active leaves feat(gossip-support) handle active leaves Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-complex Complex changes across multiple modules. Possibly will require additional research. S-subsystems-common
Projects
None yet
Development

No branches or pull requests

1 participant