343 Commits

Author SHA1 Message Date
Etan Kissling
5565b2ba57 Merge branch 'dev' into lc-canonical 2025-01-06 23:04:21 +01:00
Etan Kissling
51ad00abca Merge branch 'dev' into lc-canonical 2025-01-06 19:32:04 +01:00
Suphanat Chunhapanya
dde81194d7 EIP-7594: Fix custody group spec tests 2024-12-18 22:38:43 +07:00
Justin Traglia
98cf01d22d Refactor the main Makefile (#3988) 2024-12-13 13:30:23 -06:00
Justin Traglia
cb84461215 Delete unnecessary comments 2024-12-11 12:01:24 -06:00
Justin Traglia
6a306f7c45 Rename eip7594 to fulu, p2 2024-12-11 08:11:05 -06:00
Justin Traglia
28719cdebf Rename eip7594 to fulu, p1 2024-12-11 08:09:59 -06:00
Justin Traglia
baf9c36795 Fix linter 2024-12-03 09:16:17 -06:00
Justin Traglia
e29bfb174b Remove combine_mods import 2024-12-03 09:11:33 -06:00
Justin Traglia
65b5273c60 Fix genesis mods; remove test_initialization 2024-12-03 09:07:21 -06:00
Justin Traglia
1c979e631c Merge remote-tracking branch 'origin/dev' into delete-trailing-whitespace 2024-12-02 10:08:28 -06:00
Justin Traglia
e519845eb9 Merge branch 'dev' into delete-trailing-whitespace 2024-12-02 08:58:08 -06:00
Hsiao-Wei Wang
29d9e8dabe Fix test cases source path 2024-11-29 04:04:11 +08:00
Etan Kissling
30bed615ff Add missing mod 2024-11-28 13:06:19 +01:00
Etan Kissling
12401a5be5 Move fork tests to origin rather than destination to fix issues 2024-11-28 13:02:12 +01:00
Etan Kissling
531a0b0886 Fix module list 2024-11-27 15:43:26 +01:00
Etan Kissling
24dffad1af Link tests with generator 2024-11-27 14:28:19 +01:00
Etan Kissling
0e29f208ec Merge branch 'dev' into lc-canonical 2024-11-27 13:15:19 +01:00
Mikhail Kalinin
99f82e76b4 Add pending deposit and consolidation tests 2024-11-27 13:03:06 +06:00
Justin Traglia
b6259a9fd7 Revert "Move bellatrix/capella tests into respective dirs"
This reverts commit aff4e34835.
2024-11-22 10:59:05 -06:00
Justin Traglia
aff4e34835 Move bellatrix/capella tests into respective dirs 2024-11-22 10:43:05 -06:00
Justin Traglia
5653d7346a Merge branch 'dev' into upgrade-to-electra-tests 2024-11-04 15:24:43 -06:00
Justin Traglia
b4311fe591 Merge pull request #3984 from mkalinin/epoch-processing-tests
electra: Epoch processing tests
2024-11-04 15:22:37 -06:00
Justin Traglia
526625d387 Merge pull request #3893 from jtraglia/rebase-eip7594-onto-electra
Rebase eip7594 onto Electra
2024-10-21 14:07:51 -05:00
Mikhail Kalinin
aa5ebb3825 Apply suggestions by @jtraglia 2024-10-20 09:45:27 +06:00
Mikhail Kalinin
cdfe808ceb Add tests for operations on transition to electra 2024-10-20 09:10:12 +06:00
Justin Traglia
179cde6780 Add new check_mods function for generators (#3970)
* Add new check_mods function for generators

* Use single qoutes for consistency

* Add [ERROR] to the exception & update readme

* Fix typos

* Fix lint
2024-10-14 23:42:57 +08:00
Justin Traglia
68d32accf9 Delete trailing whitespace for markdown files 2024-10-11 07:54:50 -05:00
Etan Kissling
c9c21e9f4a Merge branch 'dev' into lc-canonical 2024-10-09 12:49:25 +02:00
Hsiao-Wei Wang
7df8ab7f4a Add Electra test_process_withdrawals path to testgen 2024-10-08 14:35:09 +08:00
Justin Traglia
ad42273440 Use pending_deposits format for both test files 2024-10-04 11:58:58 -05:00
Justin Traglia
77d2865eee Rename test_apply_pending_deposit to test_process_pending_deposit 2024-10-04 09:22:16 -05:00
Mikhail Kalinin
4ee4105192 Merge branch 'dev' into deposit-queue 2024-10-02 13:08:13 +04:00
Justin Traglia
dcdcf25d81 Fix electra sanity testgen for blocks (#3939) 2024-09-24 12:54:45 -05:00
Etan Kissling
bacba3411a Merge branch 'dev' into lc-canonical 2024-09-21 08:19:13 +02:00
Justin Traglia
ea90d6f27d Fix test vector generators to work with Python 3.12 2024-09-17 14:56:59 -05:00
Mikhail Kalinin
a6864d44f1 Merge branch 'dev' into deposit-queue 2024-08-23 14:37:08 +06:00
Justin Traglia
647a45d3b1 Rebase eip7594 onto Electra 2024-08-21 17:08:14 -05: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
Justin Traglia
2d59c55524 Fix indentation for kzg_7594 tests
Somehow (probably because of a merge conflict) the last three
verify_cell_kzg_proof_batch test cases were indented too far and as a result
were part of the loop above, and as a result executed multiple times. This
doesn't change the generated tests because it would try to do the same test
with the same inputs.
2024-07-25 17:07:53 +09:00
Etan Kissling
460d46ddcd Merge branch 'dev' into lc-electra 2024-07-17 13:30:30 +02: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
1189d52526 Remove VALID_INDIVIDUAL_RANDOM_CELL_BYTES import 2024-07-02 16:35:28 -05:00
Justin Traglia
c078a97f0c Remove verify_cell_kzg_proof (non-batch) 2024-07-02 15:38:15 -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
Etan Kissling
2035a9fcad Update light client specifications for Electra
Electra introduces two changes that affect light client data handling:

1. The `ExecutionPayloadHeader` is extended with new fields.
   This is handled similarly as before with the Deneb fork.

2. The `BeaconState` generalized indices change due to lack of EIP-6493.
   This is handled by making the generalized index be fork dependent via
   a helper function that computes it dynamically. Furthermore, the case
   where pre-Electra light client data is consumed by an Electra based
   `LightClientStore` requires normalizing the shorter proof of the
   pre-Electra data to fit into the Electra data structure by prepending
   a zero hash.
2024-06-21 11:33:52 +02:00
Mikhail Kalinin
fd75470eab Add pending_deposits queue and queue deposit requests 2024-06-20 15:48:46 +06:00