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
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
835576a47c
Enable light client data test generation for Electra
2024-06-21 14:49:33 +02: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
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