Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

token-cli: Add priority fee args #6501

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

joncinque
Copy link
Contributor

Problem

As the last part of #6492, the token-cli isn't using the new fields for setting the compute unit price and limit.

Solution

Pipe them down into the token client, and that's pretty much it!

There's also a refactor for the transfer test so that the compute_budget test can use it directly, without any change in behavior.

Note that this copies COMPUTE_UNIT_PRICE_ARG from clap-utils rather than importing. I made this choice because #6376 updates to clap-v3, which doesn't have any compute budget helpers. I've put in a PR to add them to clap-v3 at anza-xyz/agave#440

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants