forked from informalsystems/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panics in packet queries (informalsystems#554)
* Fix for informalsystems#521. Will fix the unwraps for QueryUnreceivedAcknowledgementCmd also * Added the 'required' annotation to packet queries. When a free option (such as a chain_id or port_id) in a command is tagged with the 'required' attribute, this will safeguard against invoking the command with `default()` values for the corresponding option. * Updated the changelog * Apply suggestions from code review Co-authored-by: Anca Zamfir <ancazamfir@users.noreply.github.com> * FMT fix Co-authored-by: Anca Zamfir <ancazamfir@users.noreply.github.com>
- Loading branch information
1 parent
a9e2b6b
commit 0fb1c23
Showing
3 changed files
with
168 additions
and
55 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
Oops, something went wrong.