9196 Commits

Author SHA1 Message Date
Mikhail Kalinin
6f5cc4baf5 Replace MIN_ACTIVATION_BALANCE with MAX_EFFECTIVE_BALANCE 2024-03-27 17:35:27 +06:00
Mikhail Kalinin
cda10d059b Refactor EL withdraw request processing 2024-03-27 16:51:38 +06:00
Mikhail Kalinin
73ede3a804 Fix pending_balance_to_withdraw == 0 check when full exit 2024-03-27 15:44:38 +06:00
Mikhail Kalinin
5e32d442a2 Fix the sweep by enabling 0x02 creds 2024-03-27 12:42:37 +06:00
Mikhail Kalinin
06104f24e3 Fix is_partially_withdrawable_validator 2024-03-27 01:43:15 +09:00
dapplion
e6aaa9d44d Fix lint 2024-03-27 01:35:36 +09:00
dapplion
23ad85e8bf Allow to switch to compounding validator on deposit 2024-03-27 00:31:09 +09:00
Hsiao-Wei Wang
30be96bac3
Merge pull request #3632 from parithosh/add-electra-config
Add electra fork config
2024-03-26 21:48:28 +08:00
Mikhail Kalinin
c6b080e658
Merge pull request #3631 from mkalinin/flat-aggregates
eip7549: flatten aggregate_bits
2024-03-26 16:51:19 +06:00
Hsiao-Wei Wang
88a35a1de1
update the spec files too 2024-03-26 13:18:40 +08:00
Lion - dapplion
83e617af8f
Merge pull request #5 from fradamt/eip-7251
add tests, fix small issues
2024-03-26 09:33:59 +09:00
fradamt
4775641f05 fix broken pending deposits tests and typo 2024-03-25 15:26:50 +01:00
Mikhail Kalinin
bb8ba9c045
Apply suggestions from code review
Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
2024-03-25 19:20:58 +06:00
fradamt
97966d825a small fixes 2024-03-25 12:23:19 +01:00
parithosh
45803e6b83
fix fork version 2024-03-25 12:19:31 +01:00
fradamt
8d7d7a8851 add tests
add function to context.py

test helpers

add tests
2024-03-25 12:16:58 +01:00
parithosh
a2fbafb86e
add electra configs 2024-03-25 12:15:53 +01:00
Mikhail Kalinin
702ac28858 eip7549: flatten aggregate_bits 2024-03-25 16:43:19 +06:00
dapplion
4e7c82ccc6 Remove is_aggregator changes 2024-03-23 00:04:29 +09:00
Mikhail Kalinin
68dceb7cda
Merge pull request #3628 from mehdi-aouadi/eip-7549-onchain-aggregation
EIP-7549 Clarify network vs on chain aggregation
2024-03-22 16:11:21 +06:00
dapplion
08732e69c6 fix typo 2024-03-22 15:28:44 +09:00
dapplion
72c4f04261 @ensi321 review 2024-03-22 14:24:34 +09:00
dapplion
84a5ae919c rename to partial_withdrawals_count 2024-03-22 14:24:34 +09:00
dapplion
6d9ebe15bb set_compounding_withdrawal_credentials 2024-03-22 14:24:34 +09:00
dapplion
ebdb513ec8 queue_excess_active_balance 2024-03-22 14:04:03 +09:00
Lion - dapplion
2014edbbaa
Update validator.md 2024-03-22 13:25:03 +09:00
Stefan Bratanov
4f61308147 EIP-6110 rename get_eth1_deposit_count function 2024-03-21 13:13:30 +00:00
Mikhail Kalinin
45f98d6a67 Set MIN_SLASHING_PENALTY_QUOTIENT_EIP7251=4096 2024-03-21 17:32:03 +06:00
Mehdi AOUADI
ec633e8871 clarify network aggregation vs onchain aggregation 2024-03-20 16:31:46 +01:00
Mikhail Kalinin
8873d02360 Fix linter 2024-03-20 16:52:05 +06:00
Mikhail Kalinin
d48b5e0665 Update whistleblower reward for eip7251 2024-03-20 16:10:30 +06:00
Mikhail Kalinin
17d65ca6b4 Create eip7251 config invariants test 2024-03-20 15:05:59 +06:00
Mikhail Kalinin
a127bbf0c6
Merge branch 'dev' into eip-7251 2024-03-20 14:46:43 +06:00
Mikhail Kalinin
be79aab782 Fix toc 2024-03-20 14:42:21 +06:00
Mikhail Kalinin
b02c3e59d3 Check MAX_PARTIAL_WITHDRAWALS_PER_PAYLOAD < MAX_WITHDRAWALS_PER_PAYLOAD 2024-03-20 14:38:07 +06:00
Mikhail Kalinin
6d140cd6ea Fix MAX_PARTIAL_WITHDRAWALS_PER_PAYLOAD in mainnet.yaml 2024-03-20 14:01:11 +06:00
Mikhail Kalinin
cdbc2b760c Fix linter 2024-03-20 13:58:18 +06:00
Mikhail Kalinin
98f38c7f07 Introduce MAX_PARTIAL_WITHDRAWALS_PER_PAYLOAD 2024-03-20 13:53:42 +06:00
Mikhail Kalinin
fe35d6659c Remove built spec 2024-03-20 13:37:01 +06:00
Lion - dapplion
7c9fc19598
Merge pull request #4 from ethDreamer/eip-7251
Address Comments and Cleanup Spec
2024-03-20 10:46:51 +09:00
Mark Mackey
f6359f9afb Fix Bug in process_pending_balance_deposits 2024-03-19 13:31:55 -05:00
Mark Mackey
cf70df25d9 Address Comments and Cleanup Spec 2024-03-19 11:12:33 -05:00
Jacek Sieka
1242368b58
Align seen_ttl with attestation lifetime
https://github.com/ethereum/consensus-specs/pull/3360 effectively
extends the valid lifetime of an attestation/aggregate to 2 epochs -
this means that an aggregate that was published at the beginning of a
slot now is valid per the gossip rules up to 2 epochs later.

Then net effect of the above change is that peers are allowed to
republish old aggregates and attestations and libp2p will not stop the
spread with the settings we recommend - instead the messages will have
to be stopped with the "attestation cover rule" or similar, even though
they have been observed already.

Significant amounts of this kind of spam have been observed on the
aggregate channel in particular leading to a 5x increase in aggregate
traffic as some clients republish these old messages in spite of the
"attestation cover rule" which should have stopped them - this simple
change will provide an additional layer of protection against such bugs.
2024-03-19 08:53:54 +01:00
Hsiao-Wei Wang
5d80b1954a
Merge pull request #3559 from dapplion/attestation-index
EIP-7549: Move committee index outside Attestation
2024-03-14 23:54:20 +08:00
Hsiao-Wei Wang
46b118a212
Merge pull request #3619 from asn-d6/peerdas_poly_degree_overflow
PeerDAS: Check for degree overflow in multiply_polynomialcoeff()
2024-03-14 19:09:31 +08:00
Hsiao-Wei Wang
fa5edb7870
Merge pull request #3622 from ethereum/bump-version
bump version to v1.4.0
2024-03-13 22:37:08 +08:00
Hsiao-Wei Wang
8bf7ddf1bd
bump version to v1.4.0 2024-03-13 21:24:30 +08:00
dapplion
fc65a6f864 Fix CI 2024-03-13 00:23:47 +08:00
danny
45b1026cb6
Merge pull request #3620 from ethereum/deneb-p2p-format
tiny formatting in deneb p2p
2024-03-12 08:18:55 -06:00
Hsiao-Wei Wang
89564aaaa6
Add unittest to check FIELD_ELEMENTS_PER_EXT_BLOB value 2024-03-12 21:51:58 +08:00