feat(da): introduce minimal PeerDAS Data Availability client#1404
Draft
tosynthegeek wants to merge 1 commit into
Draft
feat(da): introduce minimal PeerDAS Data Availability client#1404tosynthegeek wants to merge 1 commit into
tosynthegeek wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong?
This PR adds a standalone
ream-dabinary focused entirely on the data layer no fork choice, no execution, no validator duties.How was it fixed?
Built a minimal PeerDAS supernode that connects to an existing beacon client, custodies all 128 data columns, and performs erasure reconstruction
data_column_sidecar_*gossip topics using fork digest fetched from beacon ENR at startupConsensusClienttrait for integration with any minimal beacon clientFixes made:
column_index/row_indexinrecover_matrixoutput causing panicB32fork digest hex parsing failure (FromHexexpects 64 chars, digest is 8)FULU_FORK_EPOCHinstead of reading fromnetwork_stateupsert_peerfor outbound connections causing peer responses to be droppedTo-Do