Skip to content

Conversation

@moshderte
Copy link

This PR corrects a misleading error message in the DefaultFeemarketDenomResolver.ConvertToDenom method.

Previously, when coin.Denom != denom, the error message would state:

the only denom supported is <coin.Denom>

This was confusing, since coin.Denom is the invalid denom passed in, not the expected one. The correct behavior is to indicate that only the target denom (the denom argument) is supported.

This fix improves clarity in logs and error handling for clients or developers interacting with the fee market denom resolver. The corrected message now properly reflects which denom is allowed.

This PR corrects a misleading error message in the DefaultFeemarketDenomResolver.ConvertToDenom method.

Previously, when coin.Denom != denom, the error message would state:

the only denom supported is <coin.Denom>

This was confusing, since coin.Denom is the invalid denom passed in, not the expected one. The correct behavior is to indicate that only the target denom (the denom argument) is supported.

This fix improves clarity in logs and error handling for clients or developers interacting with the fee market denom resolver. The corrected message now properly reflects which denom is allowed.

Signed-off-by: Moshe <154280952+moshderte@users.noreply.github.com>
@moshderte
Copy link
Author

@zale144 hello sir if have time check pls

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