Skip to content
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 undelegate claims to TransactionPlannerRequest #3924

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

jessepinho
Copy link
Contributor

@jessepinho jessepinho commented Mar 2, 2024

Undelegate claims are currently unsupported in TransactionPlannerRequests. This PR fixes that. Relevant changes are here; everything else is generated by the protobuf codegen script.

Note that the UndelegateClaim message leaves out the blinding fields, so that the RPC method implementation can fill those in on behalf of the client. (In the case of the web app, this means that the WASM planner will fill those in, rather than the web app.)

I'm less familiar with the core repo, so please let me know if I've missed anything.

@jessepinho jessepinho changed the title Add undelegate claims to TransactionPlannerRequest WIP: Add undelegate claims to TransactionPlannerRequest Mar 2, 2024
@jessepinho jessepinho force-pushed the jessepinho/web-655-undelegate-claims branch from f302c7e to 6999a2d Compare March 2, 2024 06:43
@jessepinho jessepinho changed the title WIP: Add undelegate claims to TransactionPlannerRequest Add undelegate claims to TransactionPlannerRequest Mar 2, 2024
@jessepinho jessepinho marked this pull request as ready for review March 2, 2024 06:54
@jessepinho jessepinho force-pushed the jessepinho/web-655-undelegate-claims branch from 29dd55b to 14450e9 Compare March 2, 2024 09:32
@jessepinho jessepinho added A-staking Area: Design and implementation of staking and delegation protobuf-changes Makes changes to the protobuf definitions. labels Mar 3, 2024
Copy link
Member

@hdevalence hdevalence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hdevalence hdevalence merged commit 4fca2ac into main Mar 3, 2024
6 checks passed
@hdevalence hdevalence deleted the jessepinho/web-655-undelegate-claims branch March 3, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-staking Area: Design and implementation of staking and delegation protobuf-changes Makes changes to the protobuf definitions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants