Skip to content

Commit

Permalink
fix: claimed query to receive withdrawal hash in query params
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Jul 15, 2024
1 parent b555a4d commit 157d5af
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 97 deletions.
2 changes: 1 addition & 1 deletion proto/opinit/ophost/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ service Query {
// Claimed queries whether the output is claimed.
rpc Claimed(QueryClaimedRequest) returns (QueryClaimedResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/opinit/ophost/v1/bridges/{bridge_id}/withdrawals/{withdrawal_hash}/claimed";
option (google.api.http).get = "/opinit/ophost/v1/bridges/{bridge_id}/withdrawals/claimed/by_hash";
}

// NextL1Sequence queries the next l1 sequence.
Expand Down
158 changes: 79 additions & 79 deletions x/ophost/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 13 additions & 17 deletions x/ophost/types/query.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 157d5af

Please sign in to comment.