-
Notifications
You must be signed in to change notification settings - Fork 743
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
Add PeerDAS DataColumn type #5913
Conversation
89bcc3e
to
50dab54
Compare
There has been very little interest in progressively merging PeerDAS in atomic PRs so I wave a white flag and join the group of yoloing |
I thought I already waved mine a while ago 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for dragging my feet on this. Would very much prefer the split up PRs.
This looks mostly good
What a comeback! 🔥 We should include Kev's lib in this PR to have mock crypto |
Co-authored-by: Jacob Kaufmann <jacobkaufmann18@gmail.com> Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
50dab54
to
8ddc6c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
type KzgCommitmentInclusionProofDepth = U17; | ||
type KzgCommitmentsInclusionProofDepth = U4; // inclusion of the whole list of commitments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noting that the naming here is really confusing (w.r.t KzgCommitmentInclusionProofDepth
) and has a potential for logic errors. Maybe we can address the naming in the spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 15985b8 |
Issue Addressed
First step to progressively merge
das
intounstable
. Almost all changes use theDataColumnSidecar
type so its a pre-requisite for anything else.DataColumnSidecar
includes some methods that require a newer version ofckzg-4844
. Currently, these changes live in the das branch https://github.com/ethereum/c-kzg-4844/tree/das. I propose to merge theDataColumnSidecar
with no-op crypto untilc-kzg-4844
changes land on main, which should happen in < 2 months.Since this PR does not introduce any actual functionality of PeerDAS it does not make a big difference to have the actual crypto backend. Once we merge enough pieces of the
das
branch to be able to run a PeerDAS node we can switch toc-kzg-4844/das
.Proposed Changes
Introduce the
DataColumnSidecar
type fromUpstream PRs
c-kzg
. #5701recover_cells_and_compute_proofs
method #5938