-
Notifications
You must be signed in to change notification settings - Fork 302
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
view(proto): remove reserves from auction withdrawal TransactionPlannerRequest
#4270
Conversation
This is a protobuf breaking change, so I will want a +1 and ACK before I go on to override the lint and merge. |
Backing up a bit, why does the caller need to specify these in the request at all? Certainly they need to be known to plan the transaction, but should it be the caller's responsibility to supply the correct values, or should that be the responsibility of the view service that's processing the request? |
Let's remove the fields entirely, per @cronokirby's suggestion in discord |
Value
sTransactionPlannerRequest
Describe your changes
Accidentally defined theTransactionPlannerRequest
auction withdraw submessage to specify the user reserves inAmount
. But we need those to compute a balance commitment, and this requires the asset id.@hdevalence noticed that we can defer populating this data to the view service (which is where we would have gotten it from in the first place!)
Checklist before requesting a review
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: