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 support for fee tiers to TransactionPlannerRequest #3722

Merged

Conversation

jessepinho
Copy link
Contributor

@jessepinho jessepinho commented Feb 1, 2024

Currently, there is no way to set a fee tier in a TransactionPlannerRequest. This blocks penumbra-zone/web#309 (supporting fee tiers on web), because the only way to plan a transaction on web is to pass a TransactionPlannerRequest to the extension's view service.

This PR adds support for fee tiers to TransactionPlannerRequest.

Reviewers might want to look at the first commit on its own, since that's where I changed the .proto file; the second commit is simply the result of running protobuf-codegen.

Note that linting fails in this PR due to breaking changes in the TransactionPlannerRequest protobuf definition.

Related issue: #3724

@jessepinho jessepinho marked this pull request as ready for review February 1, 2024 23:00
@jessepinho jessepinho changed the title WIP Add support for fee tiers to TransactionPlannerRequest Add support for fee tiers to TransactionPlannerRequest Feb 1, 2024
@hdevalence
Copy link
Member

Pairing with @jessepinho led to the discovery of a large amount of friction in actually using these parameters but also ideas on how we can radically simplify the planning code, once we split out the current wasm crate into a minimal bindings part and an extension implementation part.

@jessepinho
Copy link
Contributor Author

@hdevalence looks like I can't hit the approve button since I authored the PR, but 👍🏻 — feel free to self-merge

@hdevalence hdevalence merged commit c1bb046 into main Feb 2, 2024
6 of 7 checks passed
@hdevalence hdevalence deleted the jessepinho/fee-tier-support-in-transaction-planner-request branch February 2, 2024 02:14
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.

2 participants