Fix block and blob coupling in the network context (#4086)

* update docs

* introduce a temp enum to model an adjusted `BlockWrapper` and fix blob coupling

* fix compilation issue

* fix blob coupling in the network context

* review comments
This commit is contained in:
Divma
2023-03-15 11:04:45 -05:00
committed by GitHub
parent 2ef3ebbef3
commit 2c9477de43
3 changed files with 80 additions and 42 deletions

View File

@@ -78,11 +78,11 @@ pub enum RequestId {
ParentLookup { id: Id },
/// Request was from the backfill sync algorithm.
BackFillBlocks { id: Id },
/// Backfill request for blob sidecars.
/// Backfill request that is composed by both a block range request and a blob range request.
BackFillBlobs { id: Id },
/// The request was from a chain in the range sync algorithm.
RangeBlocks { id: Id },
/// The request was from a chain in range, asking for ranges blob sidecars.
/// Range request that is composed by both a block range request and a blob range request.
RangeBlobs { id: Id },
}