lighthouse/beacon_node
Jimmy Chen 0b7a426946
Builder flow for Deneb & Blobs (#4428)
* Add Deneb builder flow types with generics

* Update validator client `get_blinded_blocks` call to support Deneb

* `produceBlindedBlock` endpoint updates:
- Handle new Deneb BuilderBid response from builder endpoint (new BlindedBlobsBundle type)
- Build BlockContents response (containing kzg_commitments, proof and blinded_blob_sidecars)

* Appease Clippy lint

* Partial implementation of submit blinded block & blobs. Refactor existing `BlobSidecar` related types to support blinded blobs.

* Add associated types for BlockProposal

* Rename `AbstractSidecar` to `Sidecar`

* Remove blob cache as it's no longer necessary

* Remove unnecessary enum variant

* Clean up

* Hanlde unblinded blobs and publish full block contents

* Fix tests

* Add local EL blobs caching in blinded flow

* Remove BlockProposal and move associated Sidecar trait to AbstractExecPayload to simplify changes

* add blob roots associated type

* move raw blobs associated type to sidecar trait

* Fix todos and improve error handling

* Consolidate BlobsBundle from `execution_layer` into `consensus/types`

* Rename RawBlobs, Blobs, and BlobRoots

* Use `BlobRoots` type alias

* Update error message.

Co-authored-by: realbigsean <seananderson33@GMAIL.com>

* update builder bid type

# Conflicts:
#	consensus/types/src/builder_bid.rs

* Fix lint

* remove generic from builder bid

---------

Co-authored-by: realbigsean <seananderson33@gmail.com>
2023-08-10 09:32:49 -04:00
..
beacon_chain Builder flow for Deneb & Blobs (#4428) 2023-08-10 09:32:49 -04:00
beacon_processor Merge branch 'unstable' of https://github.com/sigp/lighthouse into merge-unstable-deneb-aug-9 2023-08-09 10:42:51 -04:00
builder_client Builder flow for Deneb & Blobs (#4428) 2023-08-10 09:32:49 -04:00
client Merge branch 'unstable' of https://github.com/sigp/lighthouse into merge-unstable-deneb-aug-9 2023-08-09 10:42:51 -04:00
eth1 remove patched dependencies (#4470) 2023-07-05 15:53:35 -04:00
execution_layer Builder flow for Deneb & Blobs (#4428) 2023-08-10 09:32:49 -04:00
genesis remove patched dependencies (#4470) 2023-07-05 15:53:35 -04:00
http_api Builder flow for Deneb & Blobs (#4428) 2023-08-10 09:32:49 -04:00
http_metrics upgrade to libp2p 0.52 (#4431) 2023-08-02 00:59:34 +00:00
lighthouse_network Merge branch 'unstable' into merge-unstable-to-deneb-20230808 2023-08-08 17:02:51 +10:00
network Builder flow for Deneb & Blobs (#4428) 2023-08-10 09:32:49 -04:00
operation_pool Changes for devnet-8 (#4518) 2023-08-09 15:44:47 -04:00
src Merge pull request #4591 from realbigsean/merge-unstable-deneb-aug-9 2023-08-09 16:24:18 -04:00
store Fix beta compiler warnings 2023-07-14 13:16:48 -07:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Merge branch 'deneb-free-blobs' into merge-unstable-deneb-june-6th 2023-07-17 11:47:46 -07:00