Commit Graph

230 Commits

Author SHA1 Message Date
Agnish Ghosh 520788195d
cleanup, use nim taskpools 2024-11-15 17:32:37 +07:00
Agnish Ghosh e05cb51ffe
reconstruction only happens in background 2024-11-13 18:33:06 +07:00
Agnish Ghosh a55972c87a fix import issue 2024-10-21 15:43:47 +05:30
Agnish Ghosh 32a448ce8c add a missing column check in block processor 2024-10-21 15:34:40 +05:30
Agnish Ghosh 4462f08ccf
db management for data columns improved 2024-10-13 15:07:18 +05:30
Agnish Ghosh dfcc89138f
add more specifics to reconstruction and block addition conditions 2024-10-12 16:42:56 +05:30
Agnish Ghosh 18fe511cc2
attempt to recover columns while backfilling 2024-10-12 03:41:23 +05:30
Agnish Ghosh 826a4f60f8
have 2 distinct functions for having enough and missing data columns 2024-10-11 21:42:28 +05:30
Agnish Ghosh 6e057edc89 initial start fix 2024-10-03 15:43:45 +05:30
Agnish Ghosh 6d837bcdaa fix more quarantine issues 2024-10-03 02:33:25 +05:30
Agnish Ghosh 52e8249e82 fix quarantine 2024-10-03 01:39:18 +05:30
Agnish Ghosh 5bcc599b66 fix 2 2024-10-02 23:22:40 +05:30
Agnish Ghosh a789bdfaa6 storeBackfill fix 2024-10-02 22:22:13 +05:30
Agnish Ghosh 878cfc5d5c other fixes 2024-10-02 21:44:40 +05:30
Agnish Ghosh 190a1dd1c4 logging 2024-10-02 19:54:17 +05:30
Agnish Ghosh 4f7eedb72b more logging 2024-10-02 18:21:05 +05:30
Agnish Ghosh b9d8699c52 added more logging 2024-10-02 17:24:16 +05:30
Agnish Ghosh 3a6593647c verification before persistence 2024-10-02 16:12:48 +05:30
Agnish Ghosh 75eda5341f adding more logging around db 2024-10-02 13:41:54 +05:30
Agnish Ghosh cf0cf815b6 rework on subnet calculation 2024-09-03 01:03:15 +05:30
Agnish Ghosh 07d1a26e59 include data columns in addBlock that care about custody 2024-08-28 18:53:28 +05:30
Agnish Ghosh 66cb3ff54e only persist data columns after block validity 2024-08-28 18:03:21 +05:30
Agnish Ghosh b573caccc7 no verify kzg during addBlock 2024-08-28 14:29:19 +05:30
Agnish Ghosh cafbeef543 more logging for clarity 2024-08-27 13:01:29 +05:30
Agnish Ghosh b9a3aa8277 logging in block processor 2024-08-27 02:51:58 +05:30
Agnish Ghosh 9048b2c3f6 revert make data column ref 2024-08-26 14:02:33 +05:30
Agnish Ghosh 23355dc049 bug fix in enqueueBlock for data column verification 2024-08-26 13:59:46 +05:30
Agnish Ghosh d860373044 enable logging columns in enqueueBlock 2024-08-26 13:57:27 +05:30
Agnish Ghosh 993067c841 enable column logging in storeBlock 2024-08-26 13:55:06 +05:30
Agnish Ghosh 5c3b360b2d
add condition for when >= deneb 2024-08-24 18:21:00 +05:30
Agnish Ghosh e9586fe879
enable data column kzg proof verification in storeBlock 2024-08-24 17:23:10 +05:30
Agnish Ghosh fd1ae50830 revert to initially subscribing to all subnets 2024-08-22 16:04:15 +05:30
Agnish Ghosh 5b8abc5f1b slight fix 2024-08-20 12:53:23 +05:30
Agnish Ghosh d9e019e2e2 sidecar verification disable at block processing 2024-08-20 12:52:29 +05:30
Agnish Ghosh fcdd7ee492 enable data column verification in block processor, other general fixes 2024-08-20 12:19:54 +05:30
Agnish Ghosh f71354b307 experimentally disable verifying data column sidecar before storing block 2024-08-19 13:52:47 +05:30
Agnish Ghosh 15a302cea2 fixes related to reconstruction 2024-08-19 01:23:37 +05:30
Agnish Ghosh 831089825c activate data column verification before storing backfill block 2024-08-18 23:07:33 +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 e80bd36f76 add: verify data column kzg proof during storeBlock, added serializeDataColumn for better logs 2024-07-26 14:19:44 +05:30
Agnish Ghosh 7a891f13d6
rework on cell and proof 2024-07-07 04:35:06 +05:30
Agnish Ghosh 152d276d78
added reconstruction logic 2024-07-03 21:50:52 +05:30
Agnish Ghosh 5bf1e021a7
initiate data column quarantine 2024-06-28 14:53:08 +05:30
Agnish Ghosh 3db92f8b26
add: data column reconstruction logic 2024-06-27 19:31:04 +05:30
Agnish Ghosh 325bdfd4a2
support for enqueueing whichever is activated blob/data_column 2024-06-25 18:08:00 +05:30
Agnish Ghosh 07d33b3abd
add dataColumns to db during forward syncing 2024-06-24 21:28:23 +05:30
Agnish Ghosh 791d2fb0d1
add: forward and backward syncing for data columns, broadcasting data columns created from blobs, added dc support to sync_queue 2024-06-24 17:32:06 +05:30
Jacek Sieka 045c4cf185
electra attestation updates (#6295)
* electra attestation updates

In Electra, we have two attestation formats: on-chain and on-network -
the former combines all committees of a slot in a single committee bit
list.

This PR makes a number of cleanups to move towards fixing this -
attestation packing however still needs to be fixed as it currently
creates attestations with a single committee only which is very
inefficient.

* more attestations in the blocks

* signing and aggregation fixes

* tool fix

* test, import
2024-05-17 15:37:41 +03:00
tersec 4355f81731
temporarily disable optimistic block hashing on electra 2024-05-16 11:17:31 +00:00
tersec 6b8061b5d6
automated consensus spec URL updating to v1.5.0-alpha.2 (#6279) 2024-05-09 05:03:10 +00:00