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

feat: implement peerDAS on electra #6353

Draft
wants to merge 42 commits into
base: unstable
Choose a base branch
from
Draft

feat: implement peerDAS on electra #6353

wants to merge 42 commits into from

Commits on Aug 9, 2024

  1. feat: placeholder PR for electra

    add types stub and epoch config
    
    fix types
    g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    4805a2e View commit details
    Browse the repository at this point in the history
  2. feat: implement peerDAS on electra

    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
    g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    499d93c View commit details
    Browse the repository at this point in the history
  3. fix: docker build issue for c-kzg

    wip: REPLACE THIS COMMIT
    
    commit yarn lock
    
    rebase fixes
    
    fix: update c-zkg install workflow
    
    feat: add trustedSetupPrecompute cli flag
    
    fix: update trusted-setup for testing
    
    fix: update c-zkg install workflow to remove sudo
    
    fix: add rsync to apk deps
    matthewkeil authored and g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    156ef53 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    47eedae View commit details
    Browse the repository at this point in the history
  5. feat: add the modifications to work with devnet2

    some network options to control peering behavior
    
    allow setting node custody capability via --params
    
    use eip754 names for the peerdas config
    g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    d423004 View commit details
    Browse the repository at this point in the history
  6. fix: refactor to add and use nodeid computation and clear out nodeid …

    …tracking
    
    nodeid cleanup for network
    g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    a0c5d27 View commit details
    Browse the repository at this point in the history
  7. fix the types/test

    rebase fixes
    g11tech committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    c7f6341 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. feat: add and use metadatav3 for peer custody subnet

    fixes for metadata, working locally
    
    change the condition to update metadata csc change
    g11tech committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    81aaeb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    e6c613f View commit details
    Browse the repository at this point in the history
  2. add supernode flag to configure node custody requirement and make it …

    …not required for validator
    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a3533f8 View commit details
    Browse the repository at this point in the history
  3. add more info for debugging

    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    54579b0 View commit details
    Browse the repository at this point in the history
  4. fix log

    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    180f7d8 View commit details
    Browse the repository at this point in the history
  5. fix bug

    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    4b6f167 View commit details
    Browse the repository at this point in the history
  6. fx

    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ae7678e View commit details
    Browse the repository at this point in the history
  7. subnet count 128

    g11tech committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a33a72f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    585165e View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    2833ac0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    bf08852 View commit details
    Browse the repository at this point in the history
  2. add debug log

    g11tech committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    006e781 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    aece0ab View commit details
    Browse the repository at this point in the history
  2. add more log

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    387da88 View commit details
    Browse the repository at this point in the history
  3. add cache tracking

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2bc1a0d View commit details
    Browse the repository at this point in the history
  4. trying some fix

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    5e1de6f View commit details
    Browse the repository at this point in the history
  5. fix bug

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d7721f8 View commit details
    Browse the repository at this point in the history
  6. more log

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    bd84892 View commit details
    Browse the repository at this point in the history
  7. add send more log

    g11tech committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    de341b5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8c21168 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    d35873e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7571f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74d8122 View commit details
    Browse the repository at this point in the history
  4. some fixes

    g11tech committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    af933fb View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    56c8c6e View commit details
    Browse the repository at this point in the history
  2. datacolumns retrival fix

    g11tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    2b10e4d View commit details
    Browse the repository at this point in the history
  3. update compute spec tests

    g11tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    cdd9bae View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. fix the column id compute

    g11tech committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c4d04ee View commit details
    Browse the repository at this point in the history
  2. more debug log

    g11tech committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3470076 View commit details
    Browse the repository at this point in the history
  3. edge case optimization

    g11tech committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4ec7aff View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. feat: refactor and unit test getDataColumnSidecars (#7072)

    * refactor: getDataColumnSidecars
    
    * test: unit test getDataColumnSidecars with mocks from c-kzg library
    
    * refactor: use fromHex util
    
    * chore: update numbering on mocks
    
    * chore: update c-kzg to latest version
    
    * chore: fix type export syntax
    
    * test: add verification for cells from sidecars
    
    * test: add verification to DataColumnSidecars tests
    
    * refactor: getDataColumnSidecars for PR comments
    
    * feat: narrow type and remove unnecessary conditional
    
    * fix: getDataColumnSidecars param type
    
    * refactor: rename to computeDataColumnSidecars
    matthewkeil committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    a33303f View commit details
    Browse the repository at this point in the history
  2. feat: update ckzg to final DAS version (#7050)

    * feat: update c-kzg to final DAS version
    
    * refactor: use trusted-setup from c-kzg package
    matthewkeil committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    bd4f7f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. fix: remove ckzg build script (#7089)

    * fix: remove unused ckzg build script
    
    * fix: remove unused rsync dep from Dockerfile
    matthewkeil committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    b1940ee View commit details
    Browse the repository at this point in the history
  2. feat: validate data column sidecars (#7073)

    * feat: update c-kzg to final DAS version
    
    * refactor: use trusted-setup from c-kzg package
    
    * feat: implement validateDataColumnsSidecars
    
    * feat: check block and column commitments match
    
    * test: add unit test for validateDataColumnsSidecars
    
    * fix: invalid build and update validity condition of validateDataColumnsSidecars
    
    * fix: make error messages better
    
    * fix: electra vs peerdas type conflict
    matthewkeil committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    20ef4c6 View commit details
    Browse the repository at this point in the history
  3. validate inclusion proof

    g11tech committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    fee7c08 View commit details
    Browse the repository at this point in the history