Commit Graph

9366 Commits

Author SHA1 Message Date
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 4afe39822c
Merge pull request #3621 from ethereum/dev
Release v1.4.0
2024-03-14 01:21:02 +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
George Kadianakis 4b6b07b73e PeerDAS: Use FIELD_ELEMENTS_PER_EXT_BLOB in def of PolynomialCoeff 2024-03-12 15:07:42 +02:00
danny 7a20cae75e
tiny formatting in deneb p2p 2024-03-11 12:10:44 -06:00
dapplion 5f78d2b436 apply suggestions 2024-03-11 11:10:41 +08:00
George Kadianakis c71fb00c8e PeerDAS: Check for degree overflow in multiply_polynomialcoeff() 2024-03-08 18:04:55 +02:00
dapplion c5af391ad4 Add validator doc 2024-03-08 17:02:40 +08:00
dapplion 668e447c55 Add EIP-7251 spec
Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
2024-03-08 12:37:35 +08:00
Hsiao-Wei Wang 43dbf8cef5
Fix ToC and apply @mehdi-aouadi's suggestion 2024-03-06 23:28:07 +08:00
Hsiao-Wei Wang 03c23c6fb1
make it executable for basic linter checks & fix errors 2024-03-06 23:24:21 +08:00
Hsiao-Wei Wang dc37dcdbf2
fix broken tests 2024-03-06 23:03:55 +08:00
Hsiao-Wei Wang 507bab6d8a
update eip7002 operation tests to testgen 2024-03-06 14:31:52 +08:00
Hsiao-Wei Wang ec9bbfa2ea
Merge EIP7002 into Electra 2024-03-06 14:23:23 +08:00
Hsiao-Wei Wang 82271d1229
EIP6110 meta update 2024-03-06 14:00:55 +08:00
Hsiao-Wei Wang 6ffd27bd60
Rename EIP6110 to Electra 2024-03-06 13:38:49 +08:00
dapplion 38f269ca12 Update spec with @mkalinin suggestions 2024-03-05 20:58:05 +08:00
dapplion accee2b8be Merge remote-tracking branch 'upstream/dev' into attestation-index 2024-03-05 17:19:49 +08:00
Hsiao-Wei Wang cebf78a83e
Apply PR feedback 2024-02-27 22:42:32 +09:00
Hsiao-Wei Wang 1acb1ff24f
minor arrange 2024-02-20 22:23:23 +08:00
Hsiao-Wei Wang bb33f9082c
Change List length of `DataColumn` from `MAX_BLOBS_PER_BLOCK` to `MAX_BLOB_COMMITMENTS_PER_BLOCK` 2024-02-20 22:06:09 +08:00
Hsiao-Wei Wang 8150f76e1c
Apply @cskiraly's suggestion 2024-02-20 22:02:10 +08:00
Hsiao-Wei Wang 1a33bf8a00
Merge pull request #3608 from ethereum/mkalinin-patch-6
Introduce UINT64_MAX_SQRT
2024-02-19 15:47:39 +08:00
Mikhail Kalinin 3e2650811e
Introduce UINT64_MAX_SQRT 2024-02-16 13:39:46 +06:00
Hsiao-Wei Wang cdb6725275
Merge pull request #3596 from fradamt/patch-4
fix typo
2024-02-16 11:34:22 +08:00
Hsiao-Wei Wang 70711ab096
Merge pull request #3607 from ethereum/remove-extra-test
Remove `higher_churn_limit_to_lower__without_block`
2024-02-16 09:42:39 +08:00
Hsiao-Wei Wang 2297c09b7e
Remove `higher_churn_limit_to_lower__without_block` 2024-02-16 09:26:13 +08:00
Hsiao-Wei Wang 2c0fcee1e3
Merge pull request #3598 from ethereum/dev
release v1.4.0-beta.7
2024-02-16 03:14:02 +08:00
Hsiao-Wei Wang b6961743be
Merge pull request #3602 from ethereum/deneb-fork-transition
Add EIP-7514 higher-churn-limit-to-lower tests
2024-02-16 02:47:39 +08:00
Hsiao-Wei Wang f82a3af978
Merge pull request #3600 from ethereum/integer_squareroot
Handle `integer_squareroot` bound case
2024-02-16 02:47:25 +08:00
Hsiao-Wei Wang e3d91d8e2a
Rename `MAX_UINT_64` -> `UINT64_MAX` 2024-02-15 15:00:56 +08:00
Hsiao-Wei Wang f020649519
add higher_churn_limit_to_lower tests 2024-02-15 11:25:53 +08:00
Hsiao-Wei Wang 42bc6004e5
Add overflow case 2024-02-14 22:27:49 +08:00
Hsiao-Wei Wang 2faa44b6b6
Merge pull request #3591 from asn-d6/peerdas_refactor_recovery_polynomial
peerDAS: Initial refactor of recover_polynomial()
2024-02-14 21:40:37 +08:00
Hsiao-Wei Wang 90afb238ed
Update specs/_features/eip7594/polynomial-commitments-sampling.md 2024-02-14 20:51:50 +08:00
Hsiao-Wei Wang 7076fb2b75
Handle `integer_squareroot` bound case 2024-02-14 17:18:05 +08:00
Hsiao-Wei Wang daf6a0af45
Merge pull request #3599 from ethereum/bump-version
Bump version to `1.4.0-beta.7`
2024-02-13 22:44:03 +08:00
Hsiao-Wei Wang e043a12c2f
Merge pull request #3597 from etan-status/df-schedule
Schedule Deneb for Mainnet
2024-02-13 22:43:40 +08:00
Hsiao-Wei Wang 07bba7a1c5
Bump version to `1.4.0-beta.7` 2024-02-13 22:23:19 +08:00
Etan Kissling 3b45d926d3
Merge commit '4878f1da30393582d67e2736a2c058430d05784f' into df-schedule 2024-02-08 17:40:40 +01:00
Hsiao-Wei Wang 4878f1da30
Set official mainnet `DENEB_FORK_EPOCH` 2024-02-08 22:34:59 +08:00
Etan Kissling 4e2578dfe4
Schedule Deneb for Mainnet
As discussed in https://github.com/ethereum/pm/issues/951, schedule
Deneb for epoch 269568.
2024-02-08 15:32:28 +01:00
fradamt ea85aa72be
fix typo 2024-02-08 13:16:49 +01:00
Hsiao-Wei Wang fe8db03f45
Merge pull request #3594 from gurukamath/mypy-types
correct `py.typed` location
2024-02-07 17:00:41 +08:00