160 Commits

Author SHA1 Message Date
Justin Traglia
eb7518a627
Merge remote-tracking branch 'upstream/dev' into custody-group 2024-12-03 15:14:01 -06:00
Justin Traglia
e519845eb9
Merge branch 'dev' into delete-trailing-whitespace 2024-12-02 08:58:08 -06:00
Suphanat Chunhapanya
cb14356bc2 Merge branch 'dev' into custody-group 2024-11-27 19:08:47 +07:00
Hsiao-Wei Wang
f67e6cc359
update tests 2024-11-13 14:23:23 +07:00
Justin Traglia
68d32accf9
Delete trailing whitespace for markdown files 2024-10-11 07:54:50 -05:00
Justin Traglia
8cfe8fb7a6
Re-order kzg tests 2024-10-09 14:32:17 -05:00
Justin Traglia
81a0f435f6
Fix invalid file references in markdown files 2024-10-09 14:31:08 -05:00
Justin Traglia
ad42273440
Use pending_deposits format for both test files 2024-10-04 11:58:58 -05:00
Suphanat Chunhapanya
cbc4b5530f EIP-7594: Decouple network subnets from das-core
Currently we use subnets as a unit of custody in the PeerDAS core
protocol because it doesn't make sense to partially custody only some
columns in the subnets and waste the bandwidth to download the columns
the node doesn't custody.

Since subnets correspond to GossipSub topics which are in a layer lower
than the core protocol, using subnets as a unit of custody makes the
core layer and the network layer too coupled to each other and leave no
room for the network layer flexibility.

This commit introduces "custody groups" which are used a unit of custody
instead of subnets.

The immediate benefit of the decoupling is that we can immediately
increase the number of subnets without affecting the expected number of
peers to cover all columns and affecting the network stability and
without touching the core protocol.

The reason we want to increase the number of subnets to match the number
of columns is that the columns will be propagated through the network
faster when they have their own subnets. Just like EIP-4844, each
blob has its own subnet because, if all the blobs are in a single subnet,
the blobs will be propagated more slowly.

Since we keep the number of custody groups the same as the previous
number of subnets (32), the expected number of peers you need to cover
all the columns is not changed. In fact, you need only NUMBER_OF_COLUMNS
and NUMBER_OF_CUSTODY_GROUPS to analyze the expected number, which
makes the core protocol completely decoupled from the network layer.
2024-10-04 11:20:45 +07:00
Hsiao-Wei Wang
b394b27e2b
Merge pull request #3848 from ethereum/jtraglia-eip7594-format-fix
Update description for test format
2024-08-02 11:42:41 +09:00
Agnish Ghosh
31c23f8dbf
Remove compute_cells test format 2024-07-31 12:09:16 -05:00
Justin Traglia
f3dcc597e4
Update description for test format 2024-07-18 16:18:30 -05:00
Justin Traglia
252b852a61
Rename column_index to cell_index in KZG spec (#3841)
* Rename column_index to cell_index in KZG spec

* Fix table of contents

* Replace list(set()) with set()

* Change coset_evals to cell_indices in some places

* Remove punctuation in table description

* Remove "row" from comments & improve docstring

* Replace unique with deduplicated
2024-07-15 19:41:33 +03:00
George Kadianakis
dc5f74da0e
Merge pull request #3830 from jtraglia/remove-verify-cell-kzg-proof
Remove `verify_cell_kzg_proof` (non-batch)
2024-07-10 19:49:58 +03:00
Justin Traglia
9a9fa965b0
In batch cell verification, take commitment for each cell (#3834) 2024-07-10 10:41:37 -05:00
Justin Traglia
c078a97f0c Remove verify_cell_kzg_proof (non-batch) 2024-07-02 15:38:15 -05:00
kevaundray
a3a6c916b2
Remove proof parameter from recover_cells_and_kzg_proofs (#3819) 2024-06-27 14:17:14 -05:00
Justin Traglia
d137553f96 Rename CellID to CellIndex 2024-06-11 07:41:52 -05:00
Justin Traglia
5ace424cd8
recover_cells_and_kzg_proofs & matrix refactor (#3788)
* Recover cells and proofs & matrix clean up

* Fix table of contents

* Update reference tests generator

* Update test format

* Remove unused imports

* Fix some minor nits

* Rename MatrixEntry's proof to kzg_proof

* Move RowIndex & ColumnIndex to das-core
2024-06-11 14:52:24 +03:00
Preston Van Loon
5910aeed4d Rename ExecutionLayerConsolidationRequest->ConsolidationRequest 2024-06-05 15:12:56 -05:00
Preston Van Loon
2e6c59393f Rename ExecutionLayerWithdrawalRequest->WithdrawalRequest 2024-06-05 15:12:56 -05:00
Hsiao-Wei Wang
12d95da0da
Merge branch 'dev' into pr3757 2024-06-05 00:42:37 +08:00
Hsiao-Wei Wang
ffebf88de5
Fix testgen and test format 2024-05-31 19:50:59 +08:00
fradamt
6b6936836a Revert "minor fixes, doctoc"
This reverts commit dc2a2bd85ae1e8c7c2e426faba3167069ef548a5.
2024-05-21 22:54:25 +02:00
fradamt
dc2a2bd85a minor fixes, doctoc 2024-05-21 22:30:14 +02:00
Mikhail Kalinin
d8c486bcc5 Rename DepositReceipt to DepositRequest 2024-05-07 23:34:03 +06:00
Hsiao-Wei Wang
c9e0e6d5df
Add a short node_id test 2024-05-07 21:47:16 +08:00
Justin Traglia
b4188829b3 Rename compute_cells_and_proofs to compute_cells_and_kzg_proofs 2024-04-25 21:57:22 -05:00
Justin Traglia
ac1ce3b3f0 Rename verify_cell_proof to verify_cell_kzg_proof 2024-04-25 17:31:22 -05:00
Hsiao-Wei Wang
e1d71216bb
Merge pull request #3715 from ethereum/das-test-vectors
Make `get_custody_columns` return sorted values and add `get_custody_columns` tests
2024-04-25 03:01:51 +08:00
Hsiao-Wei Wang
b25740052a
Apply suggestions from code review
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-24 18:40:56 +08:00
Justin Traglia
731caf8573
Rename formats/kzg to formats/kzg_4844 (#3716) 2024-04-23 15:01:09 -05:00
Justin Traglia
e514ac6328 Add kzg_7594 test formats 2024-04-23 10:15:21 -05:00
Hsiao-Wei Wang
57c14e5400
Add get_custody_columns tests 2024-04-23 20:21:33 +08:00
Hsiao-Wei Wang
cd91c04066
Merge branch 'dev' into init-electra 2024-04-04 22:49:53 +09:00
Alex Stokes
7d595a7091
Update single_merkle_proof.md
Typo in file name suggesting the wrong format
2024-03-28 07:48:52 -06:00
Hsiao-Wei Wang
507bab6d8a
update eip7002 operation tests to testgen 2024-03-06 14:31:52 +08:00
Hsiao-Wei Wang
6ffd27bd60
Rename EIP6110 to Electra 2024-03-06 13:38:49 +08:00
Hsiao-Wei Wang
4fe36dec58
Add transition test case of non-empty pre-state historical_roots 2024-01-18 00:10:45 +08:00
danny
c6f7adf319
Merge pull request #3531 from dapplion/blob-p2p-proof
Add blob sidecar inclusion proof
2023-11-02 09:56:08 -06:00
Hsiao-Wei Wang
1bac25a623
Add Merkle proof test 2023-10-31 01:29:30 +08:00
Hsiao-Wei Wang
b9285b8fe7
Add validator_is_connected 2023-10-26 23:51:05 +08:00
Michael Sproul
9ce8e3d6e9
Update test format. Add get_proposer_head 2023-10-26 23:50:46 +08:00
Hsiao-Wei Wang
35d444b9d2
Update test format and output should_override_forkchoice_update result 2023-10-25 02:10:55 +08:00
Hsiao-Wei Wang
56d6d1a51e
Merge pull request #3463 from ethereum/deneb-fc-tests-take-2
Deneb fork choice tests - take 2
2023-08-03 21:40:24 +08:00
Potuz
b30990330f Danny's fix 2023-08-02 14:16:31 -03:00
Potuz
7ba238a1e8 fix test format descrition 2023-08-02 10:40:10 -03:00
Hsiao-Wei Wang
39134d594a
Change it back to allow empty blobs list file 2023-07-31 19:47:53 +08:00
Hsiao-Wei Wang
85b0ae854f
handle len(blobs) == 0 case 2023-07-27 23:13:49 +08:00
Hsiao-Wei Wang
2210cea734
Add deneb fc tests and update test format 2023-07-25 22:29:12 +08:00