-
Notifications
You must be signed in to change notification settings - Fork 307
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
protos(view): add a subaccount
filter to the OwnedPositionIds
rpc
#4985
protos(view): add a subaccount
filter to the OwnedPositionIds
rpc
#4985
Conversation
subaccount
to OwnedPositionIds
rpcsubaccount
filter to the OwnedPositionIds
rpc
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.
These changes look solid.
One question I have is whether the buf publish action will be able to pickup the change to the protos.
Yes, these changes will get published to BSR automatically, however this PR should target the main
branch so that upon merge the workflow will run. Requesting changes:
- Rebase PR against main
- Regen protos after rebase
- Re-target PR to main
Then we should be good to go. I'll handle the point release mechanics in #4988.
…4992) ## Describe your changes This PR resubmits the unmerged changes from #4985, targeting `main` branch. Below is the original submission text for 4985, which is still accurate here. This PR: - adds an `AddressIndex` field to the `OwnedPositionIds` rpc request and response - regenerate the codegen protobufs It doesn't seem important to do the extra work to support filtering in the rust view server. The natural consumers of that information are web interfaces. Market makers using the rust implementation would probably simply integrate it in their own OMS rather than relying on the view service RPC. One question I have is whether the buf publish action will be able to pickup the change to the protos. ## Checklist before requesting a review - [x] I have added guiding text to explain how a reviewer should test these changes. - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > view service changes --------- Signed-off-by: Erwan Or <erwan.ounn.84@gmail.com> Co-authored-by: Erwan Or <erwanor@penumbralabs.xyz> Co-authored-by: Erwan Or <erwan.ounn.84@gmail.com> Co-authored-by: Lúcás Meier <lucas@cronokirby.com>
Describe your changes
This PR:
AddressIndex
field to theOwnedPositionIds
rpc request and responseIt doesn't seem important to do the extra work to support filtering in the rust view server. The natural consumers of that information are web interfaces. Market makers using the rust implementation would probably simply integrate it in their own OMS rather than relying on the view service RPC.
One question I have is whether the buf publish action will be able to pickup the change to the protos.
Checklist before requesting a review
I have added guiding text to explain how a reviewer should test these changes.
If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: