Pawan Dhananjay
ba410c3012
Embed trusted setup in network config ( #3851 )
...
* Load trusted setup in network config
* Fix trusted setup serialize and deserialize
* Load trusted setup from hardcoded preset instead of a file
* Truncate after deserialising trusted setup
* Fix beacon node script
* Remove hardcoded setup file
* Add length checks
2023-01-09 12:34:16 +05:30
Emilia Hane
c44738c77b
Undo response modification in commit 597363d2f
2023-01-06 12:42:21 +01:00
Emilia Hane
74bca46fc2
Fix bug of early termination of batch send
2023-01-06 11:45:13 +01:00
Emilia Hane
caad492d48
Avoid loading unecessary data
2023-01-06 11:17:26 +01:00
Emilia Hane
597363d2f9
Don't send empty blobs sidecar for blobs by range request
2023-01-05 16:28:59 +01:00
Emilia Hane
01ac7ad23c
Return empty blobs sidecar when no kzg commitments in block
2023-01-05 16:28:58 +01:00
Emilia Hane
92c4e99305
Don't write empty blobs to db
2023-01-05 16:28:58 +01:00
realbigsean
8a77b05c19
Merge pull request #3830 from jimmygchen/blobs-beacon-api
...
Add Beacon API endpoint (/lighthouse) to download blobs by block ID
2023-01-04 09:04:32 -05:00
realbigsean
e02fcb30ab
dont verify the signature of the genesis block in backfill sync ( #3846 )
2023-01-03 17:23:01 -05:00
Jimmy Chen
7c2a0aeb58
Merge branch 'blobs-beacon-api' of github.com:jimmygchen/lighthouse into blobs-beacon-api
2023-01-04 01:58:08 +11:00
Jimmy Chen
355cab8704
Simplify blob_sidecar
query and remove override for Head
and Slot
2023-01-04 01:57:15 +11:00
Jimmy Chen
11736b68d3
Return beacon_chain_error
if blob query from BeaconStore returns an error
2023-01-04 01:23:31 +11:00
sean
e94eb1d2d6
Merge branch 'capella' of https://github.com/sigp/lighthouse into eip4844
2022-12-28 18:29:45 +00:00
sean
40c6daa34b
add pawan's suggestsion
2022-12-28 18:27:21 +00: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
Mark Mackey
c922566fbc
Fixed Some Tests
2022-12-27 15:59:34 -06:00
Mark Mackey
96da8b9383
Feature Guard V2 Engine API Methods
2022-12-27 15:55:43 -06:00
Jimmy Chen
1b64cbadba
Merge remote-tracking branch 'origin/eip4844' into blobs-beacon-api
2022-12-24 00:41:45 +00:00
Diva M
aeb243fe61
fmt
2022-12-23 17:44:50 -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
adf5f462d5
fix blob validation for empty blobs when using
2022-12-23 12:59:04 -05:00
realbigsean
1dc0759f57
impl hash correctly for the blob wrapper
2022-12-23 12:53:59 -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
5db0a88d4f
fix compilation errors from merge
2022-12-23 10:27:01 -05:00
realbigsean
f45d117e73
merge with capella
2022-12-23 10:21:18 -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
Jimmy Chen
f6d5e8fea3
Rename variable only
2022-12-23 16:14:53 +11:00
Jimmy Chen
3b9041047a
Fix typoe and add blobs endpoint to eth2 lib.
2022-12-23 15:28:08 +11:00
Jimmy Chen
bf7f709b51
Add missing route
2022-12-23 14:52:03 +11:00
Jimmy Chen
0155c94f86
Fix code formatting
2022-12-23 14:47:15 +11:00
Jimmy Chen
70d6e6705e
Add Beacon API endpoint to download blobs by block ID
2022-12-23 12:42:00 +11: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
d504d51dd9
merge with upstream add context bytes to error log
2022-12-22 14:06:28 -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
realbigsean
ff772311fa
add context bytes to blob messages, fix rpc limits, sync past finalized checkpoint during finalized sync so we can advance our own finalization, fix stream termination bug in blobs by range
2022-12-21 13:56:52 -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
Jimmy Chen
14aa87aff3
Fix code comment
2022-12-22 00:19:38 +11:00