prysm
prysm copied to clipboard
Beacon-api: broadcast blobs in the event of seen block
Fixes #13824
As demanded by some mev-boost relayer configurations, we will broadcast blobs even if the event block of the same slot is observed over p2p. There's no reason to refrain from broadcasting these blobs, considering there is no risk of equivocation.
- Export
buildBlobSidecarsfor use across both the gRPC and REST packages. - Equivocation is captured in the variable
errEquivocatedBlock. - If the error matches
errEquivocatedBlock, then broadcast the blob sidecar.