-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: check blockhash/txhash length whether it is 64 (#699)
* chore: check txhash length whether it is 64 Keep the case where txhash is empty to convey more detailed messages to the user. * chore: check blockhash length whether it is 64 * update tc to cover new logic * chore: change `GetByBlockHash` endpoint * test: add tc about `GetByBlockHash` * test: add more cases to match coverage to 100% * chore: goimports * chore: write to CHANGELOG * chore: turn off REST test Unlike gRPC, REST requests often fail. Need to understand the cause later * chore: update statik to resolve conflict * chore: change magic number to constant in hash check
- Loading branch information
Showing
12 changed files
with
897 additions
and
846 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.