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
Several module message types are missing ValidateBasic() validation. This method is crucial for performing basic stateless checks before messages reach the handler, helping to catch invalid messages early.
Problem Definition
Improved message validation
Catch invalid messages early
Consistent with Cosmos SDK best practices
Enhanced code maintainability
Proposal
Add ValidateBasic() implementation for each message type to validate:
Required fields are not empty/zero
Field formats are correct (e.g., valid addresses, heights, etc.)
Basic logical constraints are met
The text was updated successfully, but these errors were encountered:
Summary
Several module message types are missing
ValidateBasic()
validation. This method is crucial for performing basic stateless checks before messages reach the handler, helping to catch invalid messages early.Problem Definition
Proposal
Add
ValidateBasic()
implementation for each message type to validate:The text was updated successfully, but these errors were encountered: