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

PeerDAS implementation #5683

Merged
merged 105 commits into from
Aug 27, 2024
Merged

PeerDAS implementation #5683

merged 105 commits into from
Aug 27, 2024

Commits on Feb 5, 2024

  1. 1D PeerDAS prototype: Data format and Distribution (#5050)

    * Build and publish column sidecars. Add stubs for gossip.
    
    * Add blob column subnets
    
    * Add `BlobColumnSubnetId` and initial compute subnet logic.
    
    * Subscribe to blob column subnets.
    
    * Introduce `BLOB_COLUMN_SUBNET_COUNT` based on DAS configuration parameter changes.
    
    * Fix column sidecar type to use `VariableList` for data.
    
    * Fix lint errors.
    
    * Update types and naming to latest consensus-spec #3574.
    
    * Fix test and some cleanups.
    jimmygchen authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    4e7c0d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

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

Commits on Feb 8, 2024

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

Commits on Feb 20, 2024

  1. Merge branch 'unstable' into das

    # Conflicts:
    #	consensus/types/src/chain_spec.rs
    jimmygchen committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    28756da View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Add DataColumnSidecarsByRoot req/resp protocol (#5196)

    * Add stub for `DataColumnsByRoot`
    
    * Add basic implementation of serving RPC data column from DA checker.
    
    * Store data columns in early attester cache and blobs db.
    
    * Apply suggestions from code review
    
    Co-authored-by: Eitan Seri-Levi <eserilev@gmail.com>
    Co-authored-by: Jacob Kaufmann <jacobkaufmann18@gmail.com>
    
    * Fix build.
    
    * Store `DataColumnInfo` in database and various cleanups.
    
    * Update `DataColumnSidecar` ssz max size and remove panic code.
    
    ---------
    
    Co-authored-by: Eitan Seri-Levi <eserilev@gmail.com>
    Co-authored-by: Jacob Kaufmann <jacobkaufmann18@gmail.com>
    3 people authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    ae470d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. feat: add DAS KZG in data col construction (#5210)

    * feat: add DAS KZG in data col construction
    
    * refactor data col sidecar construction
    
    * refactor: add data cols to GossipVerifiedBlockContents
    
    * Disable windows tests for `das` branch. (c-kzg doesn't build on windows)
    
    * Formatting and lint changes only.
    
    * refactor: remove iters in construction of data cols
    
    * Update vec capacity and error handling.
    
    * Add `data_column_sidecar_computation_seconds` metric.
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    jacobkaufmann and jimmygchen authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ab427a0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'unstable' into das

    # Conflicts:
    #	.github/workflows/test-suite.yml
    #	beacon_node/lighthouse_network/src/types/topics.rs
    jimmygchen committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    14a85fe View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

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

Commits on Apr 9, 2024

  1. feat: add peerdas custody field to ENR (#5409)

    * feat: add peerdas custody field to ENR
    
    * add hash prefix step in subnet computation
    
    * refactor test and fix possible u64 overflow
    
    * default to min custody value if not present in ENR
    jacobkaufmann authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    7108c74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5e7e73 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Merge branch 'unstable' into das-unstable-merge-0415

    # Conflicts:
    #	Cargo.lock
    #	beacon_node/beacon_chain/src/data_availability_checker.rs
    #	beacon_node/beacon_chain/src/data_availability_checker/availability_view.rs
    #	beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
    #	beacon_node/beacon_chain/src/data_availability_checker/processing_cache.rs
    #	beacon_node/lighthouse_network/src/rpc/methods.rs
    #	beacon_node/network/src/network_beacon_processor/mod.rs
    #	beacon_node/network/src/sync/block_lookups/tests.rs
    #	crypto/kzg/Cargo.toml
    jimmygchen committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    41d6225 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

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

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    254bb6e View commit details
    Browse the repository at this point in the history
  2. Fix merge conflicts.

    jimmygchen committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    d71dc58 View commit details
    Browse the repository at this point in the history
  3. Send custody data column to DataAvailabilityChecker for determining…

    … block importability (#5570)
    
    * Only import custody data columns after publishing a block.
    
    * Add `subscribe-all-data-column-subnets` and pass custody column count to `availability_cache`.
    
    * Add custody requirement checks to `availability_cache`.
    
    * Fix config not being passed to DAChecker and add more logging.
    
    * Introduce `peer_das_epoch` and make blobs and columns mutually exclusive.
    
    * Add DA filter for PeerDAS.
    
    * Fix data availability check and use test_logger in tests.
    
    * Fix subscribe to all data column subnets not working correctly.
    
    * Fix tests.
    
    * Only publish column sidecars if PeerDAS is activated. Add `PEER_DAS_EPOCH` chain spec serialization.
    
    * Remove unused data column index in `OverflowKey`.
    
    * Fix column sidecars incorrectly produced when there are no blobs.
    
    * Re-instate index to `OverflowKey::DataColumn` and downgrade noisy debug log to `trace`.
    jimmygchen authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    c5bab04 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. DAS sampling on sync (#5616)

    * Data availability sampling on sync
    
    * Address @jimmygchen review
    
    * Trigger sampling
    
    * Address some review comments and only send `SamplingBlock` sync message after PEER_DAS_EPOCH.
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    dapplion and jimmygchen authored Apr 29, 2024
    Configuration menu
    Copy the full SHA
    75eab79 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'unstable' into das

    # Conflicts:
    #	Cargo.lock
    #	Cargo.toml
    #	beacon_node/beacon_chain/src/block_verification.rs
    #	beacon_node/http_api/src/publish_blocks.rs
    #	beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs
    #	beacon_node/lighthouse_network/src/rpc/protocol.rs
    #	beacon_node/lighthouse_network/src/types/pubsub.rs
    #	beacon_node/network/src/sync/block_lookups/single_block_lookup.rs
    #	beacon_node/store/src/hot_cold_store.rs
    #	consensus/types/src/beacon_state.rs
    #	consensus/types/src/chain_spec.rs
    #	consensus/types/src/eth_spec.rs
    jimmygchen committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    6dec0d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    cb11a16 View commit details
    Browse the repository at this point in the history
  2. Re-process early sampling requests (#5569)

    * Re-process early sampling requests
    
    # Conflicts:
    #	beacon_node/beacon_processor/src/work_reprocessing_queue.rs
    #	beacon_node/lighthouse_network/src/rpc/methods.rs
    #	beacon_node/network/src/network_beacon_processor/rpc_methods.rs
    
    * Update beacon_node/beacon_processor/src/work_reprocessing_queue.rs
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    
    * Add missing var
    
    * Beta compiler fixes and small typo fixes.
    
    * Remove duplicate method.
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    dapplion and jimmygchen authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c85c205 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

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

Commits on May 2, 2024

  1. Fix merge conflict.

    jimmygchen committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d5f3562 View commit details
    Browse the repository at this point in the history
  2. Add data columns by root to currently supported protocol list (#5678)

    * Add data columns by root to currently supported protocol list.
    
    * Add missing data column by roots handling.
    jimmygchen authored May 2, 2024
    Configuration menu
    Copy the full SHA
    0644709 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Merge branch 'unstable' into das

    # Conflicts:
    #	Cargo.lock
    #	Cargo.toml
    #	beacon_node/network/src/sync/block_lookups/tests.rs
    #	beacon_node/network/src/sync/manager.rs
    jimmygchen committed May 7, 2024
    Configuration menu
    Copy the full SHA
    a857546 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Fix simulator tests on das branch (#5731)

    * Bump genesis delay in sim tests as KZG setup takes longer for DAS.
    
    * Fix incorrect YAML spacing.
    jimmygchen authored May 8, 2024
    Configuration menu
    Copy the full SHA
    bc190e7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. DataColumnByRange boilerplate (#5353)

    * add boilerplate
    
    * fmt
    eserilev authored May 9, 2024
    Configuration menu
    Copy the full SHA
    bc51e70 View commit details
    Browse the repository at this point in the history
  2. PeerDAS custody lookup sync (#5684)

    * Implement custody sync
    
    * Lint
    
    * Fix tests
    
    * Fix rebase issue
    dapplion authored May 9, 2024
    Configuration menu
    Copy the full SHA
    a970f64 View commit details
    Browse the repository at this point in the history
  3. Add data column kzg verification and update c-kzg. (#5701)

    * Add data column kzg verification and update `c-kzg`.
    
    * Fix incorrect `Cell` size.
    
    * Add kzg verification on rpc blocks.
    
    * Add kzg verification on rpc data columns.
    jimmygchen authored May 9, 2024
    Configuration menu
    Copy the full SHA
    42d97d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe9e5dd View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Fetch custody columns in range sync (#5747)

    * Fetch custody columns in range sync
    
    * Clean up todos
    dapplion authored May 10, 2024
    Configuration menu
    Copy the full SHA
    09d217c View commit details
    Browse the repository at this point in the history
  2. Remove BlobSidecar construction and publish after PeerDAS activated (

    …#5759)
    
    * Avoid building and publishing blob sidecars after PeerDAS.
    
    * Ignore gossip blobs with a slot greater than peer das activation epoch.
    
    * Only attempt to verify blob count and import blobs before PeerDAS.
    jimmygchen authored May 10, 2024
    Configuration menu
    Copy the full SHA
    9f495e7 View commit details
    Browse the repository at this point in the history
  3. #5684 review comments (#5748)

    * #5684 review comments.
    
    * Doc and message update only.
    
    * Fix incorrect condition when constructing `RpcBlock` with `DataColumn`s
    jimmygchen authored May 10, 2024
    Configuration menu
    Copy the full SHA
    c8ea589 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

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

Commits on May 14, 2024

  1. PeerDAS spec tests (#5772)

    * Add get_custody_columns spec tests.
    
    * Add kzg merkle proof spec tests.
    
    * Add SSZ spec tests.
    
    * Add remaining KZG tests
    
    * Load KZG only once per process, exclude electra tests and add missing SSZ tests.
    
    * Fix lint and missing changes.
    
    * Ignore macOS generated file.
    jimmygchen authored May 14, 2024
    Configuration menu
    Copy the full SHA
    4957347 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5570633 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c356c2e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Implement unconditional reconstruction for supernodes (#5781)

    * Implement unconditional reconstruction for supernodes
    
    * Move code into KzgVerifiedCustodyDataColumn
    
    * Remove expect
    
    * Add test
    
    * Thanks justin
    dapplion authored May 15, 2024
    Configuration menu
    Copy the full SHA
    562e9d0 View commit details
    Browse the repository at this point in the history
  2. Add withhold attack mode for interop (#5788)

    * Add withhold attack mode
    
    * Update readme
    
    * Drop added readmes
    
    * Undo styling changes
    dapplion authored May 15, 2024
    Configuration menu
    Copy the full SHA
    178253a View commit details
    Browse the repository at this point in the history
  3. Add column gossip verification and handle unknown parent block (#5783)

    * Add column gossip verification and handle missing parent for columns.
    
    * Review PR
    
    * Fix rebase issue
    
    * more lint issues :)
    
    ---------
    
    Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>
    jimmygchen and dapplion authored May 15, 2024
    Configuration menu
    Copy the full SHA
    4332207 View commit details
    Browse the repository at this point in the history
  4. Trigger sampling on sync events (#5776)

    * Trigger sampling on sync events
    
    * Update beacon_chain.rs
    
    * Fix tests
    
    * Fix tests
    dapplion authored May 15, 2024
    Configuration menu
    Copy the full SHA
    07df74c View commit details
    Browse the repository at this point in the history
  5. PeerDAS parameter changes for devnet-0 (#5779)

    * Update PeerDAS parameters to latest values.
    
    * Lint fix
    
    * Fix lint.
    jimmygchen authored May 15, 2024
    Configuration menu
    Copy the full SHA
    aa80950 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f7e4e9 View commit details
    Browse the repository at this point in the history
  7. Fix incorrect columns per subnet and config cleanup (#5792)

    * Tidy up PeerDAS preset and config values.
    
    * Fix broken config
    jimmygchen authored May 15, 2024
    Configuration menu
    Copy the full SHA
    b64dd9d View commit details
    Browse the repository at this point in the history
  8. Fix DAS branch CI (#5793)

    * Fix invalid syntax.
    
    * Update cli doc. Ignore get_custody_columns test temporarily.
    
    * Fix failing test and add verify inclusion test.
    
    * Undo accidentally removed code.
    jimmygchen authored May 15, 2024
    Configuration menu
    Copy the full SHA
    80892e6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    163e17f View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    500b828 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c3c173 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4946e72 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71520c9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c98bb52 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    a88ca3c View commit details
    Browse the repository at this point in the history
  2. Multithread compute_cells_and_proofs (#5805)

    * Multi-thread reconstruct data columns
    
    * Multi-thread path for block production
    dapplion authored May 17, 2024
    Configuration menu
    Copy the full SHA
    8059c3a View commit details
    Browse the repository at this point in the history
  3. Merge branch 'unstable' into das

    # Conflicts:
    #	.github/workflows/test-suite.yml
    #	beacon_node/network/src/sync/block_lookups/mod.rs
    #	beacon_node/network/src/sync/block_lookups/single_block_lookup.rs
    #	beacon_node/network/src/sync/network_context.rs
    jimmygchen committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e6f17d3 View commit details
    Browse the repository at this point in the history
  4. Fix CI errors.

    jimmygchen committed May 17, 2024
    Configuration menu
    Copy the full SHA
    bebcabe View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Move PeerDAS type-level config to configurable ChainSpec (#5828)

    * Move PeerDAS type level config to `ChainSpec`.
    
    * Fix tests
    jimmygchen authored May 23, 2024
    Configuration menu
    Copy the full SHA
    6965498 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Misc custody lookup improvements (#5821)

    * Improve custody requests
    
    * Type DataColumnsByRootRequestId
    
    * Prioritize peers and load balance
    
    * Update tests
    
    * Address PR review
    dapplion authored May 24, 2024
    Configuration menu
    Copy the full SHA
    656cd8d View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    31c98d9 View commit details
    Browse the repository at this point in the history
  2. Rename deploy_block in network config (das branch) (#5852)

    * Rename deploy_block.txt to deposit_contract_block.txt
    
    * fmt
    
    ---------
    
    Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
    jimmygchen and pawanjay176 authored May 28, 2024
    Configuration menu
    Copy the full SHA
    4e063d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

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

Commits on Jun 4, 2024

  1. Fix CI and merge issues.

    jimmygchen committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    b42249f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'unstable' into das

    # Conflicts:
    #	beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
    #	lcli/src/main.rs
    jimmygchen committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    1b71ec6 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Store data columns individually in store and caches (#5890)

    * Store data columns individually in store and caches
    
    * Implement data column pruning
    dapplion authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    dac580b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'unstable' into das

    # Conflicts:
    #	Cargo.lock
    jimmygchen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    c843ede View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5a5c0e View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Merge branch 'unstable' into das

    # Conflicts:
    #	.github/workflows/test-suite.yml
    jimmygchen committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    14c0d3b View commit details
    Browse the repository at this point in the history
  2. chore: add recover_cells_and_compute_proofs method (#5938)

    * chore: add recover_cells_and_compute_proofs method
    
    * Introduce type alias `CellsAndKzgProofs` to address type complexity.
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    kevaundray and jimmygchen authored Jun 19, 2024
    Configuration menu
    Copy the full SHA
    6ff9480 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Update csc format in ENR and spec tests for devnet-1 (#5966)

    * Update `csc` format in ENR.
    
    * Add spec tests for `recover_cells_and_kzg_proofs`.
    
    * Add tests for ENR.
    
    * Fix failing tests.
    
    * Add protection against invalid csc value in ENR.
    
    * Fix lint
    jimmygchen authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    733b1df View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    5c0ccef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7206909 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    515382e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'stable' into das

    # Conflicts:
    #	beacon_node/network/src/sync/block_lookups/tests.rs
    #	beacon_node/network/src/sync/block_sidecar_coupling.rs
    #	beacon_node/network/src/sync/manager.rs
    #	beacon_node/network/src/sync/network_context.rs
    #	beacon_node/network/src/sync/network_context/requests.rs
    jimmygchen committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    4a6fcde View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

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

Commits on Jul 8, 2024

  1. Add kurtosis config for DAS testing (#5968)

    * Add kurtosis config for DAS testing.
    
    * Fix invalid yaml file
    
    * Update network parameter files.
    jimmygchen authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6a3f88f View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. chore: add rust PeerdasKZG crypto library for peerdas functionality a…

    …nd rollback c-kzg dependency to 4844 version (#5941)
    
    * chore: add recover_cells_and_compute_proofs method
    
    * chore: add rust peerdas crypto library
    
    * chore: integrate peerdaskzg rust library into kzg crate
    
    * chore(multi):
    
    - update `ssz_cell_to_crypto_cell`
    - update conversion from the crypto cell type to a Vec<u8>. Since the Rust library defines them as references to an array, the conversion is simply `to_vec`
    
    * chore(multi):
    
    - update rest of code to handle the new crypto `Cell` type
    - update test case code to no longer use the Box type
    
    * chore: cleanup of superfluous conversions
    
    * chore: revert c-kzg dependency back to v1
    
    * chore: move dependency into correct order
    
    * chore: update rust dependency
    
    - This version includes a new method `PeerDasContext::with_num_threads`
    
    * chore: remove Default initialization of PeerDasContext and explicitly set the parameters in `new_from_trusted_setup`
    
    * chore: cleanup exports
    
    * chore: commit updated cargo.lock
    
    * Update Cargo.toml
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    
    * chore: rename dependency
    
    * chore: update peerdas lib
    
    - sets the blst version to 0.3 so that it matches whatever lighthouse is using. Although 0.3.12 is latest, lighthouse is pinned to 0.3.3
    
    * chore: fix clippy lifetime
    
    - Rust doesn't allow you to elide the lifetime on type aliases
    
    * chore: cargo clippy fix
    
    * chore: cargo fmt
    
    * chore: update lib to add redundant checks (these will be removed in consensus-specs PR 3819)
    
    * chore: update dependency to ignore proofs
    
    * chore: update peerdas lib to latest
    
    * update lib
    
    * chore: remove empty proof parameter
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    kevaundray and jimmygchen authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    094ee60 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Update PeerDAS interop testnet config (#6069)

    * Update interop testnet config.
    
    * Fix typo and remove target peers
    jimmygchen authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bf300b3 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    018f382 View commit details
    Browse the repository at this point in the history
  2. Various fixes to custody range sync (#6004)

    * Only start requesting batches when there are good peers across all custody columns to avoid spaming block requests.
    
    * Add custody peer check before mutating `BatchInfo` to avoid inconsistent state.
    
    * Add check to cover a case where batch is not processed while waiting for custody peers to become available.
    
    * Fix lint and logic error
    
    * Fix `good_peers_on_subnet` always returning false for `DataColumnSubnet`.
    
    * Add test for `get_custody_peers_for_column`
    
    * Revert epoch parameter refactor.
    
    * Fall back to default custody requiremnt if peer ENR is not present.
    
    * Add metrics and update code comment.
    
    * Add more debug logs.
    
    * Use subscribed peers on subnet before MetaDataV3 is implemented. Remove peer_id matching when injecting error because multiple peers are used for range requests. Use randomized custodial peer to avoid repeatedly sending requests to failing peers. Batch by range request where possible.
    
    * Remove unused code and update docs.
    
    * Add comment
    jimmygchen authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    55a3be7 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. chore: update peerdas-kzg library (#6118)

    * chore: update peerDAS lib
    
    * chore: update library
    
    * chore: update library to version that include "init context" benchmarks and optional validation checks
    
    * chore: (can remove) -- Add benchmarks for init context
    kevaundray authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    04d9eef View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

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

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    14c7302 View commit details
    Browse the repository at this point in the history
  2. Fix merge conflicts

    dapplion committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    b148c4b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    37dd0ea View commit details
    Browse the repository at this point in the history
  2. chore: Use reference to an array representing a blob instead of an ow…

    …ned KzgBlob (#6179)
    
    * add KzgBlobRef type
    
    * modify code to use KzgBlobRef
    
    * clippy
    
    * Remove Deneb blob related changes to maintain compatibility with `c-kzg-4844`.
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    kevaundray and jimmygchen authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8c78010 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Store computed custody subnets in PeerDB and fix custody lookup test (#…

    …6218)
    
    * Fix failing custody lookup tests.
    
    * Store custody subnets in PeerDB, fix custody lookup test and refactor some methods.
    jimmygchen authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    90700fe View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Merge branch 'unstable' into das

    # Conflicts:
    #	beacon_node/beacon_chain/src/beacon_chain.rs
    #	beacon_node/beacon_chain/src/block_verification_types.rs
    #	beacon_node/beacon_chain/src/builder.rs
    #	beacon_node/beacon_chain/src/data_availability_checker.rs
    #	beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
    #	beacon_node/beacon_chain/src/data_column_verification.rs
    #	beacon_node/beacon_chain/src/early_attester_cache.rs
    #	beacon_node/beacon_chain/src/historical_blocks.rs
    #	beacon_node/beacon_chain/tests/store_tests.rs
    #	beacon_node/lighthouse_network/src/discovery/enr.rs
    #	beacon_node/network/src/service.rs
    #	beacon_node/src/cli.rs
    #	beacon_node/store/src/hot_cold_store.rs
    #	beacon_node/store/src/lib.rs
    #	lcli/src/generate_bootnode_enr.rs
    jimmygchen committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    697498a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b638019 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Batch sampling requests by peer (#6256)

    * Batch sampling requests by peer
    
    * Fix clippy errors
    
    * Fix tests
    
    * Add column_index to error message for ease of tracing
    
    * Remove outdated comment
    ackintosh authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7ee3780 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06e34c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Merge branch 'unstable' into das-0821-merge

    # Conflicts:
    #	Cargo.lock
    #	Cargo.toml
    #	beacon_node/beacon_chain/src/beacon_chain.rs
    #	beacon_node/beacon_chain/src/data_availability_checker.rs
    #	beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
    #	beacon_node/beacon_chain/src/data_column_verification.rs
    #	beacon_node/beacon_chain/src/kzg_utils.rs
    #	beacon_node/beacon_chain/src/metrics.rs
    #	beacon_node/beacon_processor/src/lib.rs
    #	beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs
    #	beacon_node/lighthouse_network/src/rpc/config.rs
    #	beacon_node/lighthouse_network/src/rpc/methods.rs
    #	beacon_node/lighthouse_network/src/rpc/outbound.rs
    #	beacon_node/lighthouse_network/src/rpc/rate_limiter.rs
    #	beacon_node/lighthouse_network/src/service/api_types.rs
    #	beacon_node/lighthouse_network/src/types/globals.rs
    #	beacon_node/network/src/network_beacon_processor/mod.rs
    #	beacon_node/network/src/network_beacon_processor/rpc_methods.rs
    #	beacon_node/network/src/network_beacon_processor/sync_methods.rs
    #	beacon_node/network/src/sync/block_lookups/common.rs
    #	beacon_node/network/src/sync/block_lookups/mod.rs
    #	beacon_node/network/src/sync/block_lookups/single_block_lookup.rs
    #	beacon_node/network/src/sync/block_lookups/tests.rs
    #	beacon_node/network/src/sync/manager.rs
    #	beacon_node/network/src/sync/network_context.rs
    #	consensus/types/src/data_column_sidecar.rs
    #	crypto/kzg/Cargo.toml
    #	crypto/kzg/benches/benchmark.rs
    #	crypto/kzg/src/lib.rs
    jimmygchen committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2aafe30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e19984 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15d0f15 View commit details
    Browse the repository at this point in the history
  4. Fix failing sampling test.

    jimmygchen committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    481ebc1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #6287 from jimmygchen/das-0821-merge

    Merge `unstable` into `das` 20240821
    jimmygchen authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    e05d7ba View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    ea331a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    888c607 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    488a083 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d588661 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93329c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e049294 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c44bc0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3c4b7f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Unignore Electra tests

    michaelsproul committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    45b3203 View commit details
    Browse the repository at this point in the history
  2. Fix metric name

    michaelsproul committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    63a39b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77caa97 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    7db3e1c View commit details
    Browse the repository at this point in the history
  2. Update PeerDAS network parameters for peerdas-devnet-2 (#6290)

    * update subnet count & custody req
    
    * das network params
    
    * update ef tests
    
    ---------
    
    Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
    eserilev and jimmygchen authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2c16052 View commit details
    Browse the repository at this point in the history