Commit Graph

123 Commits

Author SHA1 Message Date
Agnish Ghosh 2d65f0e57e
revert peer scoring 2024-11-14 12:53:26 +07:00
Agnish Ghosh f4502b5696 eliminate block header check to make sync work 2024-10-23 17:24:36 +05:30
Agnish Ghosh 29463f2c44 unique slots 2024-10-23 12:24:46 +05:30
Agnish Ghosh 11b8adeb54 add isSome logging 2024-10-23 05:04:01 +05:30
Agnish Ghosh a9a0fef25e fix logging 2024-10-23 04:19:45 +05:30
Agnish Ghosh bb1750bf65 more logging 2024-10-22 23:40:59 +05:30
Agnish Ghosh ba58e89ea5
enable stricter downscoring for bad data columns while syncing 2024-10-22 19:18:40 +05:30
Agnish Ghosh 05435e5237
use min epoch for blob sidecar request for now, enable for logging, bump libp2p 2024-10-22 18:50:22 +05:30
Agnish Ghosh f85b3df45e added logging in column syncing 2024-10-22 13:32:30 +05:30
Agnish Ghosh aa493191e7 reconstruct while syncing 2024-10-21 23:06:20 +05:30
Agnish Ghosh e161f5e6f1 use hasEnoughDataColumns for DA 2024-10-17 20:34:24 +05:30
Agnish Ghosh 986e1f5d83 response cost 2024-10-17 19:27:58 +05:30
Agnish Ghosh a07ef5d654 sync only via prysm 2 2024-10-17 18:54:17 +05:30
Agnish Ghosh b2bb6ac863 sync only from prysm 2024-10-17 17:09:07 +05:30
Agnish Ghosh 9fe68bf906 enable downscoring 2024-10-15 21:28:13 +05:30
Agnish Ghosh 29878a9232 add kzg verification to sync 2024-10-15 20:14:03 +05:30
Agnish Ghosh 1e45eb6256 ease out sync data column consistency conditions 2024-10-15 18:28:14 +05:30
Agnish Ghosh c2419a5132 add more extensive da checks 2024-10-10 00:26:01 +05:30
Agnish Ghosh 028925851c sync rework 2024-10-10 00:08:07 +05:30
Agnish Ghosh 6e057edc89 initial start fix 2024-10-03 15:43:45 +05:30
Agnish Ghosh e540c67fd1 enable warning for inconsistent data columns 2024-10-02 01:40:35 +05:30
Agnish Ghosh 4bd6ead294 disable peer quota 2024-10-01 20:43:30 +05:30
Agnish Ghosh b8d03ef913
refactor peer selection 2024-09-30 22:17:30 +05:30
Agnish Ghosh bef7d07105
fix range request issue 2024-09-30 15:48:27 +05:30
Agnish Ghosh e8b64d8dd2 subnet sampling part 2 2024-09-19 13:36:56 +05:30
Agnish Ghosh 4a006b5584 fix every place to make new custody column function work 2024-09-09 02:09:24 +05:30
Agnish Ghosh ee9889ca91 disable blobs for syncing because of fake deneb fork 2024-08-23 12:31:54 +05:30
Agnish Ghosh 8bb1145b43 populate dataColumnSidecarByRange with remote custody columns 2024-08-18 21:42:10 +05:30
Agnish Ghosh cd5532c078 add filtering to peer pool and protocol, remove filtering from SyncManager level 2024-08-17 20:51:36 +05:30
Agnish Ghosh b32205de7c
upstream peerdas alpha3 related spec changes + fix upstream related issues (#6468)
* reworked some of the das core specs, pr'd to check whether whether the conflicting type issue is centric to my machine or not

* bumped nim-blscurve to 9c6e80c6109133c0af3025654f5a8820282cff05, same as unstable

* bumped nim-eth2-scenarios, nim-nat-traversal at par with unstable, added more pathches, made peerdas devnet branch backward compatible, peerdas passing new ssz tests as per alpha3, disabled electra fixture tests, as branch hasn't been rebased for a while

* refactor test fixture files

* rm: serializeDataColumn

* refactor: took data columns extracted from blobs during block proposal to the heap

* disable blob broadcast in pd devnet

* fix addBlock in message router

* fix: data column iterator

* added debug checkpoints to check CI

* refactor if else conditions

* add: updated das core specs to alpha 3, and unit tests pass
2024-08-05 19:27:39 +05:30
Agnish Ghosh 7faec9b7a3 nits 2024-07-23 16:42:36 +05:30
Agnish Ghosh c6513122b9 fix reviewed code 2024-07-23 12:38:16 +05:30
Agnish Ghosh b001499281 add: valid custody peer set to RequestManager 2024-07-23 12:36:42 +05:30
Agnish Ghosh d2c7208492 Eth2Node not needed in sync man 2024-07-22 19:07:51 +05:30
Agnish Ghosh 5265eeb6ea refactor: sync manager to range request only valid peers if not supernode 2024-07-22 19:04:04 +05:30
Agnish Ghosh fa5b15436c
add: logic constructing valid set of peers 2024-07-19 13:58:26 +05:30
Agnish Ghosh b33900bd35
added enr struct 2024-07-15 13:11:09 +05:30
Agnish Ghosh 41b35b9799
fix: get data column fixes 2024-07-04 16:49:55 +05:30
Agnish Ghosh d292e94560
sync queue 2024-07-02 22:37:09 +05:30
Agnish Ghosh 67fe8aca0b
disable blob activity (exp), improve gossip validation 2024-07-02 14:36:44 +05:30
Agnish Ghosh 0e02eb4ce7
fix test_sync_manager 2024-07-02 04:01:37 +05:30
Agnish Ghosh 9325423a6b
strangely disable this line makes it go away :) 2024-07-02 03:15:25 +05:30
Agnish Ghosh 3b1f5b48dd
weird fix 2024-07-02 03:09:49 +05:30
Agnish Ghosh 8e28654a24
exp: build failing, checking if failing on other machines with these changes 2024-07-02 00:14:58 +05:30
Agnish Ghosh 8ac4cc9152
add: data column grouping conditions for range request 2024-07-01 17:42:29 +05:30
Agnish Ghosh e2afc583cb
fix: reviews, pass1 2024-06-21 14:51:54 +05:30
Agnish Ghosh 986a2bdcdc
save work push, build failing 2024-06-15 00:23:47 +05:30
tersec b56a671122
fix most ConvFromXtoItselfNotNeeded hints and unhide remaining ones (#6307) 2024-05-22 13:56:37 +02:00
Etan Kissling 9d5643240b
only request blobs if a sync response actually provided blocks (#6121)
During sync, we can skip the `blobSidecarsByRange` request when there
are no blocks with `kzg_commitments` in the blocks data. Avoids running
into throttling from peers during long periods of non-finality.
2024-03-22 03:27:02 +01:00
Etan Kissling 2a45bb3c7c
add error information when sync requests fail (#6119)
During sync it may be interesting to know why requests are failing.
Extend debug logging accordingly.
2024-03-22 00:26:50 +00:00