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

Implement Subnet Sampling for PeerDAS #6410

Open
wants to merge 5 commits into
base: unstable
Choose a base branch
from

Conversation

jimmygchen
Copy link
Member

Issue Addressed

Addresses #6409

Proposed Changes

  • Add SAMPLES_PER_SLOT: 8 config.
  • Rename sampling module to peer_sampling.
  • Implement subnet sampling.

Additional Info

This PR is basically a bunch of renames, because we basically treat sampling the same as custody:

  • we need all samples for making block available
  • we require all samples during sync

With the exception that sampling subnets are not advertised in metadata and ENR. The additional sampling data may not need to be stored, however this is not currently defined in spec and will be clarified later.

@jimmygchen jimmygchen added ready-for-review The code is ready for review das Data Availability Sampling labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
das Data Availability Sampling ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant