Commit Graph
290 Commits
Author SHA1 Message Date
realbigsean cd8757de1c Revert "make batch size check compile time panic"
This reverts commit 68f2484efc.
2023-02-13 16:51:55 -05:00
realbigsean 68f2484efc make batch size check compile time panic 2023-02-13 16:51:46 -05:00
realbigsean 4c3561dcaf make batch size check compile time panic 2023-02-13 16:50:33 -05:00
realbigsean fc2d07b4e3 allow unused 2023-02-13 16:36:38 -05:00
realbigsean 28702c9d5d merge upstream, add back get_blobs logic 2023-02-13 16:29:21 -05:00
Emilia Hane 7545ae9e9b fixup! Fix block lookup debug tests 2023-02-10 15:34:46 +01:00
Emilia Hane 6beca6defc Fix range sync tests 2023-02-10 09:41:24 +01:00
Emilia Hane d292a3a6a8 Fix conflicts rebasing eip4844 2023-02-10 09:41:23 +01:00
Emilia Hane 09370e70d9 Fix rebase conflicts 2023-02-10 09:41:19 +01:00
Emilia Hane 8365d76277 fixup! Debug tests 2023-02-10 09:39:22 +01:00
Emilia Hane 16cb9cfca2 fixup! Debug tests 2023-02-10 09:39:22 +01:00
Emilia Hane 7220f35ff6 Debug tests 2023-02-10 09:39:21 +01:00
Emilia Hane 995b2715f2 Fix network block_lookups test 2023-02-10 09:39:21 +01:00
Emilia Hane 3676ce78b5 Fix rebase conflicts 2023-02-10 09:39:21 +01:00
realbigsean cbd09dc281 finish refactor 2023-01-21 04:48:25 -05:00
realbigsean 3cb8fb7973 block wrapper refactor initial commit 2023-01-20 11:50:16 -05:00
realbigsean 8a70d80a2f Revert "Revert "renames, remove , wrap BlockWrapper enum to make descontruction private""
This reverts commit 1931a442dc.
2022-12-28 10:31:18 -05:00
realbigsean 1931a442dc Revert "renames, remove , wrap BlockWrapper enum to make descontruction private"
This reverts commit 5b3b34a9d7.
2022-12-28 10:30:36 -05:00
realbigsean 5b3b34a9d7 renames, remove , wrap BlockWrapper enum to make descontruction private 2022-12-28 10:28:45 -05:00
realbigsean 502b5e5bf0 unused error lint 2022-12-28 09:32:29 -05:00
Diva M 6bf439befd Merge branch 'eip4844' into empty-blobs 2022-12-23 17:38:59 -05:00
Divma 240854750c cleanup: remove unused imports, unusued fields (#3834) 2022-12-23 17:16:10 -05:00
realbigsean 5e11edc612 fix blob validation for empty blobs 2022-12-23 12:47:38 -05:00
Diva M 24087f104d add the batch type to the Batch's KV 2022-12-23 10:49:46 -05:00
Diva M 901764b8f0 backfill batches need to be of just one epoch 2022-12-23 10:32:59 -05:00
realbigsean 4d50fa36bc Merge pull request #3829 from divagant-martian/handle-no-blob-range-response
Handle peers sending no blob when the blob is empty in range responses
2022-12-23 10:15:30 -05:00
Diva M 66f9aa922d clean up and improvements 2022-12-23 09:52:10 -05:00
Diva M 3643f5cc19 spelling 2022-12-22 17:47:36 -05:00
Diva M 48ff56d9cb spelling 2022-12-22 17:38:55 -05:00
Diva M e24f6c93d9 fix ctrl c'd comment 2022-12-22 17:38:16 -05:00
Diva M fbc147e273 remove unused entry struct 2022-12-22 17:34:01 -05:00
Diva M cd6655dba9 handle no blobs from peers instead of empty blobs in range requests 2022-12-22 17:30:04 -05:00
realbigsean 61763790d5 Merge pull request #3825 from jimmygchen/small-fixes
Various small fixes to 4844 branch
2022-12-22 17:12:09 -05:00
realbigsean 33d01a7911 miscelaneous fixes on syncing, rpc and responding to peer's sync related requests (#3827)
- there was a bug in responding range blob requests where we would incorrectly label the first slot of an epoch as a non-skipped slot if it were skipped. this bug did not exist in the code for responding to block range request because the logic error was mitigated by defensive coding elsewhere
- there was a bug where a block received during range sync without a corresponding blob (and vice versa) was incorrectly interpreted as a stream termination
- RPC size limit fixes.
- Our blob cache was dead locking so I removed use of it for now.
- Because of our change in finalized sync batch size from 2 to 1 and our transition to using exact epoch boundaries for batches (rather than one slot past the epoch boundary), we need to sync finalized sync to 2 epochs + 1 slot past our peer's finalized slot in order to finalize the chain locally.
- use fork context bytes in rpc methods on both the server and client side
2022-12-21 15:50:51 -05:00
Jimmy Chen f7bb458c5e Fix incorrect logging 2022-12-22 02:01:11 +11:00
Jimmy Chen ccfd092845 Fix blob request logging and incorrect enum type 2022-12-22 00:22:37 +11:00
realbigsean 5de4f5b8d0 handle parent blob request edge cases correctly. fix data availability boundary check 2022-12-19 11:39:09 -05:00
realbigsean 5a42f6b067 range block or block+blob requests 2022-12-07 15:35:46 -05:00
realbigsean a0d4aecf30 requests block + blob always post eip4844 2022-12-07 15:30:08 -05:00
realbigsean 8102a01085 merge with upstream 2022-12-01 11:13:07 -05:00
Mark Mackey 8a04c3428e Merged with unstable 2022-11-30 17:29:10 -06:00
Diva M 979a95d62f handle unknown parents for block-blob pairs
wip

handle unknown parents for block-blob pairs
2022-11-30 17:21:54 -05:00
realbigsean 2157d91b43 process single block and blob 2022-11-30 11:51:18 -05:00
realbigsean 422d145902 chain segment processing for blobs 2022-11-30 09:40:15 -05:00
Diva M 805df307f6 wip 2022-11-28 14:13:12 -05:00
antondlr e9bf7f7cc1 remove commas from comma-separated kv pairs (#3737)
## Issue Addressed

Logs are in comma separated kv list, but the values sometimes contain commas, which breaks parsing
2022-11-25 07:57:10 +00:00
Divma bf5005244e Blob syncing (#24)
* add a rt is_blob_batch

* use the mixed type everywhere

* glue

* more glue

* minor fixes

* fix range tests

* filling in the gaps

* moore filling in the gaps
2022-11-24 07:45:38 -05:00
Diva M 7ed2d35424 get it to compile 2022-11-21 14:53:33 -05:00
realbigsean e7ee79185b add blobs cache and fix some block production 2022-11-21 14:09:06 -05:00
realbigsean dc87156641 block and blob handling progress 2022-11-19 16:53:34 -05:00