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
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
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
Justin Traglia
29552a7884
Capitalize comment
2024-09-30 09:28:07 -05:00
Suphanat Chunhapanya
0301ec7ae0
EIP7251: Revamp process_effective_balance_updates
...
Use get_max_effective_balance in process_effective_balance_updates since
the logic is the same.
2024-09-29 10:56:07 +07:00
terence tsao
e46ba7fed2
Fix insufficient effective bal test and add a bal test
2024-09-27 21:12:37 -07:00
Justin Traglia
a9e3aada7f
Use `bls.Scalar` as the base class for `BLSFieldElement` ( #3907 )
2024-09-27 07:19:04 -05:00
Mikhail Kalinin
2bc2604706
Apply suggestions from @jtraglia
...
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-09-27 11:02:22 +04:00
terence tsao
83857264c2
Add a negative test for full exit has partial withdrawal
2024-09-26 15:05:23 -07:00
Justin Traglia
3196f3270f
Add testgen badge to readme ( #3933 )
2024-09-26 09:35:36 -05:00
Justin Traglia
3162c91aff
Simplify output from make pyspec ( #3938 )
2024-09-26 09:34:53 -05:00
Justin Traglia
72e9a319f1
Replace links to eth2.0-specs with consensus-specs ( #3934 )
...
* Replace references to eth2.0
* Revert changes to the deposit contract dir
2024-09-26 21:06:47 +08:00
Justin Traglia
dcdcf25d81
Fix electra sanity testgen for blocks ( #3939 )
2024-09-24 12:54:45 -05:00
Hsiao-Wei Wang
865dff0d0e
Merge pull request #3941 from ethereum/mkalinin-patch-7
...
Add a note on attester_slashing topic modification
2024-09-24 23:56:20 +08:00
Hsiao-Wei Wang
c6d4c2ede1
Merge pull request #3937 from jtraglia/improve-check-toc
...
Improve `check_toc` rule in Makefile
2024-09-24 22:53:38 +08:00
Mikhail Kalinin
c1507f0144
Add notice on attester_slashing topic modification
2024-09-24 11:06:46 +04:00
Justin Traglia
eff5e8f697
Remove ONESHELL stuff
2024-09-20 10:08:18 -05:00
Justin Traglia
e0651d34b0
Revert some changes
2024-09-20 09:35:44 -05:00
Justin Traglia
0c9762f837
Improve check_toc rule in Makefile
2024-09-20 09:23:01 -05:00
Echo
0c5ad81145
Fix merkle multiproof documentation ( #3928 )
2024-09-19 20:34:14 -05:00
Justin Traglia
cb03c857e1
Merge pull request #3920 from ethereum/dev
2024-09-19 16:04:41 -05:00
Justin Traglia
d14fb52249
Fix yield statement in test_get_custody_columns ( #3931 )
2024-09-19 11:12:56 -05:00
Mikhail Kalinin
23699f596d
Undo MAX_EB to MIN_AB switch in withdrawal helper
2024-09-19 10:44:38 +04:00