Skip to content

Add ssz content type for /eth/v1/beacon/blinded_blocks endpoint #4262

@pawanjay176

Description

@pawanjay176

Description

The /eth/v1/beacon/blinded_blocks beacon api endpoint supports both ssz and json bodies. However, Lighthouse only supports json. This can cause missed blocks when a non-lighthouse VC hits that api with a ssz payload. Moreover, we return a 500 error when we should be returning 415 (The supplied content-type is not supported).

Version

stable

Steps to resolve

Easiest way to fix would be to accept ssz bodies on the endpoint. However, we could also return the correct error type as a temporary quick fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions