Commit Graph

9836 Commits

Author SHA1 Message Date
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
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
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
Justin Traglia a9e3aada7f
Use `bls.Scalar` as the base class for `BLSFieldElement` (#3907) 2024-09-27 07:19:04 -05:00
Mikhail Kalinin 33302651f9
Apply suggestions from @jtraglia
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-09-27 12:17:24 +04: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
Mikhail Kalinin 5913960651 Add notes on add_validator_to_registry, process_deposit modifications 2024-09-25 16:11:36 +04: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 d14fb52249
Fix yield statement in test_get_custody_columns (#3931) 2024-09-19 11:12:56 -05:00
Justin Traglia dbc746fb8b
bump to 1.5.0-alpha.6 (#3921) 2024-09-18 09:08:07 -05:00
Stefan Bratanov e12b9abbf6
EIP-7732: Refactor Beacon chain state transition function (#3898) 2024-09-18 09:03:26 -05:00
Etan Kissling cb99c5f302
Ensure EL block hash is updated when beacon parent root is overridden (#3881) 2024-09-18 09:01:55 -05:00
Hsiao-Wei Wang c8ba4d2ee7
Merge pull request #3927 from ethereum/fix-testgen-action
Fix test vector generators to work with Python 3.12
2024-09-18 21:51:50 +08:00
Nico Flaig 666b63ac38
Remove stale comment on latest_execution_payload_header in Electra (#3929) 2024-09-18 07:35:49 -05:00
Mikhail Kalinin 083402fe7d Remove switch_to_compounding from deposit flow 2024-09-18 16:23:27 +04:00
Mikhail Kalinin 1513492944 Merge branch 'dev' into deposit-queue 2024-09-18 16:01:11 +04:00
Justin Traglia 36da776a39 Update url 2024-09-17 15:20:59 -05:00
Justin Traglia ea90d6f27d Fix test vector generators to work with Python 3.12 2024-09-17 14:56:59 -05:00
Parithosh Jayanthi 7cacee6ad6
Add cronjob for test vector generation (#3922) 2024-09-16 11:16:07 -05:00
Hsiao-Wei Wang cffd21823a
Merge pull request #3915 from ralexstokes/cleanup-signed-consolidation
Remove unnecessary signing domain for consolidations
2024-09-13 17:23:43 +08:00
Alex Stokes 6ebdeb206a
Merge pull request #3875 from lucassaldanha/3865
Moving requests out of execution_payload into beacon_block.body
2024-09-12 15:51:31 -06:00
Alex Stokes 15a5b68260
Remove unnecessary signing domain for consolidations 2024-09-10 11:41:45 -06:00
Hsiao-Wei Wang adc5edd95c
Merge pull request #3914 from ensi321/dev
Minor fixes on Electra spec and test helper
2024-09-10 16:59:32 +08:00
NC 1702f88f78 Minor fixes 2024-09-05 22:27:28 -07:00
Lucas Saldanha 622ccd1d4b Updated ElectraSpecBuilder (NoopExecutionEngine#notify_new_payload) 2024-09-06 10:08:36 +12:00
Lucas Saldanha c8dd790484 Fix linter 2024-09-06 09:51:34 +12:00
Lucas Saldanha beff03d4e0 Updated verify_and_notify_new_payload and notify_new_payload 2024-09-06 09:18:26 +12:00
Alex Stokes 6c3868c872
Merge pull request #3882 from mkalinin/correlation-penalty-fix
EIP-7251: Update correlation penalty computation
2024-09-05 13:58:42 -06:00
Justin Traglia 07401893a3
Delete g2_lincomb in poly-commits-sampling spec (#3913) 2024-09-05 14:51:26 -05:00
Mikhail Kalinin 67cc3a5ac2 Rename MAX_PENDING_DEPOSITS_PER_EPOCH_PROCESSING to MAX_PENDING_DEPOSITS_PER_EPOCH 2024-09-05 14:14:23 +06:00
Potuz abf382a607 Fix 7732 2024-09-04 12:58:50 -03:00
Mikhail Kalinin 8c726ff723 Fix get_max_effective_balance call 2024-09-04 09:56:43 +06:00
Mikhail Kalinin 3ebddad511 Merge branch 'dev' into deposit-queue 2024-09-04 09:30:00 +06:00
Hsiao-Wei Wang 5111cbfdba
Merge pull request #3908 from pawanjay176/csc-u64
Peerdas Change csc types to uint64
2024-09-04 01:48:16 +08:00
Justin Traglia 88a76574b6
Update csc description
Co-authored-by: Anton Nashatyrev <Nashatyrev@users.noreply.github.com>
2024-09-03 09:35:02 -05:00
Hsiao-Wei Wang aa3b140197
Merge pull request #3909 from ralexstokes/rename-get-max-eb-helper
simplify name of helper `get_validator_max_effective_balance`
2024-09-02 22:19:54 +08:00
Lucas Saldanha 31225f1acf Temp fix for linter on eip-7732 beacon chain spec 2024-09-02 13:56:57 +12:00