ChainSafe / ChainSafe/gossamer

Availability Recovery: subsystem skeleton

Open
#4,297 0 comments 0 reactions 0 assignees View on GitHub
S-subsystems-availability
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

Create a skeleton code for the implementation of the Availability Recovery subsystem, which is described in the Design proposal for the Availability Recovery subsystem.

Implement next types:
- [ ] Create a new package called `availabilityrecovery`
- [ ] Create AvailbilityRecoverySubsystem struct
- [ ] RecoveryStrategy interface
- [ ] RecoveryParams
- [ ] RecoverySubsystemState and RecoveryHandle
- [ ] Implement messaging with Overseer
- [ ] Import interfaces for network request/response
- [ ] Prepare necessary infrastructure to call AvailabilityStoreMessage::QueryAvailableData and QueryChunkSize
- [ ] Process ActiveLeaves message

## Other information and links
- https://paritytech.github.io/polkadot-sdk/book/node/availability/availability-recovery.html
Look at other skeleton PRs to get an idea of what to code and what will become and TODO and a new issue
- https://github.com/ChainSafe/gossamer/pull/3497
- https://github.com/ChainSafe/gossamer/pull/3521
- https://github.com/ChainSafe/gossamer/pull/3512

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.