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

chore: integrate peerdas-kzg #6923

Draft
wants to merge 25 commits into
base: peerDAS
Choose a base branch
from

Conversation

kevaundray
Copy link

Motivation

This is a Draft PR to experiment with integrating the rust peerdas-kzg library alongside c-kzg.

Currently playing around with the API to understand how things are integrated into lodestar.

Current notes:

  • The synchronous methods are used for backwards compatibility but async methods are available.

Description

Closes #issue_number

Steps to test or reproduce

g11tech and others added 14 commits June 25, 2024 18:57
add types stub and epoch config

fix types
add some presets

add further params and types

add data column to types repo and network

move to max request data columns to preset

add the datacolumns data in blockinput and fix breaking errors in seen gossip blockinput

handle data columns in gossip and the seengossip

further propagate forkaware blockdata and resolve build/type issues

further handle datacolumns sync by range by root and forkaware data handling

fix issues

chore: update c-kzg to peerDas version

feat: add peerDas ckzg functions to interface

fix the lookups

handle the publishing flow

various sync try fixes

fixes

compute blob side car

various misl debuggings and fixes

debug and apply fixes and get range and by root sync to work will full custody

enable syncing with lower custody requirement

use node peerid rather than a dummy string

get and use the nodeid from enr and correctly compute subnets and column indexes

filterout and connect to peers only matching out custody requiremnt

try adding custody requirement

add protection for subnet calc

get the sync working with devnet 0

correctly set the enr with custody subnet info

rebase fixes

small refactor
wip: REPLACE THIS COMMIT

commit yarn lock
@CLAassistant
Copy link

CLAassistant commented Jun 30, 2024

CLA assistant check
All committers have signed the CLA.

@kevaundray kevaundray changed the title chore: Integrate peerdas-kzg chore: integrate peerdas-kzg Jun 30, 2024
@g11tech g11tech force-pushed the peerDAS branch 2 times, most recently from 8613c6c to c7f6341 Compare August 9, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants