Skip to content

Latest lodestar dev build is incompatible due to unexpected SSZ responses #144

@pk910

Description

@pk910

Lodestar recently introduced SSZ serialization for endpoints that do not require SSZ serialization according to spec: PR-6749

This unfortunately breaks compatibility with this library because go-eth2-client uses a generic Accept header that prefers SSZ responses for all endpoints.
In particular it breaks s.Genesis() as the response is always decoded as JSON data, which breaks with SSZ responses.
I'm pretty sure there are more endpoints with the same problem.

I think this should be fixed on go-eth2-client side, so the lib only asks for SSZ encoded data if the underlying implementation is capable of parsing the SSZ response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions