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(parachain/availability-distribution): handle AvailabilityDistributionMessageFetchPoV #4489

Open
1 task
Tracked by #3598
haikoschol opened this issue Jan 21, 2025 · 0 comments
Open
1 task
Tracked by #3598
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-availability issues related to polkadot host availability subsystem functionality. T-implementation this issue/pr is a new feature or functionality.

Comments

@haikoschol
Copy link
Contributor

Issue summary

This is an internal message from the backing subsystem, instructing the availability distribution subsystem to fetch a PoV for a given candidate from a specific validator.

Implementation details

Retrieve the session info either from cache or from the runtime. Retrieve the authority ID from the discovery keys in the session info, using the validator index included in AvailabilityDistributionMessageFetchPoV. Send a PoVFetchingRequest via the overseer to the network bridge. Send the response back over the channel included in parachaintypes.AvailabilityDistributionMessageFetchPoV.

The implementation depends on support for sending requests of request/response network protocols being implemented. This is tracked in #4448.

Other information and links

Acceptance criteria

  • New code is 60% covered with unit tests
@haikoschol haikoschol added C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-availability issues related to polkadot host availability subsystem functionality. T-implementation this issue/pr is a new feature or functionality. labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-availability issues related to polkadot host availability subsystem functionality. T-implementation this issue/pr is a new feature or functionality.
Projects
None yet
Development

No branches or pull requests

1 participant