Etan Kissling
18af8dcd9f
Merge branch 'stable' into dev/etan/df-forkedblobs
2024-08-30 14:54:33 +02:00
tersec
1e70b0d2a8
Merge remote-tracking branch 'origin/stable' into unstable
2024-08-30 02:21:05 +00:00
tersec
bf4abf8b9e
version v24.8.0
2024-08-29 14:29:58 +00:00
Etan Kissling
73be2af0d9
more concise RLP decoding syntax in EL helpers ( #6514 )
...
The comment in `readExecutionTransaction` is not actually relevant when
the `rlp.decode` template is called from a non-generic function.
The function still cannot be simply inlined; `is_valid_versioned_hashes`
is itself generic and would require an `export eth_types_rlp` to work
properly (generic sandwich issue). The non-generic function wrapper
seems simpler and avoids injecting RLP into importing modules.
2024-08-28 14:21:28 +02:00
Pedro Miranda
f9e44b2a3b
Improved electra attestations packing ( #6498 )
...
* test disjoint comittee bits
* test for aggregated attestations with disjoint bits
* improved attestation pool on-chain collecting and packing
* addressed format issues
* improved sorting method
* updated AllTests-mainnet file
* updated AllTests-mainnet file
* review corrections
* review corrections
* removed old phase0 artifacts
---------
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-08-23 13:26:35 +02:00
tersec
8c2e8f2b0f
some v1.5.0-alpha.5 consensus spec URL updates ( #6509 )
2024-08-23 12:43:54 +02:00
Jacek Sieka
42c4ea109c
Revert "stop testing broken upstream version-2-0" ( #6506 )
...
* Revert "stop testing broken upstream version-2-0 (#6499 )"
This reverts commit 2be7eba25a36a14950e977b9441930d252d7975f.
* fix field warning template
2024-08-23 12:18:06 +02:00
tersec
e4f18cba09
stop tracking phase0 spec artifact of current/prev target epoch for attestation block packing ( #6508 )
2024-08-22 20:28:21 +02:00
tersec
44cc72c104
refactor engine API conversions out of EL manager ( #6507 )
2024-08-22 16:12:03 +02:00
Etan Kissling
bd09e4d864
inhibit LC sync while DAG is synced ( #6505 )
...
Normally, running LC and DAG sync at same time is fine, but on tiny
devnet where some peer may not support the LC data, we can end up in
situation where peer gets disconnected when DAG is in sync, because
DAG sync never uses any req/resp on local devnet (perfect nw conditions)
so the LC sync over minutes removes the peer as sync is stuck.
We don't need to actively sync LC from network if DAG is already synced,
preventing this specific low peer devnet issue (there are others still).
LC is still locally updated when DAG finalized checkpoint advances.
2024-08-22 06:13:47 +00:00
Etan Kissling
a597fe95fa
check blob versioned hashes when no EL is connected ( #6501 )
...
* check blob versioned hashes when no EL is connected
When no EL is conencted, we have to at the very least ensure that the
data in the beacon block is consistent with the execution payload.
We already do this for the block hash, but also have to do it for the
`blob_kzg_commitments`. To validate that they are linked with the
execution payload, we have to RLP decode all EIP-4844 blob transactions
and compare their blob versioned hashes with the hashed commitments.
* simplify loop in case where `blob_versioned_hashes` doesn't exist
* skip blob transaction parsing pre Deneb
2024-08-22 06:04:03 +00:00
tersec
21aeeaf561
automated consensus spec URL updating to v1.5.0-alpha.5 ( #6504 )
2024-08-21 14:25:19 +02:00
tersec
485ed833e0
use EF consensus-specs v1.5.0-alpha.5 test vectors ( #6503 )
2024-08-21 12:18:33 +02:00
Etan Kissling
b511f3eeb7
Use Pippenger multiplication for combining multiple sigs of same msg ( #6484 )
...
Newer `blst` releases expose multiscalar Pippenger multiplication that
allows accelerated verification of signatures pertaining to same msg.
- https://gist.github.com/wemeetagain/d52fc4b077f80db6e423935244c2afb2
2024-08-16 23:42:46 +02:00
Etan Kissling
6f7c4fffe7
Synchronously check all transactions
to have non-zero length ( #6491 )
...
Reject blocks with zero length transactions early when no EL connected.
- https://github.com/ethereum/consensus-specs/pull/3885
2024-08-16 22:52:35 +02:00
tersec
2895df128c
increase TNS state downloading timeout to 120 seconds ( #6487 )
2024-08-12 03:49:10 +02:00
tersec
f258cba816
some v1.5.0-alpha.4 consensus spec URL updates ( #6485 )
2024-08-10 07:09:37 +02:00
tersec
904318cf83
automated consensus spec URL updating to v1.5.0-alpha.4 ( #6483 )
2024-08-09 18:24:49 +02:00
tersec
2e40a401b0
use EF consensus-specs v1.5.0-alpha.4 test vectors ( #6482 )
2024-08-09 15:02:04 +02:00
tersec
d2c8561fcd
add some Electra config constants to beacon API config endpoint ( #6479 )
2024-08-07 18:15:29 +02:00
Etan Kissling
3375875e05
remove option to select Capella fork choice algo ( #6478 )
...
* remove option to select Capella fork choice algo
With Deneb having run stable for quite a while now, it's time to remove
the option to select the prior fork choice algo from Capella.
* also remove usage from test
2024-08-07 14:48:05 +00:00
tersec
535819263d
clear old electra attestations from attestation pool
2024-08-07 11:14:57 +00:00
Etan Kissling
51ca617d9f
fix LC header upgrade to Electra ( #6473 )
...
Followup on incorrect upgrade procedure in #6375 where `blob_gas_used`
was accidentally copied into `excess_blob_gas` when running Electra
`LightClientStore` with earlier `LightClient(Bootstrap|Update)`.
2024-08-06 15:48:15 +00:00
tersec
c0fc0f41dd
calculate next slot's withdrawals properly even across epoch boundary ( #6470 )
2024-08-06 13:33:16 +02:00
Etan Kissling
7a650fb876
Merge branch 'stable' into dev/etan/df-forkedblobs
2024-08-06 13:16:44 +02:00
Etan Kissling
e2dac0a030
Merge branch 'feat/eip-7495' into feat_eip-7688
2024-08-06 13:16:10 +02:00
tersec
8333365848
replace validator Bloom filter with partial bucket sort ( #6469 )
2024-08-02 07:30:22 +02:00
tersec
6a576978ba
Merge remote-tracking branch 'origin/stable' into unstable
2024-07-29 03:47:56 +00:00
tersec
0a4d3ac9c3
version v24.7.0
2024-07-29 00:45:51 +00:00
Etan Kissling
ea16edd886
add test for shuffled attestation signatures ( #6459 )
...
Followup of #3212 to test proper signature verification. Also document
possible further optimization based on blst `v0.3.13`.
2024-07-26 23:31:05 +00:00
Eugene Kabanov
b345c4fa72
Fix: Avoid downloading genesis multiple times, for holesky testnet. ( #6452 )
2024-07-26 14:54:03 +00:00
Etan Kissling
0075655079
add missing stable_mev
file
2024-07-26 13:05:42 +02:00
Etan Kissling
ef499d0cc4
EIP-7688 MEV types
2024-07-26 12:55:42 +02:00
Etan Kissling
11f54b9587
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-26 04:54:03 +02:00
Etan Kissling
c8cc23b170
extra defense
2024-07-26 04:53:34 +02:00
Etan Kissling
6062bde5e5
fixes
2024-07-26 04:50:57 +02:00
Etan Kissling
6e80561080
Electra BlobSidecar
for EIP-7688
2024-07-26 04:03:42 +02:00
Etan Kissling
5c1d20f28a
StableContainer
fixes for LightClientHeader
validation
2024-07-26 03:33:18 +02:00
Etan Kissling
02fd912f92
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-26 02:01:28 +02:00
Etan Kissling
97117eb769
add Nim bug reference
2024-07-26 01:54:59 +02:00
Etan Kissling
4c9da5f1af
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-26 01:39:50 +02:00
Etan Kissling
f9624b5e69
eth2_processor
fix
2024-07-26 01:38:02 +02:00
Etan Kissling
c2d5a55d95
cleanup pre-deneb fallback
2024-07-26 00:03:47 +02:00
Etan Kissling
3ef3db5fb1
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-25 23:05:06 +02:00
Etan Kissling
9c9f2df0ca
Opt[seq[Forky]]
2024-07-25 23:03:57 +02:00
Etan Kissling
2938aa40bf
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-25 22:55:22 +02:00
Etan Kissling
eff1acd1dc
pre-Deneb case for VC block publishing (ff)
2024-07-25 22:53:07 +02:00
Etan Kissling
de0a13a263
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-25 22:46:53 +02:00
Etan Kissling
365b567350
pre-Deneb case for VC block publishing
2024-07-25 22:45:36 +02:00
Etan Kissling
1b62329153
Merge branch 'dev/etan/df-forkedblobs' into feat_eip-7688
2024-07-25 22:28:32 +02:00