Commit Graph

1859 Commits

Author SHA1 Message Date
Lucas Saldanha e445cdfb04 Merge branch 'dev' into 3865 2024-09-02 11:14:03 +12:00
Pawan Dhananjay 78cc0a6e91
Change csc types to uint64 2024-08-30 12:25:26 -07:00
Hsiao-Wei Wang daf1002720
Merge pull request #3892 from ensi321/dev
Randomize validator index in partial withdrawal test
2024-08-29 17:37:52 +08:00
Barnabas Busa a5990f99ac
EIP-7594: PeerDAS explicit csc integer size (#3897)
* EIP-7594: PeerDAS explicit csc integer size

* add spec test for csc int size

* import uint8

* make linter happy

* add spec

* Update p2p-interface.md

* Update specs/_features/eip7594/das-core.md

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* revert metadata name

* Update specs/_features/eip7594/das-core.md

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* update tests

* make linter happy

* Make `DATA_COLUMN_SIDECAR_SUBNET_COUNT` in uint8

* add `int` casting for bypassing remerkeable type conversion

---------

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-08-29 02:43:34 +08:00
Hsiao-Wei Wang 7259a6cf23
Merge pull request #3878 from mkalinin/remove-compute_state_by_epoch_processing_to
Get rid of compute_state_by_epoch_processing_to
2024-08-28 14:38:11 +08:00
Mikhail Kalinin 22bb1de62d Fix code spell 2024-08-27 17:32:38 +06:00
Mikhail Kalinin ad8f54ff7d Update pending deposits tests 2024-08-27 17:26:54 +06:00
Justin Traglia 725f96349b
Add blank lines to fix linter 2024-08-26 17:02:42 -05:00
Mikhail Kalinin c183be4914 Update consolidation tests with pending deposit 2024-08-26 16:33:46 +06:00
Mikhail Kalinin 990de16c0f Add more deposit tests 2024-08-26 16:18:53 +06:00
Mikhail Kalinin a6864d44f1 Merge branch 'dev' into deposit-queue 2024-08-23 14:37:08 +06:00
NC 8e90dd06c3 address comment 2024-08-22 18:35:35 +08:00
Parithosh Jayanthi ad91a835c0
Update python to 3.12.4 (#3880)
* update python to 3.12

* drop down to 3.12.4 for compatibility

* setup rust toolchain for deps

* fix typo

* fix linter

* fixing linter

* adding rust dep

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying to fix circleci

* trying new image

* trying new image

* trying new image

* trying new image

* invalidate cache

* bump reqs

* remove cache invalidation

* fix cache name

* update to use latest image
2024-08-22 02:15:57 +08:00
NC 4c9be8978f Randomize validator index in partial withdrawal test 2024-08-22 00:19:02 +08:00
Hsiao-Wei Wang 01aab85412
Merge pull request #3891 from ethereum/bump-version
bump version to 1.5.0-alpha.5
2024-08-20 23:56:32 +08:00
Hsiao-Wei Wang 7391de10a8
bump version to 1.5.0-alpha.5 2024-08-20 23:55:52 +08:00
Hsiao-Wei Wang d7abcdfb58
Merge pull request #3887 from jtraglia/no-extended-matrix
Remove matrix specific configuration value
2024-08-20 23:52:20 +08:00
Lucas Saldanha 98dd1884ae Rename requests to execution_requests 2024-08-16 18:34:22 +12:00
Justin Traglia 121a3b7b24 Fix mistake 2024-08-14 20:32:11 -05:00
Justin Traglia 4eee3b0c3b Remove matrix specific configuration value
This also removes references to the "extended matrix" in favor of just "matrix"
which I think is better. It's not an extended matrix, it's a matrix of extended
blobs. Technically it's just a matrix of cells/proofs.
2024-08-14 20:19:50 -05:00
Potuz d10cc002d5 Run Deneb on_block tests in Electra but not 7594 2024-08-14 10:03:44 -03:00
Lucas Saldanha e3ec53fcdc Fix lint 2024-08-14 10:24:55 +12:00
Lucas Saldanha fa78e0d301 PR comments 2024-08-13 21:24:28 +12:00
Mikhail Kalinin a378e8d03b Update correlation penalty computation 2024-08-13 15:19:10 +06:00
Lucas Saldanha 4185c00d23 Fork fix and tests 2024-08-13 20:53:44 +12:00
Lucas Saldanha 666967502b Test updates 2024-08-13 18:16:11 +12:00
Alex Stokes 13ac373a2c
Merge pull request #3870 from fradamt/no-peer-sampling
Spec without peer sampling
2024-08-12 15:04:41 -06:00
Mikhail Kalinin 23a669dc29 Get rid of compute_state_by_epoch_processing_to 2024-08-09 15:51:05 +06:00
Hsiao-Wei Wang f4e3908801
Merge pull request #3868 from mkalinin/fix-consolidation
Fix off-by-one in process_pending_consolidations
2024-08-08 14:43:56 +09:00
fradamt 7a6770a732 fix headers
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-08-07 16:52:06 +02:00
fradamt 37c08a3081 don't run deneb on_block tests for peerdas (changed behavior) 2024-08-07 16:34:03 +02:00
Mikhail Kalinin 024ee04373 Fix lint 2024-08-07 16:03:39 +06:00
Mikhail Kalinin 5e06787db8
Apply suggestions by @fradamt
Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
2024-08-07 15:54:50 +06:00
james-prysm c5db6dfcfb adding fork version tests 2024-08-06 14:36:20 -05:00
james-prysm 56fe31031c adding run_process_pending_deposits to deposit request tests to properly test changes 2024-08-06 14:10:23 -05:00
james-prysm 337726cbae adding no compounding test 2024-08-06 12:04:46 -05:00
james-prysm 2cf7de96cd updating bridge tests 2024-08-06 11:44:43 -05:00
Hsiao-Wei Wang 8f8ab03acf
Merge pull request #3828 from potuz/epbs_cl_repo
EIP-7732: Enshrined Proposer-Builder Separation
2024-08-07 01:19:53 +09:00
Mikhail Kalinin b665698350 Fix off-by-one in process_pending_balance_deposits 2024-08-06 17:29:13 +06:00
Mikhail Kalinin fcca2b5c71 Fix off-by-one in process_pending_consolidations 2024-08-06 17:17:26 +06:00
james-prysm 3593a0cb34 adding 3 more tests 2024-08-05 16:38:51 -05:00
james-prysm 336c6f1510 adding some more tests based on test plan 2024-08-05 14:14:03 -05:00
Hsiao-Wei Wang b5cea48d45
bump to 1.5.0-alpha.4 2024-08-03 19:14:40 +09:00
james-prysm 1afa51420e adding test_process_pending_deposits_limit_is_reached 2024-08-02 17:21:48 -05:00
james-prysm 0a51fe032d updating tests 2024-08-02 16:46:16 -05:00
james-prysm 824e374679 applying feedback fir add validator test 2024-07-30 10:00:47 -05:00
james-prysm 6a7bfe9b34 removed wrong balance 2024-07-29 10:49:57 -05:00
james-prysm e80c39b1ed mikhail's feedback 2024-07-29 09:32:18 -05:00
james-prysm 6903babf7d
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-26 11:01:58 -05:00
james-prysm d62559fe90
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-26 09:59:12 -05:00
james-prysm 1feb1fbc0f
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-26 09:58:25 -05:00
james-prysm ea33eac282
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-26 09:57:57 -05:00
Etan Kissling 460d46ddcd
Merge branch 'dev' into lc-electra 2024-07-17 13:30:30 +02:00
George Kadianakis bb8f3caafc
Merge pull request #3836 from jtraglia/columns-cells-and-proofs
Update get_data_column_sidecars to take cells/proofs
2024-07-16 18:25:24 +03:00
Hsiao-Wei Wang b4432fbef8
Merge pull request #3817 from dapplion/max-blobs-config
Make MAX_BLOBS_PER_BLOCK a config parameter
2024-07-16 22:27:13 +08: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
james-prysm bf03d78a3a fixing linting 2024-07-12 14:32:06 -05:00
james-prysm 48b9928194 adding out of validator range test 2024-07-12 14:30:49 -05:00
james-prysm 320a692bec adding test for chrun 2024-07-12 14:11:52 -05:00
james-prysm 2c8dd39429 updating tests 2024-07-11 15:15:23 -05: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
james-prysm 8b191e679d fixing linting 2024-07-10 11:41:18 -05:00
james-prysm 577b0289c0
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-10 10:44:47 -05:00
james-prysm 1e9337ef19
Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-07-10 10:42:10 -05:00
Justin Traglia 9a9fa965b0
In batch cell verification, take commitment for each cell (#3834) 2024-07-10 10:41:37 -05:00
Etan Kissling 82fe862a47
Fix lint 2024-07-09 21:22:30 +02:00
Etan Kissling 63433ec847
Use separate constant names for post-Electra gindices 2024-07-09 20:15:31 +02:00
Justin Traglia c402414489
Merge branch 'dev' into remove-verify-cell-kzg-proof 2024-07-09 11:32:28 -05:00
james-prysm 1a19d82bbc updating tests based on mikhail changes 2024-07-08 23:15:03 -05:00
james-prysm 093590ee11 Merge remote-tracking branch 'upstream/deposit-queue' into deposit-queue 2024-07-08 16:44:25 -05:00
Justin Traglia 1dbb68d3d7 Update get_data_column_sidecars to take cells/proofs 2024-07-08 14:07:53 -05:00
Hsiao-Wei Wang eb3382faa5 Disable eip7732 tests like whisk-style 2024-07-08 14:36:49 -03:00
Potuz dba3cda3aa Fix python execution 6 2024-07-08 14:36:49 -03:00
Potuz e3cd216d3a Fix python execution 5 2024-07-08 14:36:49 -03:00
Potuz e9a8ddad03 Fix python execution 4 2024-07-08 14:36:49 -03:00
Potuz a11ffb5278 use definitive EIP number 2024-07-08 14:36:49 -03:00
terence 6e02cb4ea4 Fix epbs consensus spec to be executable (#10)
Fix epbs consensus spec to be executable
2024-07-08 14:36:49 -03:00
Justin Traglia b9e7b031b5 Update algorithm & remove check 2024-07-08 09:00:14 -05:00
Mikhail Kalinin 6ed15b2818 Fix electra fork tests 2024-07-05 18:49:57 +06:00
Mikhail Kalinin 5a2f887f76 Merge remote-tracking branch 'origin/dev' into deposit-queue 2024-07-03 17:30:16 +06:00
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
Justin Traglia c078a97f0c Remove verify_cell_kzg_proof (non-batch) 2024-07-02 15:38:15 -05:00
Etan Kissling a63bad0c09
Fix Deneb `test_process_execution_payload` 2024-07-02 19:56:14 +02: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
Etan Kissling b4f44caef3
Fix EL block hash computation for Deneb
The parent beacon block hash was incorrectly set to zero in #3778.
Passing the state to the computation function allows correct hash
computation.
2024-07-02 16:26:04 +02: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
james-prysm e1a4d8b60e added some simple tests 2024-07-01 15:26:56 -05:00
Alex Stokes 090d349faf
Merge pull request #3764 from ethereum/electra-fork-tests
Add more Electra fork tests
2024-07-01 13:32:45 -06:00
Benedikt Wagner 83da3807ab
EIP7594: Do universal verification in verify_cell_kzg_proof_batch() (#3812)
* restructure verify_cell_kzg_proof_batch a bit

* first draft of universal verification equation

* add one more empty line to make linter happy

* make linter happy

* more testcases for verify_cell_kzg_proof_batch

* verify_cell_kzg_proof_batch: derive coefficient via hash

* rename verify_cell_kzg_proof_batch_challenge -> compute_verify_cell_kzg_proof_batch_challenge

* verify_cell_kzg_proof_batch: editorial + some refactoring

* Improve documentation and variable naming.

* remove k_i from code and doc

---------

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-06-28 18:02:20 +03: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 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
dapplion 25b810f5a4 lint 2024-06-26 11:01:50 +02:00
dapplion ded072af40 Make MAX_BLOBS_PER_BLOCK a config parameter 2024-06-25 18:22:56 +02: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
Hsiao-Wei Wang 1f87bbeac0
Merge branch 'dev' into pr3782 2024-06-25 16:21:00 +08:00