628 Commits

Author SHA1 Message Date
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
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
fcca2b5c71 Fix off-by-one in process_pending_consolidations 2024-08-06 17:17:26 +06:00
Etan Kissling
460d46ddcd
Merge branch 'dev' into lc-electra 2024-07-17 13:30:30 +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
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
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
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
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
dapplion
ded072af40 Make MAX_BLOBS_PER_BLOCK a config parameter 2024-06-25 18:22:56 +02: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
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
Justin Traglia
83cb494e31 Rename receipt to request 2024-06-10 11:28:54 -05:00
Justin Traglia
0298370af2 Fix rlp_bytes methods 2024-06-10 11:28:18 -05:00
Hsiao-Wei Wang
12f0e7cc44
Merge branch 'dev' into pr3778 2024-06-10 22:40:17 +08:00
Hsiao-Wei Wang
99dfc9ab5b
Update file names 2024-06-07 23:41:05 +08:00
Preston Van Loon
2e6c59393f Rename ExecutionLayerWithdrawalRequest->WithdrawalRequest 2024-06-05 15:12:56 -05:00
Hsiao-Wei Wang
12d95da0da
Merge branch 'dev' into pr3757 2024-06-05 00:42:37 +08:00
Mikhail Kalinin
eb0cdc72e8 Update tests 2024-05-31 22:02:22 +06:00
Justin Traglia
9b15abc798 Append "_bytes" to modified RLP functions 2024-05-31 08:53:18 -05:00
Justin Traglia
12cab5a864 Make request type a bytes type 2024-05-23 16:17:29 -05:00
Justin Traglia
d46e4aa36b Split long line into two 2024-05-23 15:55:16 -05:00
Justin Traglia
1d02110a68 Update compute_el_header_block_hash for EIP-7685 2024-05-23 15:30:49 -05:00
fradamt
6a731e9115 fix lint 2024-05-22 10:03:03 +02:00
fradamt
1970b56f8f add consolidation_requests_root to get_execution_payload_header test helper 2024-05-22 09:37:16 +02:00
fradamt
c492d6198a adjust consolidations tests for EL consolidations 2024-05-21 22:27:06 +02:00
terence tsao
eb380c1e83 Remove Deneb from all phases 2024-05-20 12:25:29 -07:00
Hsiao-Wei Wang
01a2c7ba07
Add test_fork_has_compounding_withdrawal_credential test case 2024-05-13 15:27:52 +03:00
Mikhail Kalinin
d8c486bcc5 Rename DepositReceipt to DepositRequest 2024-05-07 23:34:03 +06:00
Hsiao-Wei Wang
c70bcba878
Fix rng of tests 2024-04-27 14:49:49 +08:00
Alex Stokes
39ec741cd2
Merge pull request #3720 from ethereum/electra-fork-tests
Add Electra fork tests
2024-04-25 08:39:51 -06:00
Hsiao-Wei Wang
e973b8d77b
Add EIP-7594 to TESTGEN_FORKS 2024-04-25 03:13:05 +08:00
Hsiao-Wei Wang
e793fe2698
Add Electra fork tests 2024-04-24 20:08:56 +08:00
Hsiao-Wei Wang
af9b5d916a
Use validator guide compute_on_chain_aggregate in testing 2024-04-17 14:32:54 +08:00
Alex Stokes
353bbb02a6
Workarounds for EIP-7549 tests 2024-04-15 22:30:14 -06:00
Alex Stokes
c0fa05de1e
Fix tests from 7251 and merge of other EIPs into Electra 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
Alex Stokes
ce3931653d
Add EIP-7251 to Electra fork 2024-04-15 19:37:49 -06:00
Alex Stokes
4c60dade42
Merge branch 'fix-7251-tests' into pr/ralexstokes/3656-1 2024-04-15 14:00:04 -06:00
fradamt
1d81af386c refactor the way run_deposit_processing deals with 7251 2024-04-12 15:54:55 +02:00
Hsiao-Wei Wang
b87f1fc4eb
Remove duplicate tests 2024-04-12 21:40:40 +09:00
Hsiao-Wei Wang
397f9eb15a
Merge branch 'dev' into pr3656 2024-04-10 21:39:44 +09:00