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
realbigsean
45897ad4e1
remove blob wrapper
2022-11-19 15:18:42 -05:00
Diva M
78c72158c8
toy skelleton of sync changes
2022-11-16 13:53:38 -05:00
realbigsean
7162e5e23b
add a bunch of blob coupling boiler plate, add a blobs by root request
2022-11-15 16:43:56 -05:00
realbigsean
fe04d945cc
make signed block + sidecar consensus spec
2022-11-10 14:22:30 -05:00
Divma
84c7d8cc70
Blocklookup data inconsistencies ( #3677 )
...
## Issue Addressed
Closes #3649
## Proposed Changes
Add a regression test for the data inconsistency, catching the problem in 31e88c5533 [here](https://github.com/sigp/lighthouse/actions/runs/3379894044/jobs/5612044797#step:6:2043 ).
When a chain is sent for processing, move it to a separate collection and now the test works, yay!
## Additional Info
na
2022-11-07 06:48:34 +00:00
realbigsean
c0dc42ea07
cargo fmt
2022-10-04 08:21:46 -04:00
realbigsean
8d45e48775
cargo fix
2022-10-03 21:52:16 -04:00
realbigsean
e81dbbfea4
compile
2022-10-03 21:48:02 -04:00
realbigsean
7520651515
cargo fix and some test fixes
2022-09-29 12:43:35 -04:00
realbigsean
fe6fc55449
fix compilation errors, rename capella -> shanghai, cleanup some rebase issues
2022-09-29 12:43:13 -04:00