Commit Graph

101 Commits

Author SHA1 Message Date
Justin Traglia a9e3aada7f
Use `bls.Scalar` as the base class for `BLSFieldElement` (#3907) 2024-09-27 07:19:04 -05:00
Potuz d10cc002d5 Run Deneb on_block tests in Electra but not 7594 2024-08-14 10:03:44 -03: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
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
Etan Kissling a63bad0c09
Fix Deneb `test_process_execution_payload` 2024-07-02 19:56:14 +02: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
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
Alex Stokes 353bbb02a6
Workarounds for EIP-7549 tests 2024-04-15 22:30:14 -06:00
Alex Stokes 034909ddb6
Merge in EIP-7251 tests to Electra 2024-04-15 20:10:14 -06:00
Hsiao-Wei Wang 397f9eb15a
Merge branch 'dev' into pr3656 2024-04-10 21:39:44 +09:00
Alex Stokes 163f287d6e
Fix prior tests with new EIP-7251 logic 2024-04-08 13:19:05 -06:00
Alex Stokes d35b4091fb
bugfix: make correct attestation type across fork boundary 2024-04-05 14:38:43 -06:00
Hsiao-Wei Wang 8728561da3
Merge branch 'dev' into peer-das 2024-04-04 22:23:02 +09:00
Hsiao-Wei Wang 2297c09b7e
Remove `higher_churn_limit_to_lower__without_block` 2024-02-16 09:26:13 +08:00
Hsiao-Wei Wang f020649519
add higher_churn_limit_to_lower tests 2024-02-15 11:25:53 +08:00
Hsiao-Wei Wang c47d5f3578
Add `recover_matrix` and remove unused `FlatExtendedMatrix` type 2024-02-02 01:45:02 +08:00
Hsiao-Wei Wang 6a460aeba1
Add randomized block cases 2023-11-30 23:06:27 +08:00
Hsiao-Wei Wang 71106f1d64
Remove `BLOB_KZG_COMMITMENTS_GINDEX` 2023-11-02 21:38:01 +07:00
dapplion 4a609cec57 rename to kzg_commitment_inclusion_proof 2023-11-01 15:57:41 +02:00
Hsiao-Wei Wang 1bac25a623
Add Merkle proof test 2023-10-31 01:29:30 +08:00
Hsiao-Wei Wang a12441486c
Enhance `blob_sidecar_inclusion_proof` tests 2023-10-30 17:42:32 +08:00
Hsiao-Wei Wang ae6a9eba26
Fix lint 2023-10-29 03:39:39 +08:00
Hsiao-Wei Wang b7e0b88cb1
Fix test 2023-10-29 03:28:57 +08:00
dapplion f2649f65ba fix unit tests 2023-10-27 20:03:06 +03:00
dapplion caa79a5a02 build tree 2023-10-27 18:08:20 +03:00
dapplion c2a64a18f0 pass lint 2023-10-27 17:20:58 +03:00
Hsiao-Wei Wang 65e1371980
Fix tests 2023-10-16 21:31:07 +08:00
George Kadianakis be3c0f7b04 Also make test_barycentric_within_domain() not exhaustive 2023-10-10 16:23:05 +03:00
George Kadianakis 09983a4416 Revive test_compute_kzg_proof_within_domain() -- but not exhaustive
It now creates 6 random proofs instead of all 4096.
2023-10-10 16:23:02 +03:00
Hsiao-Wei Wang fd082aede6
Delete `test_compute_kzg_proof_within_domain` 2023-10-10 16:57:34 +09:00
Hsiao-Wei Wang 8900127258
Remove the wrong store time setting 2023-09-19 23:20:33 +08:00
Hsiao-Wei Wang e8041749a2
Apply PR feedback. Rename `inbound_limit` to `activation_limit` 2023-09-15 22:05:26 +08:00
Hsiao-Wei Wang e5e50e3e40
Add EIP-7514 into Deneb 2023-09-15 10:49:06 +08:00
Hsiao-Wei Wang 56d6d1a51e
Merge pull request #3463 from ethereum/deneb-fc-tests-take-2
Deneb fork choice tests - take 2
2023-08-03 21:40:24 +08:00
Hsiao-Wei Wang 32056b2d44
PR feedback from @djrtwo 2023-07-31 19:23:17 +08:00
Hsiao-Wei Wang fba7b8e92d
Merge pull request #3464 from ethereum/att-transtion
Move and rework `include_attestation_from_previous_fork_with_new_range` test to a `transition` test
2023-07-31 18:52:16 +08:00
Hsiao-Wei Wang 52c53a91f5
Move and rework `include_attestation_from_previous_fork_with_new_range` test to a `transition` test 2023-07-28 00:54:02 +08:00
Hsiao-Wei Wang d2d351f7c9
Add `test_invalid_data_unavailable` 2023-07-25 23:30:31 +08:00
Hsiao-Wei Wang 2210cea734
Add deneb fc tests and update test format 2023-07-25 22:29:12 +08:00
Hsiao-Wei Wang 01c358c873
Rename "data gas" to "blob gas" 2023-07-25 13:28:34 +08:00
Hsiao-Wei Wang aca1202eba
Merge pull request #3457 from ethereum/more-deneb-tests
More deneb tests
2023-07-20 14:02:39 +08:00
Hsiao-Wei Wang 079979924d
Shuffle txs 2023-07-19 21:19:35 +08:00
Mario Vega 419cbdcddc tests/deneb: add small test descriptor 2023-07-18 19:28:12 +00:00
Mario Vega 3ad0a8f446 tests/deneb: add more execution payload processing test cases 2023-07-18 18:30:02 +00:00
Hsiao-Wei Wang 350fa16020
Use `build_randomized_execution_payload` in random tests. Add mixed txs tests. 2023-07-18 20:44:28 +08:00
Hsiao-Wei Wang 51e60c19d6
Add multiple txs cases 2023-07-18 19:22:31 +08:00
djrtwo ecefe2d147 pr review 2023-06-20 15:50:20 -06:00
djrtwo fd9a72e74a add 7045 fork boundary test 2023-06-19 12:00:25 -06:00