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

spl-token-cli: support compute price + limit with native tokens #7101

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

0xcypher02
Copy link
Contributor

Problem

Currently the spl-token wrap and spl-token unwrap commands ignore the --compute-budget-limit and price arguments. With the current congestion on Solana, this makes it difficult to land transactions.

Solution

Do not ignore these values with native mints and instead replicate the config_token_client within native_token_client_from_config to properly check for priority fees and limits.

@mergify mergify bot added the community Community contribution label Aug 1, 2024
Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for your contribution!

wrap

@joncinque joncinque merged commit dbb5ec1 into solana-labs:master Aug 1, 2024
31 checks passed
@0xcypher02 0xcypher02 deleted the feat/native-priority-fees branch August 1, 2024 22:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants