-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add grpc option IncludePoolData
to QueryUserDeposits
#390
Conversation
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.
- pls regenerate openapi
- neutron-sdk's proto files has to be regenerated https://github.com/neutron-org/neutron-sdk/tree/main/packages/neutron-sdk/src/proto_types
@@ -18,4 +19,11 @@ message DepositRecord { | |||
int64 lower_tick_index = 4; | |||
int64 upper_tick_index = 5; | |||
uint64 fee = 6; | |||
string total_shares = 7 [ | |||
(gogoproto.moretags) = "yaml:\"total_shares\"", | |||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", |
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.
github.com/cosmos/cosmos-sdk/types.Int
is deprecated and it is an alias to cosmossdk.io/math.Int
. But it's not necessary to fix it right now. We want to move sometime, but in standalone task
manually regenerated proto for neutron-sdk here: neutron-org/neutron-sdk#127 |
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.
Please rerun integration tests, otherwise lgtm
2791e5d
NOTE: openapi.yml has been generated with ignite v28.2.0 |
In order to facilitate easier state computation for the duality frontend additional pool data needs to be included in the UserDepositsQuery. See duality-labs/duality-web-app#493 for more details