forked from CosmWasm/wasmd
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add the test case for invalid address (#88)
* test: add test case to `QueryInactiveContracts` * chore: add this pr for changelog.md * test: add the test case for invalid address * test: add the test case for invalid address * chore: add this pr to CHANGE.log * fix: Fix address judgment and pagination key * feat: add the function for byte array to use addresses order check * test: add func for make test data for addresses order * fix: Add a function to create an ordered address array Fix to create an ordered address array and test it as an expected value * fix: fix lint error * fix: add the error handling for lint * fix: fix `Error: unreachable: unreachable code (govet)` for `golangci-lint` * fix: fix panic message * refactor: Changed []byte array comparison to string comparison * fix: revert commit for go.mod go.sum * fix: fix lint * fix: fix lint * fix: delete unnecessary code * fix: rename function name and add a contract for order * fix: Changed to equal judgment as before with wrap error as expected value * test: add the invalid address test case to `TestQueryContractInfo` and `TestQueryContractHistory`
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 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