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
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
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
Jimmy Chen
a6b771f265
Add more logging to Error::MaxDistanceExceeded
2022-12-22 00:19:22 +11:00
realbigsean
a67fa516c7
don't expect context bytes for blob messages
2022-12-20 19:32:54 -05:00
realbigsean
9c46a1cb21
fix rate limits, and a couple other bugs
2022-12-20 18:56:07 -05:00
realbigsean
7d5db8015d
correctly respond without skips on first range response
2022-12-19 19:07:21 -05:00
Mark Mackey
b75ca74222
Removed withdrawals
feature flag
2022-12-19 15:38:46 -06:00
realbigsean
3ab0f46077
Update beacon_node/http_api/src/publish_blocks.rs
...
Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com>
2022-12-19 12:27:31 -05:00
realbigsean
5de4f5b8d0
handle parent blob request edge cases correctly. fix data availability boundary check
2022-12-19 11:39:09 -05:00
Mark Mackey
3a08c7634e
Make engine_getPayloadV2 accept local block value
2022-12-16 15:44:55 -06:00
realbigsean
0349b104bf
add blob rpc protocols to
2022-12-16 14:28:14 -05:00
Mark Mackey
3e90fb8cae
Merge branch 'unstable' into capella
2022-12-15 12:20:03 -06:00
realbigsean
1644978cdb
fix compilation
2022-12-15 10:26:10 -05:00
realbigsean
d893706e0e
merge with capella
2022-12-15 09:33:18 -05:00
Divma
63c74b37f4
send error answering bbrange requests when an error occurrs ( #3800 )
...
## Issue Addressed
While testing withdrawals with @ethDreamer we noticed lighthouse is sending empty batches when an error occurs. As LH peer receiving this, we would consider this a low tolerance action because the peer is claiming the batch is right and is empty.
## Proposed Changes
If any kind of error occurs, send a error response instead
## Additional Info
Right now we don't handle such thing as a partial batch with an error. If an error is received, the whole batch is discarded. Because of this it makes little sense to send partial batches that end with an error, so it's better to do the proposed solution instead of sending empty batches.
2022-12-15 00:16:38 +00:00
Pawan Dhananjay
52a06231c8
Add support for compile time FIELD_ELEMENTS_PER_BLOB
2022-12-14 21:25:47 +05:30
Michael Sproul
f3e8ca852e
Fix Clippy
2022-12-14 14:04:13 +11:00
Michael Sproul
991e4094f8
Merge remote-tracking branch 'origin/unstable' into capella-update
2022-12-14 13:00:41 +11:00
Michael Sproul
63d3dd27fc
Batch API for address changes ( #3798 )
2022-12-14 12:01:33 +11:00
Michael Sproul
75dd8780e0
Use JsonPayload for payload reconstruction ( #3797 )
2022-12-14 11:52:46 +11:00