You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potential minor bug on /accounts/{address}/delegation endpoint
Steps to reproduce
Field userUndelegatedList is marked as required, however, when the list is empty it seems that deserialization for that field is skipped: https://api.elrond.com/accounts//delegation
It might be that this issue was not hit before, but recently the response deserialization failed (rust serde) due to absence of the required field.
It's a very minor point, as the fix is simple on my side, but decided to flag it anyway.
On which network is the bug manifesting itself?
Mainnet
Relevant log output
error decoding response body: missing field `userUndelegatedList` at line 1 column 253
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Contact Details
No response
Description
Potential minor bug on
/accounts/{address}/delegation
endpointSteps to reproduce
Field
userUndelegatedList
is marked as required, however, when the list is empty it seems that deserialization for that field is skipped:https://api.elrond.com/accounts//delegation
It might be that this issue was not hit before, but recently the response deserialization failed (rust serde) due to absence of the required field.
It's a very minor point, as the fix is simple on my side, but decided to flag it anyway.
On which network is the bug manifesting itself?
Mainnet
Relevant log output
error decoding response body: missing field `userUndelegatedList` at line 1 column 253
The text was updated successfully, but these errors were encountered: