-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix failures request in contract manager #663
Conversation
} | ||
|
||
// QueryFailureRequest is request type for the Query/Failures RPC method. | ||
message QueryFailureRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pagination
field seems to be not needed logically (and not used) for QueryFailureRequest
.
Please remove it
@@ -18,7 +18,7 @@ service Query { | |||
} | |||
|
|||
// Queries a Failure by contract address and failure ID. | |||
rpc AddressFailure(QueryFailuresRequest) returns (QueryFailuresResponse) { | |||
rpc AddressFailure(QueryFailureRequest) returns (QueryFailuresResponse) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about making QueryFailureResponse
struct without pagination? It seems strange that we return it in array even tho it's always one failure. And pagination always null
Also - please attach PR to neutronjs here |
TASK
Related PRs