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

lqt: make transaction planner request take only a single denom #5091

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

cronokirby
Copy link
Contributor

Describe your changes

Looking at the ongoing integration work in: penumbra-zone/web#2041, the transaction planner request for lqt votes can only make use of a single incentivized denom anyways, which is what we want to support in the final ux, so having a repeated field here that subsequently gets truncated to the first provided value is superfluous. This change makes the field plain instead.

This can be tested inside of that PR.

Issue ticket number and link

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:

    Affects clients only.

Copy link
Collaborator

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

thanks for noticing this, the use of repeated was an artifact of some misunderstanding, and the wasm planner already accounts for this by basically iterating over each delegation note and using the same incentivized asset that was passed in the request for each action it constructs.

@erwanor erwanor merged commit 466394b into protocol/lqt_branch Feb 14, 2025
10 checks passed
@erwanor erwanor deleted the cronokirby/lqt-tpr-single-asset branch February 14, 2025 20:25
conorsch pushed a commit that referenced this pull request Feb 14, 2025
## Describe your changes

Looking at the ongoing integration work in:
penumbra-zone/web#2041, the transaction planner
request for lqt votes can only make use of a single incentivized denom
anyways, which is what we want to support in the final ux, so having a
repeated field here that subsequently gets truncated to the first
provided value is superfluous. This change makes the field plain
instead.

This can be tested inside of that PR.

## Issue ticket number and link

## 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:

  > Affects clients only.
conorsch pushed a commit that referenced this pull request Feb 21, 2025
Looking at the ongoing integration work in:
penumbra-zone/web#2041, the transaction planner
request for lqt votes can only make use of a single incentivized denom
anyways, which is what we want to support in the final ux, so having a
repeated field here that subsequently gets truncated to the first
provided value is superfluous. This change makes the field plain
instead.

This can be tested inside of that PR.

- [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:

  > Affects clients only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants