nimbus-eth2/beacon_chain
Etan Kissling ae0a1488b5
Fix blob syncing for Electra (#6438)
* Fix blob syncing for Electra

`BlobSidecar` requests on libp2p have a context prefix based on:

> The `<context-bytes>` field is calculated as context =
>     `compute_fork_digest(fork_version, genesis_validators_root)`

We currently only process blobs if that indicates Deneb, meaning that
on Electra we incorrectly report `InvalidContextBytes` and refuse to
process the blob response data.

Fix this, and also ensure that the code no longer needs maintenance
with every fork unrelated to blobs.

* fix
2024-07-23 03:10:41 +00:00
..
consensus_object_pools extend light client protocol for Electra (#6375) 2024-06-26 19:02:03 +00:00
el bump nim-eth to `d8fda55c79dd48ba564f3cb540b968f4a1c1aae6` (#6405) 2024-07-04 18:40:11 +00:00
fork_choice ensure that rarely ran files are compiled on PR (#6379) 2024-06-23 23:35:56 +00:00
gossip_processing validate EL block hash in Electra when no EL is connected (#6407) 2024-07-05 10:18:50 +02:00
libnimbus_lc nullability annotations for `libnimbus_lc.h` (#6417) 2024-07-09 12:38:16 +02:00
networking BN: User agent recognition and error codes decoding. (#6414) 2024-07-15 16:53:41 +02:00
rpc Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
spec fix is_eligible_for_activation_queue for electra (#6427) 2024-07-15 21:08:20 +02:00
sync Fix blob syncing for Electra (#6438) 2024-07-23 03:10:41 +00:00
validator_client VC/NIMBUS-BN validators protection. (#6329) 2024-06-11 19:38:16 +00:00
validators update builder API registrations after keymanager API fee recipient change (#6412) 2024-07-04 14:08:07 +02:00
.editorconfig Add .editorconfig file and remove trailing newlines 2021-09-14 12:12:49 +03:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim add database electra block tests (#6394) 2024-07-01 04:18:41 +00:00
beacon_chain_db_immutable.nim automated consensus spec URL updating to v1.5.0-alpha.3 (#6364) 2024-06-16 02:59:25 +02:00
beacon_chain_db_light_client.nim extend light client protocol for Electra (#6375) 2024-06-26 19:02:03 +00:00
beacon_clock.nim automated consensus spec URL updating to v1.5.0-alpha.3 (#6364) 2024-06-16 02:59:25 +02:00
beacon_node.nim BN: Disable genesis sync via long-range-sync argument. (#6361) 2024-06-20 18:57:08 +00:00
beacon_node_light_client.nim remove Bellatrix EL syncing support from light client (#6352) 2024-06-14 01:23:17 +00:00
beacon_node_status.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
bloomfilter.nim Bloom filter acceleration for deposit processing (#5982) 2024-03-07 23:38:24 +00:00
conf.nim pause deployment of long-range sync option default (#6436) 2024-07-21 07:10:26 +02:00
conf_common.nim Dissect Windows specific code from beacon node. (#5612) 2024-01-13 12:53:53 +02:00
conf_light_client.nim Enable IPv6 for discovery5 using dualstack support. (#6242) 2024-05-01 19:29:39 +00:00
db_limits.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
deposits.nim fix some styleCheck hints (#6016) 2024-03-03 02:04:45 +01:00
era_db.nim add Electra to ConsensusFork enum (#6169) 2024-04-03 16:43:43 +02:00
extras.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
filepath.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
light_client.nim fix light client topic subscriptions (#6351) 2024-06-14 00:45:40 +00:00
light_client_db.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
nim.cfg fix most ConvFromXtoItselfNotNeeded hints and unhide remaining ones (#6307) 2024-05-22 13:56:37 +02:00
nimbus_beacon_node.nim Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
nimbus_beacon_node.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_binary_common.nim Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
nimbus_light_client.nim remove Bellatrix EL syncing support from light client (#6352) 2024-06-14 01:23:17 +00:00
nimbus_light_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_signing_node.nim remove some debugRaiseAsserts and fill in Electra functionality (#6179) 2024-04-06 15:11:47 +02:00
nimbus_signing_node.nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
nimbus_validator_client.nim Add beacon node count metrics. (#6371) 2024-07-06 21:07:56 +00:00
nimbus_validator_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
sszdump.nim update `wss_sim` for Bellatrix, Capella and Deneb (#6170) 2024-04-08 15:28:46 +02:00
statediff.nim Shared validator pubkey (#5883) 2024-02-21 20:06:19 +01:00
statusbar.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
trusted_node_sync.nim increase TNS state download timeout to 90 (#6363) 2024-06-21 22:14:28 +00:00
version.nim Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
wallets.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
winservice.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00