Commit Graph

9407 Commits

Author SHA1 Message Date
Csaba Kiraly 2ab4f1e12e
get_extended_sample_count: use SAMPLES_PER_SLOT constant
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-10 11:16:06 +02:00
Csaba Kiraly 4c57399887
self-contained get_extended_sample_count
Importing scipy is not preferred. This is a self-contained
version. Eventually an import of math and use of math.comb
makes it simpler.
Solving other formatting issues as well.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-04 09:41:29 +02:00
Csaba Kiraly 436e58e3f8
add get_extended_sample_count helper function
add LossyDAS sample count generation helper function

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 14:27:31 +02:00
Csaba Kiraly 5f3beca871
remove LossyDAS naming from spec
While the technique was introduced as LossyDAS, we don't need the name
in the specification itself.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:08:52 +02:00
Csaba Kiraly a04cd87c38
fix the (source-view) formatting of the table
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:04:10 +02:00
Csaba Kiraly 4e1d566c43
improve candidate peer text
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:01:50 +02:00
Hsiao-Wei Wang 7b4d23c0ba
fix toc 2024-05-28 22:57:52 +08:00
Csaba Kiraly 8d332788b9
clarify the use of LossyDAS
Clarify that what matters is the false positive threshold, allowing
different sampling strategies as protocol compliant behavior.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-28 13:54:27 +02:00
Csaba Kiraly b848ca6dc7
improved sampling description
- describe sample selection
- describe sample queries

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-28 13:54:27 +02:00
Hsiao-Wei Wang 071f0a3097
Merge pull request #3769 from ethDreamer/fix_compute_proposer_index
Electra: Properly Calculate Proposer Probabilities
2024-05-28 11:40:50 +08:00
Alex Stokes 836bc43a06
Merge pull request #3773 from terencechain/fix-new-feature-link
Fix broken links for `new-feature.md`
2024-05-22 13:16:51 +02:00
Hsiao-Wei Wang f968d62459
Merge pull request #3774 from terencechain/rm-deneb-all-phases
Remove Deneb from all phases
2024-05-21 11:19:49 +08:00
terence tsao eb380c1e83 Remove Deneb from all phases 2024-05-20 12:25:29 -07:00
terence tsao c685a6574c Fix broken links for new-feature.md 2024-05-20 12:18:52 -07:00
Hsiao-Wei Wang 0f5f155d1b
fix typo (#3771) 2024-05-17 14:38:58 +08:00
Mikhail Kalinin 32b441d381
Fix lint 2 2024-05-16 17:03:10 +03:00
Mikhail Kalinin 222e980b7e
Fix lint 2024-05-16 16:55:23 +03:00
Mark Mackey 74be5b2436 Electra: Properly Calculate Proposer Probabilities 2024-05-16 15:29:32 +03:00
Andrew Davis d295813155
EIP-7594: add custody settings config (#3766)
* EIP-7594: add custody settings config

* Add `TARGET_NUMBER_OF_PEERS` to config

* add TARGET_NUMBER_OF_PEERS

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>

* fix double TARGET_NUMBER_OF_PEERS

* fix tests

---------

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-05-15 20:34:41 +08:00
George Kadianakis fdeff744ff
EIP-7594: Add a missing check and a missing test vector (#3765) 2024-05-14 17:18:14 +03:00
George Kadianakis e5813bd692
Merge pull request #3758 from jtraglia/improve-dup-cell-test
Change duplicate cell id test to use 65 cell ids
2024-05-14 17:14:56 +03:00
Hsiao-Wei Wang 5f48840f4d
Merge pull request #3760 from nisdas/patch-5
Provide Max Size For Columns By Range Request
2024-05-12 16:13:16 +08:00
Nishant Das 8f73a47423
Update p2p-interface.md 2024-05-09 16:14:52 +08:00
Nishant Das b9befda08b
Update p2p-interface.md 2024-05-09 16:03:55 +08:00
Hsiao-Wei Wang 812ac2ce8f
Merge pull request #3759 from jtraglia/ext-aggregate-and-proof
Add electra version of AggregateAndProof
2024-05-08 20:25:06 +08:00
Justin Traglia 93c043a647 Revert moving IndexedAttestation
I'll do this in a separate PR.
2024-05-07 19:14:48 -05:00
Justin Traglia f3d0a0e89b Move containers to validator.md 2024-05-07 19:13:24 -05:00
Justin Traglia 8aed03767a Change "new" to "modified" 2024-05-07 16:37:23 -05:00
Justin Traglia 0da03ab5ac Update TOC 2024-05-07 16:33:06 -05:00
Justin Traglia 99ccfe0163 Add electra version of AggregateAndProof 2024-05-07 16:29:49 -05:00
Justin Traglia 0891be24f6 Change cell -> cells 2024-05-07 13:34:35 -05:00
Justin Traglia cd0f8a1201 Change duplicate cell id test to use 65 cell ids 2024-05-07 13:25:53 -05:00
Hsiao-Wei Wang e96c0700fb
Merge pull request #3756 from ensi321/dev
Fix typo on CommitteeIndex in p2p spec
2024-05-08 01:21:14 +08:00
Hsiao-Wei Wang b0cea87169
Merge pull request #3755 from ethereum/bump-version
bump version v1.5.0-alpha.2
2024-05-08 01:08:46 +08:00
Navie Chan 191833bd0a index from AttestationData 2024-05-07 19:00:55 +03:00
Hsiao-Wei Wang 2cef9ae076
bump version v1.5.0-alpha.2 2024-05-07 22:45:00 +08:00
Hsiao-Wei Wang 313a64e9c1
Merge pull request #3748 from ethereum/fix-get_custody_columns
Fix `get_custody_columns`
2024-05-07 22:43:46 +08:00
Hsiao-Wei Wang c9e0e6d5df
Add a short node_id test 2024-05-07 21:47:16 +08:00
Hsiao-Wei Wang 1a5671d2f6
Merge pull request #3750 from ethereum/DataColumnSidecarsByRange
Add `DataColumnSidecarsByRange` v1 Req/Resp
2024-05-07 21:15:44 +08:00
Hsiao-Wei Wang 9ffd08a9dc
The return values MUST be sent in `(slot, column_index)` order. 2024-05-07 20:28:34 +08:00
Hsiao-Wei Wang fdad206f3c
Apply @dankrad's suggestion 2024-05-07 20:26:56 +08:00
Hsiao-Wei Wang 950136c50d
Apply suggestions from code review
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2024-05-07 18:30:28 +08:00
Parithosh Jayanthi 84c4aebfa8
github runner overhaul (#3751)
-    More isolated per job
-    Moderate speed increase
-    Moderate Cost reduction
-    Better security as jobs and tasks are fully isolated and run on ephemeral instances
2024-05-07 10:34:25 +02:00
Hsiao-Wei Wang 34756a81c6
Add `DataColumnSidecarsByRange` v1 Req/Resp 2024-05-06 19:11:23 +08:00
Hsiao-Wei Wang 1c081a04d0
Merge pull request #3731 from ethereum/rng
Fix rng of tests
2024-05-06 17:28:27 +08:00
Hsiao-Wei Wang 9c1acbb5e5
Fix `get_custody_columns` 2024-05-06 17:25:47 +08:00
Hsiao-Wei Wang 871c772e3f
Merge pull request #3743 from fradamt/dev
Add .copy() where needed in tests
2024-05-06 15:49:57 +08:00
Hsiao-Wei Wang bbb506ec75
Merge pull request #3741 from ethereum/fix-test_process_consolidation
Add decorator to all "invalid" test cases
2024-05-06 15:48:48 +08:00
fradamt 4487fb88c7
Merge branch 'ethereum:dev' into dev 2024-05-06 09:04:35 +02:00
Hsiao-Wei Wang 331f1e9a6a
Merge pull request #3736 from ethereum/hotfix-consolidation
Remove `test_consolidation.py` since they are not valid test vectors
2024-05-04 01:08:03 +08:00