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: add SessionGridTopology and dependencies to calculate neighbours #4551

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

Conversation

P1sar
Copy link
Member

@P1sar P1sar commented Feb 20, 2025

Changes

Add SessionGridTopology
Add 2D matrix Neighbours calculations
Add sessionGridToplogyStorage
Added all necessary GridTopology methods for statement distribution.
Cut couple corners with not implementing functions that are not used anywhere + haven ot implemented RandomRouting, it is rather should be implemented within Bitfield distribution or ApprovalDistribution.
As well as I have not implemented SessionGridTopologies but those used only in ApprovalDistribution which is out of scope for Validator MVP.

Tests

go test -tags integration github.com/ChainSafe/gossamer

Issues

Closes: #4454

@P1sar P1sar changed the base branch from development to feat/parachain February 21, 2025 12:59
@P1sar P1sar marked this pull request as ready for review February 21, 2025 17:36
Copy link
Member

@EclesioMeloJunior EclesioMeloJunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@P1sar P1sar requested a review from axaysagathiya March 3, 2025 12:57
Co-authored-by: Axay Sagathiya <axaysagathiya@gmail.com>
@P1sar P1sar requested a review from axaysagathiya March 3, 2025 14:28
Copy link
Contributor

@axaysagathiya axaysagathiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Session Grid Topology
3 participants