-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ibc-hooks): improved UnmarshalJSON validation & error handling
Descritpion ----------- Improves AsyncCallback JSON unmarshaling with: - Better validation for ModuleAddress format and required fields - More specific error messages - Memory optimization using single intermediate struct - Comprehensive test coverage for error cases Tetsing the introduced `feat` ----------------------------- Fetch this PR branch and from the root directory run: ``` go test ./x/ibc-hooks/move-hooks/message_test.go -v ```
- Loading branch information
1 parent
c91bff8
commit 2856872
Showing
2 changed files
with
131 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters