Skip to content

Parsing of execution_optimistic field  #4

@rkhomyshyn

Description

@rkhomyshyn

I am using web3j-eth2 library, but has an issue with getting validator data by id.
The issue is that response contains execution_optimistic as this field was added in Beacon-API version 2.2.0 and this field is not exists in BeaconResponse class and then jackon parser fails, because by default jackson has FAIL_ON_UNKNOWN_PROPERTIES=true. And as I see there is no possibility to change configuration of jackson for BeaconNodeService, because it is initialized inside.

So, my question is:
Is it possible to update a lib to ignore unknown fields in response? or add execution_optimistic into BeaconResponse

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