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

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

@joncinque joncinque merged commit fe1ac9a into solana-labs:master Mar 27, 2024
31 checks passed
@joncinque joncinque deleted the tkcliprio branch March 27, 2024 11:04
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.

None yet

2 participants