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
I am using web3j-eth2 library, but has an issue with getting validator data by id.
The issue is that response contains
execution_optimisticas this field was added in Beacon-API version 2.2.0 and this field is not exists inBeaconResponseclass and then jackon parser fails, because by default jackson hasFAIL_ON_UNKNOWN_PROPERTIES=true. And as I see there is no possibility to change configuration of jackson forBeaconNodeService, 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_optimisticintoBeaconResponse