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 token-client dependency for token-2022 support #3386

Merged
merged 1 commit into from Aug 1, 2022

Conversation

joncinque
Copy link
Contributor

Problem

We want to integrate token-2022 extensions into the token-cli, and a lot of the work is already done in the token-client.

Solution

Add a program_client field to the token cli config, which can be used when using token-2022 extensions or instructions.

This uses config.program_client just to get rent exemptions, which was an easy way to show that the new field exists and can be used.

CriesofCarrots
CriesofCarrots previously approved these changes Jul 27, 2022
@CriesofCarrots
Copy link
Contributor

Sorry for the conflict!

@mergify mergify bot dismissed CriesofCarrots’s stale review July 27, 2022 19:12

Pull request has been modified.

samkim-crypto
samkim-crypto previously approved these changes Jul 28, 2022
@mergify mergify bot dismissed samkim-crypto’s stale review August 1, 2022 12:14

Pull request has been modified.

@joncinque
Copy link
Contributor Author

Merging on red, the twotx failure can be sorted out separately

@joncinque joncinque merged commit 674b0ac into solana-labs:master Aug 1, 2022
@joncinque joncinque deleted the tkcli-client branch August 1, 2022 15:13
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

3 participants