9952 Commits

Author SHA1 Message Date
Justin Traglia
a624d4cd93
Move execution_requests after parent_beacon_block_root 2024-10-08 11:08:11 -05:00
Justin Traglia
01b262553f
Merge pull request #3966 from ethereum/add-electra-withdrawals-tests
Add Electra `test_process_withdrawals` path to testgen
2024-10-08 07:02:23 -05:00
Hsiao-Wei Wang
7df8ab7f4a
Add Electra test_process_withdrawals path to testgen 2024-10-08 14:35:09 +08:00
Justin Traglia
d8fd1598e3
Merge pull request #3964 from ethereum/bump-version-1
Bump version to 1.5.0-alpha.8
2024-10-07 20:50:49 -05:00
Justin Traglia
8d7613821c
Bump version to 1.5.0-alpha.8 2024-10-07 19:30:29 -05:00
Manu NALEPA
8f044abe0a
EIP-7594: Specify inclusion proof function to run.
For by root and by range requests checks, the exact function to run is specified for KZG commitments, but not for the inclusion proof.

This PR aligns both checks.
2024-10-08 01:07:10 +02:00
Justin Traglia
c1a3b86b91
Merge pull request #3960 from jtraglia/fix-alpha-7-tests
Move yield pre-state after pre-state setup
2024-10-07 11:43:05 -05:00
Justin Traglia
745b4dd3db
Move yield pre-state after state setup 2024-10-07 07:24:13 -05:00
Justin Traglia
7df1ce3038
Merge pull request #3818 from mkalinin/deposit-queue
eip6110: Queue deposit requests and apply them during epoch processing
2024-10-04 12:29:15 -05:00
Justin Traglia
ad42273440
Use pending_deposits format for both test files 2024-10-04 11:58:58 -05:00
Justin Traglia
3befc4279b
Rename test_apply_pending_deposit* to test_process_pending_deposit* 2024-10-04 10:57:01 -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
770598438e Fix consolidation test 2024-10-04 10:25:58 +04:00
Justin Traglia
233afd5a82
Merge pull request #3959 from lucassaldanha/patch-1 2024-10-03 16:21:09 -05:00
Lucas Saldanha
ef65fbc394
Fix EIP reference 2024-10-04 09:43:18 +13:00
Justin Traglia
82d2bc0d96
Fix two tests by replacing old PendingBalanceDeposit 2024-10-03 14:43:11 -05:00
Justin Traglia
358378dccf
Merge branch 'dev' into deposit-queue 2024-10-03 13:49:42 -05:00
Justin Traglia
3ffaf68dec
Merge pull request #3958 from ppopth/correct-get-data-column-sidecars-usage 2024-10-03 13:33:05 -05:00
Justin Traglia
61669ea2c2
Merge pull request #3957 from ethereum/master 2024-10-03 13:08:48 -05:00
Suphanat Chunhapanya
f97cd619f4 Correct the use of get_data_column_sidecars 2024-10-04 00:53:49 +07:00
Justin Traglia
24874f3013
Merge pull request #3953 from jtraglia/reject-invalid-dcs 2024-10-03 11:52:28 -05:00
Justin Traglia
f081b1b5c2
Merge pull request #3918 from mkalinin/consolidation-switch-to-comp 2024-10-03 11:30:33 -05:00
Justin Traglia
62c32da22b
Be more consistent with test names 2024-10-03 11:20:38 -05:00
Justin Traglia
30f6aba593
Put "and" at the beginning of the next line
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-10-03 11:04:33 -05:00
Mikhail Kalinin
beb2718182 Apply suggestions by @ppopth 2024-10-03 18:49:08 +04:00
Mikhail Kalinin
66f5c3776c Fix switch to compounding tests 2024-10-03 17:55:39 +04:00
Mikhail Kalinin
2dd9e82306 Remove blank lines 2024-10-03 17:51:48 +04:00
Justin Traglia
1329410f0e
Bump version to 1.5.0-alpha.7 (#3955) 2024-10-03 07:44:25 -05:00
Justin Traglia
3e80dc8ed0
Add new verification to is_data_available 2024-10-03 07:42:45 -05:00
Justin Traglia
2ceb0fd74d
Fix some nits 2024-10-02 16:51:46 -05:00
Justin Traglia
3196487a68
Add missing semicolon 2024-10-02 16:05:10 -05:00
Justin Traglia
3984bd3604
Convert assert to return False 2024-10-02 16:02:39 -05:00
Justin Traglia
e02cbab59f
Move index check to top 2024-10-02 15:55:16 -05:00
Justin Traglia
09cc20459b
Add an extra blank line for consistency 2024-10-02 15:53:42 -05:00
Justin Traglia
df987b5e50
Create new verify_data_column_sidecar() function 2024-10-02 15:47:42 -05:00
Justin Traglia
4578b59ab7
Use wrapper function which does the deepcopy 2024-10-02 14:39:09 -05:00
Justin Traglia
3f49e6c155
Deepcopy sidecar before modifying it 2024-10-02 14:02:18 -05:00
Justin Traglia
578407a4c3
Reject invalid DataColumnSidecar for zero blobs 2024-10-02 12:56:47 -05:00
terence
a6294c6bd0
Add a negative test for inactive validator for withdrawal request (#3945) 2024-10-02 07:45:23 -05:00
Mikhail Kalinin
21179dd6e4
Merge pull request #3946 from terencechain/full-exit-has-partial-withdrawal-test
Add a negative test for full exit has partial withdrawal
2024-10-02 14:54:27 +04:00
Mikhail Kalinin
111a65816a
Merge branch 'dev' into full-exit-has-partial-withdrawal-test 2024-10-02 14:34:28 +04:00
Mikhail Kalinin
e8a013b7ac
Merge pull request #3947 from terencechain/withdrawal-request-balance-tests
Fix insufficient effective bal test and add a bal test
2024-10-02 14:31:16 +04:00
Mikhail Kalinin
a04e4c3b88 Fix fork logic 2024-10-02 13:28:09 +04:00
Mikhail Kalinin
4ee4105192
Merge branch 'dev' into deposit-queue 2024-10-02 13:08:13 +04:00
Mikhail Kalinin
11cfd96487
Merge branch 'dev' into consolidation-switch-to-comp 2024-10-01 15:39:28 +04:00
Mikhail Kalinin
a7b0d6f416
Apply suggestions from code review
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-10-01 15:37:53 +04:00
Pop Chunhapanya
85e2452301
Remove queue_entire_balance_and_reset_validator (#3951) 2024-09-30 18:29:49 -05:00
Mikhail Kalinin
ecb4c2aa9c
eip7251: Fix partial withdrawals count (#3943) 2024-09-30 16:21:14 -05:00
Pop Chunhapanya
0c8645ec30
EIP-7251: Flatten get_active_balance (#3949)
We have both get_active_balance and get_total_active_balance which have
totally different meanings, since get_active_balance uses the balance
field while get_total_active_balance uses the effective_balance field.

The names suggest that get_total_active_balance is the total of
get_active_balance which is not true.

The name of get_active_balance doesn't quite make sense and it's used
only in one place, so this commit flattens the logic of get_active_balance
to the place where it's used.
2024-09-30 12:16:50 -05:00
Alex Stokes
bda8957153
Merge pull request #3948 from ppopth/refactor-get-max-effective-balance
EIP7251: Revamp process_effective_balance_updates
2024-09-30 10:02:10 -06:00