9537 Commits

Author SHA1 Message Date
james-prysm
03071df6e3 preston's feedback 2024-07-02 22:10:15 -05:00
james-prysm
b2cd3ce9a7 fixing comment 2024-07-02 15:51:29 -05:00
james-prysm
b31fa63a4a apply pending deposit tests 2024-07-02 15:50:01 -05:00
james-prysm
077edf8b29 Merge branch 'deposit-queue' of github.com:james-prysm/eth2.0-specs-mikhail into deposit-queue 2024-07-02 12:04:20 -05:00
james-prysm
750f7a1bd6 adding new test 2024-07-02 12:02:40 -05:00
james-prysm
8099f39008 merging upstream 2024-07-02 11:21:58 -05:00
james-prysm
2af84d8332
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_process_pending_deposits.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-02 08:58:30 -05:00
Mikhail Kalinin
5c0a8d3b71
Fix off-by-one found by @james-prysm 2024-07-02 15:30:42 +06:00
james-prysm
e1a4d8b60e added some simple tests 2024-07-01 15:26:56 -05:00
Mikhail Kalinin
8f6b1e0ba9 Merge remote-tracking branch 'origin/dev' into deposit-queue 2024-06-28 14:55:54 +06:00
kevaundray
a3a6c916b2
Remove proof parameter from recover_cells_and_kzg_proofs (#3819) 2024-06-27 14:17:14 -05:00
Hsiao-Wei Wang
0a49572799
Merge pull request #3782 from cskiraly/peer-das-sampling
PeerDAS sampling clarifications
2024-06-27 19:27:57 +08:00
Hsiao-Wei Wang
258c2c9020
Merge pull request #3794 from cskiraly/peer-das-reconstruction
EIP-7594: clarifying reconstruction and cross-seeding
2024-06-27 18:58:23 +08:00
Csaba Kiraly
1ad381dccb
adding get_extended_sample_count docsstring
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-27 10:28:21 +02:00
Csaba Kiraly
78b583d8b0
clarify use of get_extended_sample_count
Here we assume uniform random selection without replacement.
If other methods are used, the target false positive threshold
is the main rule to follow.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-27 09:48:32 +02:00
Csaba Kiraly
17dfb9ae57
fix get_extended_sample_count proc signature
Co-authored-by: Pop Chunhapanya <haxx.pop@gmail.com>
2024-06-27 09:30:39 +02:00
Hsiao-Wei Wang
29f39487de
Merge pull request #3814 from ethereum/update-consolidation-tests
Update `test_incorrect_not_enough_consolidation_churn_available` and add assertions to test cases
2024-06-27 00:17:52 +08:00
Mikhail Kalinin
43e7344143 Refactor process_pending_deposits 2024-06-26 13:42:48 +06:00
Mikhail Kalinin
179ee8ee78 Finalize deposit requests before processing 2024-06-25 17:47:18 +06:00
Mikhail Kalinin
5c3a51ae79 Process deposit requests after Eth1 bridge deposits are applied 2024-06-25 17:26:17 +06:00
Hsiao-Wei Wang
ee977381de
Add test_get_extended_sample_count__table_in_spec to verify the table content in the spec 2024-06-25 16:48:38 +08:00
Csaba Kiraly
4539265c55
moving part of text in custody section
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-25 10:36:53 +02:00
Hsiao-Wei Wang
1f87bbeac0
Merge branch 'dev' into pr3782 2024-06-25 16:21:00 +08:00
Hsiao-Wei Wang
beedf852cb
Revert division change and add comments 2024-06-25 16:15:16 +08:00
Hsiao-Wei Wang
fed320cdce
Merge pull request #3810 from etan-status/bf-payloadinit
Fix typing issue when `10e10` is interpreted as float
2024-06-25 03:09:32 +08:00
Hsiao-Wei Wang
f30a3a3b05
Update test_incorrect_not_enough_consolidation_churn_available and add assertions to test cases 2024-06-24 23:38:01 +08:00
Etan Kissling
2c384da092
Fix typing issue when 10e10 is interpreted as float
On macOS Python, passing `10e10` to `rng.randint` results in an error
when generating certain tests. Forcing `int` avoids the problem.
2024-06-21 10:51:18 +02:00
Mikhail Kalinin
0b7fef37b3 Limit number of pending deposits to be processed per epoch 2024-06-20 19:09:41 +06:00
Mikhail Kalinin
2a202c8ecb Refactor pending deposit processing 2024-06-20 18:46:38 +06:00
Mikhail Kalinin
fd75470eab Add pending_deposits queue and queue deposit requests 2024-06-20 15:48:46 +06:00
Hsiao-Wei Wang
29d3a24f46
Merge pull request #3763 from ethereum/electra-merkle-proof-tests
Add Electra merkle proof test vectors
2024-06-19 16:40:36 +08:00
Hsiao-Wei Wang
fb020456cb
Add get_extended_sample_count unit tests 2024-06-19 02:18:29 +08:00
Hsiao-Wei Wang
6e2b370aa1
Merge pull request #3807 from etan-status/bd-remerkleable
Bump remerkleable to `v0.1.28`
2024-06-18 23:01:25 +08:00
Etan Kissling
cf46b07ac4
Bump remerkleable to v0.1.28
- https://github.com/protolambda/remerkleable/releases/tag/v0.1.28
2024-06-16 10:04:56 +02:00
Hsiao-Wei Wang
00b74686e2
Merge pull request #3806 from ethereum/construct_vanishing_polynomial-hotfix
Remove `assert len(missing_cell_indices) != 0` check
2024-06-15 00:30:31 +08:00
Hsiao-Wei Wang
483a286ba5
Remove assert len(missing_cell_indices) != 0 check 2024-06-14 23:57:33 +08:00
Hsiao-Wei Wang
7064b1a2e8
Merge pull request #3805 from ethereum/fix-testgen
fix typo
2024-06-14 23:55:23 +08:00
Hsiao-Wei Wang
ae654d2281
fix typo 2024-06-14 23:05:41 +08:00
George Kadianakis
210fcfbd10
Merge pull request #3804 from b-wagn/fft-test-extension
EIP7594-Polynomial-Commitments-Tests: Extend Tests for FFT and Coset FFT.
2024-06-14 16:43:33 +03:00
b-wagn
2aeddf2f86 remove trailing whitespaces 2024-06-14 15:18:00 +02:00
b-wagn
7095e14b60 extend test for coset_fft 2024-06-14 14:59:22 +02:00
b-wagn
fc62e59778 extend test for eip7594 2024-06-14 14:23:53 +02:00
Hsiao-Wei Wang
ca6485012f
Merge pull request #3783 from mkalinin/electra-maxeb-preset
Switch the rest of the spec to MAX_EFFECTIVE_BALANCE_ELECTRA
2024-06-14 16:34:24 +08:00
Hsiao-Wei Wang
718aadf263
Fix tests and remove duplicate _WITHDRAWAL_PREFIX definition 2024-06-14 15:57:33 +08:00
Mikhail Kalinin
aa65fd7824
Apply suggestion from @hwwhww
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-06-14 13:26:47 +07:00
Hsiao-Wei Wang
031b1911e3
Merge pull request #3802 from ethereum/bump-version
bump version to `1.5.0-alpha.3`
2024-06-14 00:12:24 +08:00
Hsiao-Wei Wang
490c89a3c2
bump version to 1.5.0-alpha.3 2024-06-13 23:42:36 +08:00
Hsiao-Wei Wang
2ed8db2298
Merge pull request #3801 from b-wagn/patch-2
EIP-7594: Fix Dead Link
2024-06-13 23:32:06 +08:00
Benedikt Wagner
77eac20df6
Update specs/_features/eip7594/polynomial-commitments-sampling.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-06-13 17:20:04 +02:00
Benedikt Wagner
1c675ae4a1
Update polynomial-commitments-sampling.md - Fix dead link 2024-06-13 16:30:05 +02:00