Skip to content

Conversation

morph-dev
Copy link
Collaborator

What was wrong?

Decoding/deserializing ClientInfoRadiusCapabilities would fail when client_info field is set but not in the exact format as expected. This field is not mandatory and rarely important, while other fields are, so failing decoding entire object is wrong.

How was it fixed?

Change the type of the field to String and provide ways to parse it, either in failing way (returning error if format is not exactly as expected) or best effort (always succeeds, but some fields could be set to the wrong value).

@morph-dev morph-dev merged commit 41ba3be into ethereum:master Sep 23, 2025
16 checks passed
@morph-dev morph-dev deleted the client_info branch September 23, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant